/* --- BASE & RESET STYLES --- */
:root {
    --bg: #050505;
    --primary: #ff003c;
    --text: #ffffff;
    --grid: rgba(255, 0, 60, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* --- BACKGROUND FX --- */
.grid-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(20deg);
    z-index: -2;
    pointer-events: none;
}

.glow-spot {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text);
}

.nav-btn-small {
    font-size: 0.8rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 5px 15px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-btn-small:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 10px var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px var(--primary);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.tags {
    margin-top: 20px;
    font-family: monospace;
    color: #888;
}

.cta-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: var(--text);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* === PLAY GAME BUTTON === */
.play-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    animation: pulse-glow 2s infinite ease-in-out;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(236, 72, 153, 0.8);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 50px rgba(236, 72, 153, 0.7);
    }
}

/* === EXPLORE PROJECTS BUTTON === */
.explore-btn {
    display: inline-block;
    margin-top: 15px;
    margin-left: 15px;
    padding: 12px 25px;
    background: transparent;
    color: #06b6d4;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid #06b6d4;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: #06b6d4;
    color: #000;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/* === SYNTHWAVE CANVAS BACKGROUND === */
#synthwave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.hero {
    position: relative;
}

.hero-content {
    z-index: 1;
    position: relative;
}

/* NEW: Social Icons in Hero */
.hero-socials {
    margin-top: 30px;
    display: flex;
    gap: 25px;
    justify-content: center;
}

.hero-socials a {
    color: #888;
    font-size: 1.8rem;
    /* Slightly larger than footer icons */
    transition: 0.3s ease;
    text-decoration: none;
}

.hero-socials a:hover {
    color: var(--primary);
    transform: translateY(-5px);
    /* Moves up slightly on hover */
    text-shadow: 0 0 15px var(--primary);
}

/* --- PROJECTS SECTION --- */
.projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.5rem;
    color: #888;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    letter-spacing: 2px;
}

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

.card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 0, 60, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 0, 60, 0.25);
}

.card:hover::before {
    opacity: 1;
}


.video-container {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.card-info p {
    color: #888;
    font-size: 0.9rem;
}

/* === EXPLORE SECTION (Near Waitlist) === */
.explore-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
}

.explore-btn-large {
    display: inline-block;
    padding: 20px 50px;
    background: transparent;
    color: #06b6d4;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 2px;
    border: 3px solid #06b6d4;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.explore-btn-large:hover {
    background: #06b6d4;
    color: #000;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
    transform: scale(1.05);
}

/* --- WAITLIST & FOOTER --- */
.waitlist-section {
    padding: 100px 20px;
    text-align: center;
}

.waitlist-box {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-container {
    margin-top: 30px;
    background: transparent;
}

/* === AMAZON BOOK BUTTON === */
.amazon-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 2px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.4);
    animation: amazon-pulse 2s infinite ease-in-out;
}

.amazon-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(255, 102, 0, 0.7);
    background: linear-gradient(135deg, #ffaa00 0%, #ff7700 100%);
}

@keyframes amazon-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(255, 153, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 45px rgba(255, 102, 0, 0.6);
    }
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #222;
    color: #666;
}

.socials {
    margin-top: 15px;
}

.socials a {
    color: #666;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary);
}