/* AALIVE Casino - Monaco Luxury Club Style */
/* 摩纳哥高端俱乐部风格 - 深邃皇家海军蓝、香槟金、奶油白 */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Didone&family=Playfair+Display:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors - 摩纳哥配色 */
    --royal-navy: #002147;
    --deep-navy: #001629;
    --midnight-navy: #000d1a;
    --champagne-gold: #d4af37;
    --soft-gold: #f4e5c2;
    --cream-white: #faf7f2;
    --pure-white: #ffffff;
    --light-gray: #f5f5f5;
    
    /* Metallic Accents */
    --brushed-gold: linear-gradient(135deg, #d4af37, #f4e5c2, #d4af37);
    --marble-texture: linear-gradient(135deg, #faf7f2 0%, #ffffff 50%, #f5f5f5 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 2px 20px rgba(0, 33, 71, 0.08);
    --shadow-medium: 0 5px 30px rgba(0, 33, 71, 0.12);
    --shadow-elegant: 0 10px 50px rgba(0, 33, 71, 0.15);
    --shadow-gold: 0 5px 30px rgba(212, 175, 55, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream-white);
    color: var(--deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--royal-navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: #4a5568;
    line-height: 1.8;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navigation Bar - Luxury Magazine Style */
.navbar {
    background: var(--pure-white);
    padding: 1.5rem 0;
    width: 100%;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-medium);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.nav-logo img:hover {
    filter: brightness(1);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--royal-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--champagne-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--champagne-gold);
}

/* CTA Buttons - Elegant Style */
.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--royal-navy);
    color: var(--pure-white);
    border: 2px solid var(--royal-navy);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--champagne-gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--royal-navy);
    border-color: var(--champagne-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-navy);
    border: 2px solid var(--champagne-gold);
}

.btn-secondary:hover {
    background: var(--champagne-gold);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Hero Section - Luxury Magazine Layout */
.hero {
    margin-top: 85px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--marble-texture);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(250, 247, 242, 0.3) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--royal-navy);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero h1 span {
    color: var(--champagne-gold);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #4a5568;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    opacity: 0.8;
    background: url('../assets/images/hero-beauty.png') center/cover no-repeat;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

/* Features Section - Clean Grid */
.features {
    padding: 100px 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--champagne-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    color: var(--royal-navy);
    margin-bottom: 1.5rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--pure-white);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brushed-gold);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-elegant);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 229, 194, 0.1));
    border: 2px solid var(--champagne-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--champagne-gold);
}

.feature-card h3 {
    color: var(--royal-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.8;
}

/* Games Section - Luxury Gallery */
.games {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--pure-white) 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--pure-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.game-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 33, 71, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 30px;
}

.game-info h3 {
    color: var(--royal-navy);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.play-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--champagne-gold);
    border: 1px solid var(--champagne-gold);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--champagne-gold);
    color: var(--pure-white);
}

/* Promotions Section - Editorial Style */
.promotions {
    padding: 100px 0;
    background: var(--pure-white);
}

.promotions-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.promotions-slider::-webkit-scrollbar {
    height: 8px;
}

.promotions-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.promotions-slider::-webkit-scrollbar-thumb {
    background: var(--champagne-gold);
    border-radius: 4px;
}

.promo-card {
    min-width: 400px;
    background: var(--pure-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
}

.promo-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-5px);
}

.promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.promo-content {
    padding: 30px;
}

.promo-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--champagne-gold);
    color: var(--pure-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.promo-content h3 {
    color: var(--royal-navy);
    margin-bottom: 1rem;
}

.promo-content p {
    color: #6b7280;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--pure-white) 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    background: var(--pure-white);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--champagne-gold);
    box-shadow: var(--shadow-gold);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer - Minimal Luxury */
footer {
    background: var(--royal-navy);
    color: var(--pure-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--champagne-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--champagne-gold);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Content Sections for Secondary Pages */
.page-header {
    background: var(--marble-texture);
    padding: 120px 0 80px;
    margin-top: 85px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.05) 0%, transparent 100%);
}

.page-header h1 {
    color: var(--royal-navy);
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.content-section {
    padding: 80px 0;
    background: var(--pure-white);
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

/* Cards for Secondary Pages */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.content-card {
    background: var(--pure-white);
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-5px);
    border-color: var(--champagne-gold);
}

.content-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 229, 194, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--champagne-gold);
    font-size: 1.5rem;
}

.content-card h3 {
    color: var(--royal-navy);
    margin-bottom: 1rem;
}

.content-card p {
    color: #6b7280;
    line-height: 1.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--royal-navy);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--pure-white);
    box-shadow: var(--shadow-medium);
    z-index: 999;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-menu-mobile {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu .nav-menu-mobile li {
    margin-bottom: 10px;
}

.mobile-menu .nav-menu-mobile .nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--royal-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.mobile-menu .nav-menu-mobile .nav-link:hover,
.mobile-menu .nav-menu-mobile .nav-link.active {
    background: var(--light-gray);
    color: var(--champagne-gold);
}

.mobile-menu .cta-buttons-mobile {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
}

.mobile-menu .cta-buttons-mobile .btn {
    width: 100%;
    text-align: center;
}

body.menu-open {
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .features-grid,
    .games-grid,
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-buttons {
        display: none;
    }
    
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .games-grid,
    .content-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promotions-slider {
        flex-direction: column;
    }
    
    .promo-card {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .feature-card,
    .content-card {
        padding: 30px 20px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .features,
    .games,
    .promotions,
    .partners {
        padding: 60px 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--champagne-gold);
}

.text-navy {
    color: var(--royal-navy);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--champagne-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}