/* EV99 Casino Website - 永恒金爵 Style */
/* Black and Gold Luxury Theme with Elegant Shadows */

:root {
    --primary-gold: #FFD700;
    --dark-gold: #B8860B;
    --light-gold: #FFF8DC;
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --accent-black: #2A2A2A;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-light-gray: #999999;
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-black: 0 4px 20px rgba(0, 0, 0, 0.5);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    --gradient-black: linear-gradient(135deg, #0A0A0A 0%, #2A2A2A 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: var(--gradient-black);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-black);
    border-bottom: 2px solid var(--primary-gold);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-shadow: var(--shadow-gold);
    margin-left: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--shadow-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.header-cta {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-gold);
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Page-specific hero backgrounds */
.hero.sports {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-sports.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.casino {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-casino.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.slots {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-slots.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.register {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-register.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.promotions {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-promotions.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.app {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-app.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.deposit {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-deposit.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.withdraw {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-withdraw.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.faq {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%), url('images/processed/hero-faq.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    text-shadow: var(--shadow-gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Sections */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--accent-black);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-gold);
    text-shadow: var(--shadow-gold);
}

.content-block {
    background: var(--secondary-black);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-black);
    border: 1px solid var(--accent-black);
}

.content-block h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-block h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.content-block p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-item {
    background: var(--secondary-black);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--accent-black);
    transition: all 0.3s ease;
    text-align: center;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.grid-item h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.grid-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Images */
.content-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid var(--accent-black);
}

/* Footer */
.footer {
    background: var(--gradient-black);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-gold);
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-black);
    color: var(--text-light-gray);
}

/* Medium screens - prevent menu wrapping */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-container {
        padding: 0 0.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.6rem;
        font-size: 0.9rem;
    }

    .header-cta {
        gap: 0.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-black);
        border-top: 1px solid var(--accent-black);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--accent-black);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        text-align: center;
    }

    .header-cta {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Special Effects */
.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px var(--primary-gold);
    }
    to {
        text-shadow: 0 0 20px var(--primary-gold), 0 0 30px var(--primary-gold);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
