/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --deep-navy: #181C3A;
    --navy-medium: #23285A;
    --navy-light: #12194c;
    
    /* White */
    --white: #fff;
    
    /* Accent Colors */
    --vivid-pink: #FF4EB1;
    --pink-hover: #E13B9C;
    
    /* Light Colors */
    --light-lavender: #F5F6FF;
    --light-gray: #F0F2FA;
    --light-blue: #E0E3F5;
    
    /* Shadows */
    --shadow-light: rgba(24, 28, 58, 0.08);
    --shadow-medium: rgba(24, 28, 58, 0.12);
    --shadow-dark: rgba(24, 28, 58, 0.2);
    
    /* Typography */
    --font-family: 'Roboto', sans-serif;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;
    --font-black: 900;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    line-height: 1.6;
    color: var(--deep-navy);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: var(--font-black);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--navy-medium);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: var(--font-medium);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--vivid-pink), var(--pink-hover));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 78, 177, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 78, 177, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--deep-navy);
    border: 2px solid var(--deep-navy);
}

.btn-secondary:hover {
    background: var(--deep-navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--deep-navy);
    border: 2px solid var(--deep-navy);
}

.btn-outline:hover {
    background: var(--deep-navy);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--deep-navy) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: var(--font-medium);
    color: white;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vivid-pink);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    position: relative;
    margin-right: 0.5rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    color: white;
}

.language-btn:hover {
    border-color: var(--vivid-pink);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.language-btn.active {
    border-color: var(--vivid-pink);
    background: rgba(255, 78, 177, 0.2);
}

.current-flag {
    font-size: 1.1rem;
}

.current-lang {
    font-weight: var(--font-medium);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--deep-navy);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    margin-top: 0.5rem;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--vivid-pink);
}

.language-option.active {
    background: rgba(255, 78, 177, 0.2);
    color: var(--vivid-pink);
    font-weight: var(--font-medium);
}

.flag {
    font-size: 1.2rem;
}

.lang-name {
    font-size: 0.9rem;
    font-weight: var(--font-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.banner-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
}

.welcome-bonus {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bonus-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-bonus {
    background: linear-gradient(45deg, #ff6b9d, #ff8e53);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.4);
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.6);
}

/* ===== HERO BANNER LINK ===== */
.hero-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-banner-link:hover {
    transform: scale(1.02);
}

.hero-banner-link:focus {
    outline: 2px solid var(--vivid-pink);
    outline-offset: 2px;
}

.hero-banner-link .btn-bonus {
    pointer-events: auto;
}

.hero-banner-link .btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.6);
}

/* Mobile/Desktop visibility classes */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    .hero {
        min-height: 400px;
    }
    
    .hero-banner {
        min-height: 400px;
    }
    
    .welcome-bonus {
        padding: 30px 40px;
        margin: 0 20px;
    }
    
    .bonus-title {
        font-size: 2rem;
    }
    
    .bonus-amount {
        font-size: 2.5rem;
    }
    
    .btn-bonus {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-black);
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--navy-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GAMES SECTION ===== */
.games {
    padding: var(--section-padding);
    background: var(--white);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-content {
    padding: 2rem;
}

.game-content h3 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.game-content p {
    color: var(--navy-medium);
    margin-bottom: 1.5rem;
}

/* ===== PROMOTIONS SECTION ===== */
.promotions {
    padding: var(--section-padding);
    background: var(--light-lavender);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.promo-card.featured {
    border: 2px solid var(--vivid-pink);
    transform: scale(1.05);
}

.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--vivid-pink);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: var(--font-medium);
}

.promo-content h3 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.promo-amount {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--vivid-pink);
    margin-bottom: 1rem;
}

.promo-features {
    margin: 1.5rem 0;
}

.promo-features li {
    color: var(--navy-medium);
    margin-bottom: 0.5rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--navy-medium);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--navy-medium);
    margin-bottom: 0;
}

.about-image {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SUPPORT SECTION ===== */
.support {
    padding: var(--section-padding);
    background: var(--light-lavender);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--navy-medium);
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: var(--font-bold);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 42px;
    width: auto;
    max-width: 208px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--vivid-pink);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--vivid-pink);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-payment img {
    height: 30px;
    width: auto;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 28, 58, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--shadow-dark);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
    margin: 0;
    color: var(--deep-navy);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy-medium);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--deep-navy);
}

.modal-body {
    padding: 2rem;
}

/* ===== FORM STYLES ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: var(--font-medium);
    color: var(--deep-navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--vivid-pink);
    box-shadow: 0 0 0 3px rgba(255, 78, 177, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #ff4444;
}

.form-group input.error:focus,
.form-group select.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* ===== RIPPLE EFFECT ===== */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== FOCUS INDICATORS ===== */
.focus-visible {
    outline: 2px solid var(--vivid-pink);
    outline-offset: 2px;
}

/* ===== HEADER SCROLL EFFECT ===== */
.header {
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

/* ===== BODY LOADED STATE ===== */
body.loaded {
    opacity: 1;
}

body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ===== LANGUAGE CHANGE ANIMATION ===== */
.language-changed {
    animation: languageChange 0.5s ease-out;
}

@keyframes languageChange {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
} 