/* 
 * AllDayAllNight - Royal Club Theme
 * Colors: Red (#C11B17), Black (#0B0B0B), Gold (#D4AF37)
 */

:root {
    --color-red: #C11B17;
    --color-red-glow: rgba(193, 27, 23, 0.6);
    --color-black: #0B0B0B;
    --color-black-light: #151515;
    --color-gold: #D4AF37;
    --color-gold-glow: rgba(212, 175, 55, 0.4);
    --color-text: #ffffff;
    --color-text-muted: #cccccc;

    --font-heading: 'Alef', sans-serif;
    --font-body: 'Assistant', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-text);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.text-red {
    color: var(--color-red);
}

.text-center {
    text-align: center;
}

/* Effects */
.glow-gold {
    text-shadow: 0 0 15px var(--color-gold-glow);
}

.glow-red {
    text-shadow: 0 0 15px var(--color-red-glow);
}

/* --- HEADER / NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 11, 11, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--color-gold);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, var(--color-gold));
    -webkit-background-clip: text;
    /* Standard property for compatibility */
    background-clip: text;
    color: transparent;
    /* Fallback */
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    display: flex;
    gap: 12px;
}

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, #aa8c2c 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-gold-glow);
}

.btn-red {
    background: linear-gradient(135deg, var(--color-red) 0%, #900f0c 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--color-red-glow);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-red-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 90vh;
    /* Reduced from 100vh */
    min-height: 500px;
    /* Reduced from 600px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    overflow: hidden;
    padding-top: 80px;
    /* navbar height */
}

/* Background Image with Overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.png');
    /* We will assume this path */
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.6);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.3) 0%, rgba(11, 11, 11, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    /* text-transform: uppercase; Removed per user request */
}

.hero-title span {
    display: block;
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: 10px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.club-badge {
    margin-top: 30px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    color: var(--color-gold);
    font-weight: 700;
}

/* --- TICKER SECTION --- */
.ticker-wrap {
    width: 100%;
    background: var(--color-red);
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    padding-right: 100%;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(100%, 0, 0);
    }

    /* RTL direction: move right */
}

/* --- GAMES / BENEFITS SECTION --- */
.games-section {
    padding: 60px 0;
    /* Reduced from 100px */
    background: var(--color-black);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    /* Reduced from 60px */
    color: var(--color-gold);
}

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

.game-card {
    background: var(--color-black-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-card-header {
    background: linear-gradient(45deg, #1a1a1a, #000);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-icon {
    font-size: 32px;
    color: var(--color-gold);
}

.game-card-body {
    padding: 24px;
}

.game-card h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}

.game-card ul {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-card li {
    color: var(--color-text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-card li::before {
    content: '•';
    color: var(--color-red);
    font-size: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 60px 0;
    /* Reduced from 100px */
    background: linear-gradient(to bottom, #000, #0a0a0a);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.stars {
    color: var(--color-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.quote {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.author {
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 60px 0;
    /* Reduced from 100px */
    background: var(--color-black);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: var(--color-text-muted);
}

.faq-answer p {
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

.faq-item.active .faq-question {
    color: var(--color-gold);
}

.plus-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

/* --- HOW TO JOIN --- */
.how-to {
    padding: 60px 0;
    /* Reduced from 100px */
    background: radial-gradient(circle at center, #1a0505 0%, #000 100%);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.step {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-red);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px var(--color-red-glow);
}

/* --- CONTACT FORM --- */
.contact {
    padding: 60px 0;
    /* Reduced from 100px */
    background: #080808;
    background-image: repeating-linear-gradient(45deg, rgba(20, 20, 20, 0.5) 0, rgba(20, 20, 20, 0.5) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--color-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: #050505;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.legal-note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

/* --- FOOTER --- */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 20px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-socials {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-gold);
    color: #000;
}

.disclaimer {
    font-size: 14px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .logo {
        font-size: 20px;
    }

    .nav-cta button {
        display: none;
    }

    /* Show only burger or simplify on mobile? Let's just stack */
    .nav-cta .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
