/* CandyCasino Landing Page Styles - Mobile First Approach */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.cta-button, .cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-height: 56px;
}



/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
}

/* Glow Effect */
.glow {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    to {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

/* Header Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.theme-icon {
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

.sun-icon {
    opacity: 1;
}

.moon-icon {
    opacity: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(139, 92, 246, 0.6));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-text h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
}

.feature-item svg {
    color: var(--accent-color);
}

.hero-cta {
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background: var(--surface-color);
}

.games-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-content {
    padding: 1.5rem;
}

.game-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.game-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rtp {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.games-categories {
    margin-top: 3rem;
}

.categories-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-3px);
}

.category-item svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-item h4 {
    margin-bottom: 0.5rem;
}

.category-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Payment Section */
.payment-section {
    padding: 4rem 0;
}

.payment-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.payment-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.highlight-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.highlight-item p {
    margin: 0;
    font-size: 0.9rem;
}

.payment-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.payment-table th,
.payment-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.payment-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-method svg {
    color: var(--primary-color);
}

.fast {
    color: var(--success-color);
    font-weight: 600;
}

.medium {
    color: var(--warning-color);
    font-weight: 600;
}

.slow {
    color: var(--error-color);
    font-weight: 600;
}

.security-features {
    margin-top: 3rem;
}

.security-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.security-item svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-item h4 {
    margin-bottom: 0.5rem;
}

.security-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Security Section */
.security-section {
    padding: 4rem 0;
    background: var(--surface-color);
}

.security-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.security-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.licenses-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.license-item img {
    width: 80px;
    height: 60px;
    object-fit: contain;
}

.license-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.license-info p {
    margin: 0;
    font-size: 0.9rem;
}

.security-features-detailed {
    margin-top: 3rem;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: var(--primary-color);
}

.feature-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* Loyalty Section */
.loyalty-section {
    padding: 4rem 0;
}

.loyalty-content {
    display: grid;
    gap: 3rem;
}

.loyalty-benefits {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.benefit-item svg {
    color: var(--primary-color);
}

.levels-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.level-card {
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid;
    text-align: center;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-3px);
}

.bronze {
    border-color: #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.05));
}

.silver {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
}

.gold {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.diamond {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.level-icon {
    margin-bottom: 1rem;
}

.level-icon svg {
    color: inherit;
}

.bronze .level-icon svg { color: #CD7F32; }
.silver .level-icon svg { color: #C0C0C0; }
.gold .level-icon svg { color: #FFD700; }
.diamond .level-icon svg { color: var(--primary-color); }

.level-requirements {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.level-benefits {
    list-style: none;
    text-align: left;
}

.level-benefits li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.level-benefits li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
}

.rewards-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.reward-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.reward-icon {
    margin-bottom: 1rem;
}

.reward-icon svg {
    color: var(--primary-color);
}

.reward-cost {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Support Section */
.support-section {
    padding: 4rem 0;
    background: var(--surface-color);
}

.support-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-icon svg {
    color: var(--primary-color);
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-details p {
    margin: 0;
    font-size: 0.9rem;
}

.faq-container {
    margin-top: 2rem;
}

.faq-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question svg {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    padding-top: 1rem;
}

.support-cta {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
    background: var(--background-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.support-cta-content h3 {
    margin-bottom: 0.5rem;
}

.support-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

/* Tournaments Section */
.tournaments-section {
    padding: 4rem 0;
}

.tournaments-content {
    display: grid;
    gap: 3rem;
}

.tournament-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.tournaments-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.tournament-card {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-3px);
}

.tournament-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
}

.tournament-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tournament-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--error-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.tournament-timer svg {
    color: var(--error-color);
}

.prize-pool {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.prize-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.participants {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tournament-desc {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tournament-positions {
    display: grid;
    gap: 0.5rem;
}

.position {
    padding: 0.5rem;
    background: var(--surface-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.leaderboard {
    background: var(--background-color);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 100px;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 100px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.leaderboard-row.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
}

.leaderboard-row.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.05));
}

.rank {
    font-size: 1.2rem;
    text-align: center;
}

.player {
    font-weight: 600;
}

.ratio {
    color: var(--success-color);
    font-weight: 700;
}

.prize {
    color: var(--primary-color);
    font-weight: 700;
}

.types-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.type-card {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.type-icon {
    margin-bottom: 1rem;
}

.type-icon svg {
    color: var(--primary-color);
}

.tournament-cta {
    text-align: center;
    padding: 3rem;
    background: var(--surface-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.tournament-cta h3 {
    margin-bottom: 1rem;
}

.tournament-cta p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

.footer-main {
    display: grid;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: grid;
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a,
.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.footer-column a:hover,
.legal-link:hover {
    color: var(--accent-color);
}

.age-restriction {
    color: var(--error-color);
    font-weight: 600;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom {
    display: grid;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.legal-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.payment-methods h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-icon svg {
    color: rgba(255, 255, 255, 0.8);
}

/* Legal Modals */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--background-color);
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--surface-color);
}

.modal-body {
    padding: 1.5rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-links {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .nav-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .payment-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .payment-highlights {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .licenses-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .levels-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rewards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-cta {
        grid-template-columns: 1fr 300px;
        text-align: left;
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .payment-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .security-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .levels-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tournaments-grid .tournament-card.featured {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 2rem;
    }
    
    .feature-item {
        padding: 1rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .footer,
    .cta-button,
    .cta-button-large {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .pulse,
    .glow {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --text-primary: #000000;
        --text-secondary: #333333;
        --background-color: #FFFFFF;
        --border-color: #000000;
    }
    
    [data-theme="dark"] {
        --primary-color: #00FFFF;
        --text-primary: #FFFFFF;
        --text-secondary: #CCCCCC;
        --background-color: #000000;
        --border-color: #FFFFFF;
    }
}@media (max-width: 768px) {
    .hero-text {
        display: flex;
        flex-direction: column;
    }

    .hero-cta {
        order: 4;
    }

    h1 {
        order: 1;
    }

    .hero-subtitle {
        order: 2;
    }

    .hero-description {
        order: 3;
    }

    .hero-features {
        order: 5;
    }
}