/* ============================================
   RadiantHeads - Main Stylesheet
   ============================================ */

:root {
    /* Brand Colors (extracted from logo) */
    --primary: #2D2354;
    /* Deep Indigo */
    --primary-dark: #1a1538;
    /* Darker Indigo */
    --accent: #F5B427;
    /* Golden Amber */
    --accent-glow: rgba(245, 180, 39, 0.4);
    --light-bg: #FBF8F1;
    /* Warm Cream */
    --light-tint: #F5F0E6;
    /* Slightly darker cream */
    --section-alt: #F0EBE0;
    /* Alternating section bg */
    --text-dark: #1A1A2E;
    /* Near Black */
    --text-muted: #5A5A6E;
    /* Muted Gray */
    --subtle-bg: #E8E3D8;
    /* Soft Beige */
    --white: #FFFFFF;

    /* Dramatic Colors */
    --drama-dark: #0D0A1A;
    /* Near black with purple tint */
    --drama-gradient: linear-gradient(135deg, #1a1538 0%, #2D2354 50%, #3d3070 100%);

    /* Spacing */
    --section-padding: 6rem 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Account for fixed navbar */
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0a520;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-padding);
    position: relative;
}

/* Thin shadow at top of sections */
.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 35, 84, 0.1) 20%, rgba(45, 35, 84, 0.1) 80%, transparent 100%);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(245, 180, 39, 0.4);
}

.btn-primary:hover {
    background: #ffe066;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 180, 39, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(251, 248, 241, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-links a:hover {
    color: var(--primary);
}

/* ============================================
   Hero Section - DRAMATIC
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--subtle-bg) 100%);
    overflow: hidden;
}

/* Radiant Background Effect - MORE VISIBLE */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 180, 39, 0.25) 0%, rgba(245, 180, 39, 0.08) 40%, transparent 70%);
    animation: radiantPulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* Secondary glow layer for depth */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 180, 39, 0.15) 0%, transparent 60%);
    animation: radiantPulse 4s ease-in-out infinite 0.5s;
    pointer-events: none;
}

@keyframes radiantPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* Subtle noise texture overlay */
.hero .hero-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: floatGentle 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(245, 180, 39, 0.4));
}

@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(245, 180, 39, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   About Section - TINTED
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--light-tint) 0%, var(--light-bg) 100%);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45, 35, 84, 0.2);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--drama-gradient);
}

.about-image-wrapper .placeholder-content {
    position: relative;
    z-index: 1;
    padding: 4rem;
    text-align: center;
    color: var(--white);
}

.about-image-wrapper .placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(245, 180, 39, 0.5));
    color: var(--accent);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-content .btn-primary {
    color: var(--white);
    background: var(--primary);
}

.about-content .btn-primary:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ============================================
   Values / What We Do Section
   ============================================ */
.values {
    background: linear-gradient(180deg, var(--subtle-bg) 0%, var(--section-alt) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.values-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.values-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-tint) 100%);
    border-radius: 12px;
    border: 1px solid rgba(45, 35, 84, 0.06);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(45, 35, 84, 0.1);
}

.value-card i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--drama-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.value-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 968px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   Team Section - TINTED
   ============================================ */
.team {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-tint) 100%);
}

.team h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-card {
    text-align: center;
    max-width: 280px;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(245, 180, 39, 0.25), 0 0 0 8px rgba(45, 35, 84, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 180, 39, 0.35), 0 0 0 8px rgba(45, 35, 84, 0.15);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Games Section
   ============================================ */
.games {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-tint) 100%);
}

.games h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.games .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-tint) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(45, 35, 84, 0.08);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(45, 35, 84, 0.12);
    border-color: var(--accent);
}

.game-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--drama-gradient);
    overflow: hidden;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 3rem;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay span {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    border-radius: 8px;
}

.game-info {
    padding: 1.25rem;
}

.game-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.game-header {
    margin-bottom: 1rem;
}

.game-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.game-tag {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info>p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.75rem 0 0 0;
}

.game-progress {
    margin-top: auto;
}

.progress-bar {
    height: 6px;
    background: rgba(45, 35, 84, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: linear-gradient(180deg, var(--subtle-bg) 0%, var(--section-alt) 100%);
}

.faq h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-tint) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 35, 84, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(45, 35, 84, 0.08);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq .container {
    display: block;
}

.faq h2 {
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 600px;
}

/* ============================================
   Contact Section - DRAMATIC DARK
   ============================================ */
.contact {
    background: var(--drama-gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radiant glow in contact too */
.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 180, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact p {
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(245, 180, 39, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    background: var(--accent);
    color: var(--primary-dark);
    align-self: center;
}

.contact-form .btn:hover {
    background: #ffe066;
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--drama-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent);
    opacity: 1;
}

.footer a:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .navbar-links {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}