/* Luxury Social Casino - Minimalist Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0f172a;
    --navy-medium: #1e293b;
    --charcoal: #374151;
    --charcoal-light: #4b5563;
    --gold: #d4af37;
    --gold-light: #f5e6a3;
    --gold-dark: #b8860b;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;

    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;

    --border-radius: 8px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Navigation */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "♠";
    font-size: 2rem;
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
}

.age-warning {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 8rem 0;
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(30, 41, 59, 0.8) 0%, transparent 70%),
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(212, 175, 55, 0.1) 49%, rgba(212, 175, 55, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(212, 175, 55, 0.05) 49%, rgba(212, 175, 55, 0.05) 51%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

.hero h1::before {
    content: '♦';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.7;
    animation: sparkle 3s ease-in-out infinite;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero p {
    font-size: 1.4rem;
    color: var(--gray-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    min-width: 150px;
}

.hero-stat:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: var(--navy-dark);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(212, 175, 55, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--gold-light);
}

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

.game-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.game-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.game-card p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.play-button {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.05);
}

/* Game Page Layout */
.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.game-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid var(--gold);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-strong);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--charcoal);
}

/* Policy Pages */
.policy-content {
    background: rgba(30, 41, 59, 0.8);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.policy-content h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.policy-content h3 {
    color: var(--white);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--gray-light);
    line-height: 1.8;
}

.policy-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--gray-light);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.3rem 0;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--gray-medium);
}

.warning-banner {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark);
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 6rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .hero-stat {
        min-width: 120px;
        padding: 1rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .game-card {
        padding: 1.5rem;
    }

    .game-iframe {
        height: 400px;
    }

    .policy-content {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 5rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-stat {
        min-width: 200px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .game-iframe {
        height: 300px;
    }

    .main-content {
        padding: 1rem 0;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.hero-shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.4) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Floating particles for luxury effect */
.hero-content::after {
    content: '♦ ♠ ♣ ♥ ★ ◆';
    position: absolute;
    top: -3rem;
    left: 0;
    right: 0;
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.15;
    letter-spacing: 3rem;
    text-align: center;
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-button:focus,
.play-button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
