:root {
    --bg-primary: #0f172a;
    /* Deep Indigo / Dark Slate Blue */
    --bg-secondary: #1e293b;
    --accent-primary: #FFC300;
    /* Vibrant Gold/Amber */
    --accent-secondary: #FFD700;
    /* Gold */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 195, 0, 0.2);
    /* Gold tint border */
    --card-hover-shadow: 0 20px 25px -5px rgba(255, 195, 0, 0.25), 0 8px 10px -6px rgba(255, 195, 0, 0.1);
    --gold-gradient: linear-gradient(135deg, #FFC300 0%, #FFD700 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 195, 0, 0.05), transparent 70%);
    /* Volumetric lighting feel */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Animation Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(255, 195, 0, 0.2);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

nav a:hover,
nav a.active {
    color: var(--accent-primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cta-btn-header {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 195, 0, 0.4);
    color: var(--bg-primary);
}

.cta-btn-header::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* AdSense Placeholder */
.ad-leaderboard {
    width: 728px;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--glass-border);
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 8px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px 0 rgba(255, 195, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

/* Projects Section (The Hub) */
.projects-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Fixed 3 columns on desktop */
    gap: 2rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 195, 0, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent-primary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    background: rgba(255, 195, 0, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 195, 0, 0.2);
}

.project-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 195, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.3);
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Why Section */
.why-section {
    padding: 4rem 0 6rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 195, 0, 0.3);
}

.why-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.4rem;
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-bottom: 1px solid var(--glass-border);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cta-btn-header {
        width: 80%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .ad-leaderboard {
        width: 90%;
        max-width: 320px;
        /* Mobile banner size */
        height: 100px;
        /* Adjusted for mobile */
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}


/* =========================================
   About Page Premium Redesign
   ========================================= */

.about-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.about-title-large {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Feature Grid for Content */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.mission-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 195, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mission-card:hover::after {
    transform: scaleX(1);
}

.mission-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.mission-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.mission-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
}

/* Creator Spotlight Section */
.creators-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
}

.creators-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.creator-card {
    position: relative;
    padding: 4rem 3rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 195, 0, 0.1);
    border-radius: 30px;
    width: 400px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.creator-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 0 50px rgba(255, 195, 0, 0.15);
}

.creator-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.creator-name-large {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
}

.creator-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .about-title-large {
        font-size: 3rem;
    }

    .creator-card {
        width: 100%;
    }
}

/* =========================================
   Policy & Terms Pages (AdSense Friendly)
   ========================================= */
.policy-section {
    padding: 8rem 0 4rem;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
    border-bottom: 1px solid rgba(255, 195, 0, 0.2);
    padding-bottom: 1rem;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.policy-content p,
.policy-content ul {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}


/* =========================================
   Revolution Section (Stylish & Animated)
   ========================================= */
.revolution-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.revolution-title {
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(255, 195, 0, 0.2);
}

.revolution-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1rem;
}

.rev-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.rev-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.rev-card:hover::before {
    opacity: 1;
}

.rev-number {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -20px;
    right: 10px;
    line-height: 1;
    transition: all 0.5s ease;
}

.rev-card:hover .rev-number {
    color: rgba(255, 195, 0, 0.1);
    transform: scale(1.2) rotate(-10deg);
}

.rev-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.rev-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .rev-grid {
        grid-template-columns: 1fr;
    }

    .revolution-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   Contact Page Styling
   ========================================= */
.contact-section-page {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-right: 1.5rem;
    background: rgba(255, 195, 0, 0.1);
    width: 50px;
    height: 50px;
    /* Ensure square */
    min-width: 50px;
    /* Prevent shrinking */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .policy-container {
        padding: 2rem;
    }
}