/* ==========================================
   KAIJU INTERACTIVE
   OFFICIAL WEBSITE STYLESHEET
========================================== */


/* ==========================================
   VARIABLES
========================================== */

:root {

    --background: #0d1214;

    --surface: #152326;

    --surface-hover: #1b3033;

    --teal: #40d8c5;

    --teal-bright: #55f5e2;

    --text: #ffffff;

    --muted: #a6b8bd;

    --border: #294044;

    --font-body: "DM Sans", sans-serif;

    --font-pixel: "Press Start 2P", monospace;

}


/* ==========================================
   RESET
========================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 100px;

}


body {

    background: var(--background);

    color: var(--text);

    font-family: var(--font-body);

    line-height: 1.7;

    overflow-x: hidden;

}


a {

    color: inherit;

    text-decoration: none;

}


img {

    max-width: 100%;

    display: block;

}


button {

    font: inherit;

}


/* ==========================================
   STARFIELD
========================================== */

#starfield {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: -1;

    pointer-events: none;

}


/* ==========================================
   LAYOUT
========================================== */

.container {

    width: 90%;

    max-width: 1150px;

    margin: 0 auto;

}


.section {

    padding: 110px 0;

}


.section-label {

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 25px;

}


.section h2 {

    font-size: clamp(30px, 5vw, 48px);

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 25px;

}


.section-description {

    max-width: 680px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 55px;

}


/* ==========================================
   HEADER
========================================== */

.site-header {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(13, 18, 20, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

}


.nav-container {

    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 11px;

    white-space: nowrap;

}


.brand img {

    width: 42px;

    height: 42px;

    object-fit: contain;

    image-rendering: pixelated;

}


/* NAVIGATION */

nav {

    display: flex;

    align-items: center;

    gap: 30px;

}


nav a {

    color: var(--text);

    font-size: 13px;

    font-weight: 700;

    transition: color 0.2s ease;

}


nav a:hover {

    color: var(--teal);

}


/* MOBILE MENU BUTTON */

.menu-toggle {

    display: none;

    background: transparent;

    border: 1px solid var(--border);

    color: var(--teal);

    padding: 8px 12px;

    border-radius: 5px;

    cursor: pointer;

    font-size: 20px;

}


/* ==========================================
   HERO
========================================== */

.hero {

    position: relative;

    min-height: calc(100vh - 72px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 100px 0 120px;

}


.hero-container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;

}


/* HERO IMAGE */

.hero-image {

    display: flex;

    align-items: center;

    justify-content: center;

}


.hero-image img {

    width: 100%;

    max-width: 430px;

    height: auto;

    image-rendering: pixelated;

}


/* HERO TEXT */

.eyebrow {

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 10px;

    line-height: 2;

    letter-spacing: 1px;

    margin-bottom: 25px;

}


.hero h1 {

    font-size: clamp(38px, 5vw, 65px);

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -2px;

    margin-bottom: 30px;

}


.hero h1 span {

    display: block;

    color: var(--teal);

}


.hero-description {

    max-width: 520px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 32px;

}


/* ==========================================
   BUTTONS
========================================== */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 15px 22px;

    border-radius: 5px;

    font-family: var(--font-pixel);

    font-size: 9px;

    line-height: 1.6;

    text-align: center;

    transition:

        background 0.2s ease,

        color 0.2s ease,

        transform 0.2s ease;

}


.button:hover {

    transform: translateY(-3px);

}


.button-primary {

    background: var(--teal);

    color: var(--background);

    border: 1px solid var(--teal);

}


.button-primary:hover {

    background: var(--teal-bright);

}


.button-outline {

    background: transparent;

    color: var(--teal);

    border: 1px solid var(--teal);

}


.button-outline:hover {

    background: var(--teal);

    color: var(--background);

}


/* ==========================================
   SCROLL INDICATOR
========================================== */

.scroll-indicator {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    color: var(--muted);

    font-family: var(--font-pixel);

    font-size: 9px;

    letter-spacing: 1px;

    white-space: nowrap;

}


/* ==========================================
   GAME GRID
========================================== */

.game-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 26px;

}


/* GAME CARD */

.game-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

    transition:

        transform 0.25s ease,

        border-color 0.25s ease;

}


.game-card:hover {

    transform: translateY(-6px);

    border-color: var(--teal);

}


/* GAME IMAGE */

.game-image {

    height: 200px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            135deg,
            #142529,
            #1a383b
        );

    border-bottom: 1px solid var(--border);

}


.game-image img {

    width: 120px;

    height: 120px;

    object-fit: contain;

    image-rendering: pixelated;

}


/* GAME CONTENT */

.game-content {

    padding: 30px;

}


.game-genre {

    display: inline-block;

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 9px;

    margin-bottom: 20px;

}


.game-content h3 {

    font-size: 24px;

    font-weight: 800;

    margin-bottom: 15px;

}


.game-content p {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

    min-height: 85px;

    margin-bottom: 25px;

}


.game-content a {

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 9px;

    line-height: 2;

}


.game-content a:hover {

    color: var(--teal-bright);

}


/* ==========================================
   PROJECTS
========================================== */

.projects-section {

    background: rgba(21, 35, 38, 0.45);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.project-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

}


.project-card {

    padding: 35px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: border-color 0.2s ease;

}


.project-card:hover {

    border-color: var(--teal);

}


.project-icon {

    display: block;

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 26px;

    margin-bottom: 25px;

}


.project-card h3 {

    font-size: 22px;

    margin-bottom: 15px;

}


.project-card p {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.section-action {

    margin-top: 45px;

}


/* ==========================================
   ABOUT
========================================== */

.about-container {

    display: grid;

    grid-template-columns: 350px 1fr;

    align-items: center;

    gap: 70px;

    margin-top: 50px;

}


.about-image {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 30px;

}


.about-image img {

    width: 100%;

    image-rendering: pixelated;

}


.about-content h3 {

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;

}


.about-content p {

    color: var(--muted);

    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 20px;

}


.about-content .about-highlight {

    color: var(--teal);

    font-weight: 800;

}


/* ==========================================
   CONTACT
========================================== */

.contact-section {

    background: rgba(21, 35, 38, 0.45);

    border-top: 1px solid var(--border);

}


.contact-links {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.contact-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--teal);

    font-family: var(--font-pixel);

    font-size: 10px;

    transition:

        border-color 0.2s ease,

        transform 0.2s ease;

}


.contact-card:hover {

    border-color: var(--teal);

    transform: translateY(-4px);

}


/* ==========================================
   FOOTER
========================================== */

.site-footer {

    padding: 35px 0;

    background: var(--background);

    border-top: 1px solid var(--border);

}


.footer-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}


.site-footer p {

    color: var(--muted);

    font-family: var(--font-pixel);

    font-size: 8px;

    line-height: 2;

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .hero-container {

        gap: 40px;

    }


    .hero h1 {

        font-size: 45px;

    }


    .about-container {

        grid-template-columns: 280px 1fr;

        gap: 35px;

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {


    /* HEADER */

    .nav-container {

        min-height: 70px;

    }


    .brand {

        font-size: 9px;

    }


    .brand img {

        width: 35px;

        height: 35px;

    }


    .menu-toggle {

        display: block;

    }


    nav {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: var(--background);

        border-bottom: 1px solid var(--border);

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    nav.active {

        display: flex;

    }


    nav a {

        font-size: 15px;

    }


    /* HERO */

    .hero {

        min-height: auto;

        padding: 80px 0 110px;

    }


    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 45px;

    }


    .hero-image img {

        max-width: 300px;

    }


    .hero h1 {

        font-size: clamp(35px, 8vw, 50px);

    }


    .hero-description {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    /* SECTIONS */

    .section {

        padding: 75px 0;

    }


    .section h2 {

        font-size: 32px;

    }


    /* GAMES */

    .game-grid {

        grid-template-columns: 1fr;

    }


    .game-content p {

        min-height: auto;

    }


    /* PROJECTS */

    .project-grid {

        grid-template-columns: 1fr;

    }


    /* ABOUT */

    .about-container {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    /* ==========================================
   TEAM MEMBERS
========================================== */

.team-member {
    width: 90%;
    max-width: 1150px;

    margin: 80px auto 0;
    padding-top: 60px;

    border-top: 1px solid var(--border);
}

.team-member .about-image img {
    width: 100%;
    height: auto;

    image-rendering: pixelated;
}

.team-member .about-highlight {
    color: var(--teal);
    font-weight: 800;
}


    .about-image {

        max-width: 350px;

        margin: 0 auto;

    }


    /* CONTACT */

    .contact-links {

        grid-template-columns: 1fr;

    }


    /* FOOTER */

    .footer-container {

        flex-direction: column;

        text-align: center;

    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .brand {

        font-size: 8px;

    }


    .hero h1 {

        font-size: 34px;

    }


    .button {

        width: 100%;

    }


    .game-content {

        padding: 24px;

    }


    .project-card {

        padding: 25px;

    }

}


/* ==========================================
   ACCESSIBILITY
========================================== */

:focus-visible {

    outline: 2px solid var(--teal-bright);

    outline-offset: 4px;

}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    * {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

    }

}

.game-card:nth-child(4) .game-image img {
    filter: drop-shadow(0 0 8px rgba(64, 216, 197, 0.65));
}

/* ==========================================
   KAIJU INTERACTIVE
   SOCIAL MEDIA SECTION
========================================== */

.social-section {

    border-top: 1px solid rgba(100, 216, 197, 0.2);

}

.social-description {

    max-width: 650px;

    margin-bottom: 40px;

    color: #b7cbd0;

    line-height: 1.8;

}


/* SOCIAL GRID */

.social-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

}


/* SOCIAL CARDS */

.social-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 26px;

    background: #18272a;

    border: 1px solid #30484b;

    border-radius: 8px;

    color: #64d8c5;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;

}


/* PLATFORM NAMES */

.social-name {

    font-family: 'Press Start 2P', monospace;

    font-size: 10px;

    line-height: 1.8;

}


/* ARROWS */

.social-arrow {

    font-size: 20px;

    transition: transform 0.2s ease;

}


/* HOVER EFFECT */

.social-card:hover {

    transform: translateY(-5px);

    border-color: #64d8c5;

    background: #203438;

}


/* ARROW ANIMATION */

.social-card:hover .social-arrow {

    transform: translate(3px, -3px);

}


/* MOBILE LAYOUT */

@media (max-width: 900px) {

    .social-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 600px) {

    .social-grid {

        grid-template-columns: 1fr;

    }

    .social-card {

        padding: 22px;

    }

}


/* ACCESSIBILITY */

.social-card:focus-visible {

    outline: 2px solid #64d8c5;

    outline-offset: 4px;

}


@media (prefers-reduced-motion: reduce) {

    .social-card,
    .social-arrow {

        transition: none;

    }

}
