* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --text-color: #2d2d2d;
    --bg-color: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --hover-color: #ff8555;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: none;
    flex-direction: column;
    padding: 0 20px 1rem;
    background: rgba(0, 0, 0, 0.1);
}

.nav.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background-image: url('mellmobile.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    text-align: center;
    padding: 3rem 20px;
    margin-bottom: 0;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.7) 0%, rgba(255, 107, 53, 0.7) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-play {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-right: 0.75rem;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 2rem 0;
    scroll-margin-top: 80px;
}

.section:nth-child(even) {
    background-color: var(--section-bg);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.subsection-title {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.content {
    max-width: 100%;
}

.content p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Features List */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.features {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.features h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Info Box */
.info-box {
    background: #fff3e0;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.info-box h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Steps */
.steps {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.steps h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.steps-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.steps-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Games Categories */
.games-categories {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Bonuses */
.bonuses-list {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.payment-methods {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

/* FAQ */
.faq-list {
    max-width: 100%;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--section-bg);
}

.faq-question[aria-expanded="true"] {
    background: var(--section-bg);
    border-bottom: 2px solid var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.25rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 20px;
    margin-top: 3rem;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 30px;
    }

    .menu-toggle {
        display: none;
    }

    .header-content {
        padding: 1rem 30px;
    }

    .nav {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        padding: 0 30px 1rem;
        background: transparent;
    }

    .nav-link {
        border-bottom: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }

    .nav-link:hover,
    .nav-link:focus {
        padding-left: 1rem;
        background: rgba(255, 255, 255, 0.2);
    }

    .hero {
        background-image: url('mellcom.jpg') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        padding: 0;
        padding-bottom: 22.16%; /* 2712x601 aspect ratio (601/2712*100) */
        height: 0;
        overflow: hidden;
        margin-bottom: 0;
        display: block;
        min-height: 0;
    }

    .hero .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 3rem 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero::before {
        display: block !important;
        background: linear-gradient(135deg, rgba(0, 78, 137, 0.7) 0%, rgba(255, 107, 53, 0.7) 100%) !important;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .games-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .content {
        max-width: 900px;
        margin: 0 auto;
    }

    .games-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .games-categories {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .menu-toggle,
    .btn {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}