/* AALIVE Casino - Main Stylesheet */

:root {
    --gold-primary: #d4af37;
    --gold-secondary: #f4d03f;
    --dark-primary: #1a1a2e;
    --dark-secondary: #16213e;
    --dark-tertiary: #0f1419;
    --white: #ffffff;
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold-hover: rgba(212, 175, 55, 0.6);
    --backdrop-blur: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Times New Roman', serif;
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    line-height: 1.6;
}

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

/* Header & Navigation */
header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-gold);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.nav-menu a {
    color: var(--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(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav-menu a.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(22, 33, 62, 0.8));
    background-image: url('../images/hero-woman-opt.jpg');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--dark-primary);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-gold-hover);
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Content Blocks */
.content-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.content-block {
    background: var(--backdrop-blur);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.content-block img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.grid-item {
    background: var(--backdrop-blur);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item .icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-primary), var(--dark-tertiary));
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 2px solid var(--gold-primary);
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.copyright {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 2rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .content-blocks {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

/* Performance & Accessibility */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
*:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Loading state */
.loading {
    position: relative;
    opacity: 0.7;
}

.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 var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}