/* ==========================================================================
   Font Imports & @font-face Definitions
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&display=swap');

@font-face {
    font-family: 'SplashFont';
    src: url('assets/fonts/SPLASH.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SplashFont';
    src: url('assets/fonts/SPLASH-REGULAR.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Root Variables & Global Reset
   ========================================================================== */
:root {
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-muted: #8a8a93;
    --accent-purple: #7000ff;
    --accent-purple-hover: #8626ff;
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'SplashFont', 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    width: 100%;
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo .logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link, .dropbtn {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.2px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111111;
    min-width: 140px;
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 10;
}

.dropdown-content a {
    color: var(--text-white);
    padding: 10px 18px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.btn-hiring {
    background-color: var(--accent-purple);
    color: var(--text-white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.2s;
}

.btn-hiring:hover {
    background-color: var(--accent-purple-hover);
}

/* ==========================================================================
   Main 4x2 Tile Grid (index.html)
   ========================================================================== */
.grid-section {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 210px);
    grid-template-rows: repeat(2, 210px);
    gap: 20px;
    justify-content: center;
}

.tile {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
}

.img-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-color: transparent;
    overflow: hidden;
}

.tile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 32px;
}

.gradient-blue-orange {
    background: linear-gradient(135deg, #2a41a3 0%, #e65c00 100%);
}

.gradient-purple-pink {
    background: linear-gradient(135deg, #7000ff 0%, #ff007f 100%);
}

.gradient-blue-purple {
    background: linear-gradient(135deg, #1e3c72 0%, #a855f7 100%);
}

.gradient-blue-cyan {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
}

.video-tile {
    background: #111;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.play-button {
    width: 58px;
    height: 40px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}

.play-icon {
    color: #000;
    font-size: 18px;
    margin-left: 2px;
}

.video-tile:hover .play-button {
    transform: scale(1.08);
}

/* ==========================================================================
   Games Page Layout (games.html)
   ========================================================================== */
.page-container.games-page {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px 24px;
}

.showcase-wrapper {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
}

.character-col {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
}

.kai-render-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
}

.content-col {
    flex: 1;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.font-splash {
    font-family: var(--font-display);
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 28px;
}

.star-callout {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ff007f;
    margin-bottom: 16px;
}

.description-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
}

.join-text {
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 24px;
}

.btn-play-now {
    background-color: var(--accent-purple);
    color: var(--text-white);
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.2px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(112, 0, 255, 0.4);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-play-now:hover {
    background-color: var(--accent-purple-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Stars Page Layout (stars.html)
   ========================================================================== */
.page-container.stars-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.kai-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
}

.kai-hero-render {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
}

.kai-sitting-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

.kai-hero-content {
    flex: 1;
    max-width: 540px;
}

.callout-text {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.8px;
    color: var(--text-white);
    margin: 20px 0 24px 0;
    text-transform: uppercase;
}

.kai-social-icons {
    display: flex;
    gap: 16px;
}

.kai-social-icons a {
    color: var(--text-white);
    transition: transform 0.2s, opacity 0.2s;
}

.kai-social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-svg {
    width: 28px;
    height: 28px;
}

.kai-music-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    width: 100%;
}

.album-col {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.album-art-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.album-img {
    width: 100%;
    height: auto;
    display: block;
}

.album-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.artist-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.stream-col {
    flex: 1;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.tracks-heading {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tracks-list ol {
    list-style: none;
    padding: 0;
}

.tracks-list li {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.btn-platform {
    background-color: var(--accent-purple);
    color: var(--text-white);
    text-decoration: none;
    text-align: center;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 16px rgba(112, 0, 255, 0.3);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-platform:hover {
    background-color: var(--accent-purple-hover);
    transform: translateY(-2px);
}

.media-callout {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

/* ==========================================================================
   Footer & Contact Info
   ========================================================================== */
.footer-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand .footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.contact-banner {
    text-align: center;
    padding: 40px 24px 60px 24px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-icons a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.contact-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-text a {
    color: #7000ff;
    text-decoration: none;
}

.address-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 960px) {
    .tile-grid {
        grid-template-columns: repeat(2, 170px);
        grid-template-rows: repeat(4, 170px);
        gap: 16px;
    }

    .tile {
        border-radius: 24px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        text-align: center;
    }

    .footer-links-group {
        gap: 40px;
    }
}

@media (max-width: 850px) {
    .showcase-wrapper,
    .kai-hero-wrapper,
    .kai-music-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .character-col,
    .kai-hero-render,
    .album-col {
        flex: initial;
        max-width: 320px;
    }

    .content-col,
    .album-col {
        align-items: center;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .kai-social-icons {
        justify-content: center;
    }

    .stream-col {
        min-height: auto;
        align-items: center;
    }

    .tracks-list ol {
        text-align: center;
    }

    .platform-grid {
        width: 100%;
        max-width: 320px;
    }

    .media-callout {
        font-size: 16px;
    }
}