:root {
    --black: #030303;
    --black-soft: #080808;
    --white: #f3f1ec;
    --muted: #8e8a84;
    --line: rgba(255,255,255,.10);
    --gold: #d6b66a;
    --gold-glow: rgba(214, 182, 106, 0.35);
    --alert: #d9534f;
    --sans: "Inter", sans-serif;
    --mono: "DM Mono", monospace;
    --serif: "Playfair Display", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #000;
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.modal-open {
    overflow: hidden;
}

body, a, button {
    cursor: none;
}

img, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: #000;
}

.container {
    width: min(1380px, calc(100% - 80px));
    margin: auto;
}

/* =========================================================
   PRELOADER
========================================================= */

.preloader {
    position: fixed;
    inset: 0;
    background: #030303;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-center {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.preloader-rings circle {
    fill: none;
    stroke-linecap: round;
}

.ring-track {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1.5;
}

.ring-spin-outer {
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 180 400;
    animation: orbitSpinCW 1.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transform-origin: center;
}

.ring-spin-inner {
    stroke: rgba(214, 182, 106, 0.55);
    stroke-width: 1.5;
    stroke-dasharray: 90 350;
    animation: orbitSpinCCW 1.2s linear infinite;
    transform-origin: center;
}

@keyframes orbitSpinCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitSpinCCW {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.preloader-logo-wrap {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(214, 182, 106, 0.35));
}

/* =========================================================
   CURSORS
========================================================= */

.cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 12000;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(214,182,106,.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 11999;
    transform: translate(-50%, -50%);
    transition: width .35s ease, height .35s ease, background .35s ease;
}

body.cursor-hover .cursor-follower {
    width: 70px;
    height: 70px;
    background: rgba(214,182,106,.08);
}

.hero-cursor {
    position: fixed;
    width: 84px;
    height: 84px;
    left: 0;
    top: 0;
    z-index: 9997;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .5s ease;
}

.hero-cursor.active {
    opacity: 1;
}

.hero-cursor-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(214,182,106,.65);
    border-radius: 50%;
    animation: heroCursorPulse 2s ease-in-out infinite;
}

.hero-cursor-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes heroCursorPulse {
    0%, 100% {
        transform: scale(.9);
        opacity: .5;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 500;
    pointer-events: none;
}

.brand-mark,
.nav-right {
    pointer-events: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
}

.brand-mark img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform .35s ease;
}

.brand-mark:hover img {
    transform: scale(1.06);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-double-slash {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-double-slash span {
    display: block;
    width: 2px;
    height: 26px;
    background: var(--gold);
    transform: skewX(-18deg);
}

.nav-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.nav-name {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--white);
    line-height: 1.1;
}

.nav-role {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--gold);
    line-height: 1.1;
}

/* =========================================================
   HERO 3D GAME SECTION
========================================================= */

.hero-game-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #14110b 0%, #030303 68%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
}

#hero-game-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
}

.video-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, transparent 38%, rgba(0,0,0,.78) 100%),
        linear-gradient(0deg, rgba(3,3,3,.92) 0%, transparent 25%, transparent 80%, rgba(3,3,3,.65) 100%);
}

.film-grain {
    position: absolute;
    inset: -50%;
    z-index: 4;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grainMove .2s steps(2) infinite;
}

@keyframes grainMove {
    0% { transform: translate(0,0); }
    25% { transform: translate(2%,-1%); }
    50% { transform: translate(-1%,2%); }
    75% { transform: translate(1%,1%); }
    100% { transform: translate(-2%,-1%); }
}

.game-hero-copy {
    position: relative;
    z-index: 15;
    margin-top: 26px;
    text-align: center;
    pointer-events: none;
    padding: 0 20px;
}

.game-title-wrap h1 {
    font-size: clamp(1.9rem, 2.9vw, 3rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--white);
}

.game-title-wrap em {
    font-family: var(--serif);
    color: var(--gold);
    font-weight: 400;
    letter-spacing: -.02em;
}

/* =========================================================
   CENTER "PLAY GAME" LAUNCH OVERLAY
========================================================= */

.game-start-overlay {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 25;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.game-start-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -55%) scale(0.94);
}

.start-badge-card {
    background: rgba(8, 8, 8, 0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(214, 182, 106, 0.45);
    padding: 26px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
    text-align: center;
}

.start-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--gold);
}

.play-game-cta {
    background: var(--gold);
    color: #050505;
    border: 1px solid var(--gold);
    padding: 14px 34px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(214, 182, 106, 0.35);
}

.play-game-cta:hover {
    background: #e7ca82;
    transform: scale(1.04);
    box-shadow: 0 0 42px rgba(214, 182, 106, 0.6);
}

.play-icon {
    font-size: 12px;
}

.start-hint {
    font-size: 12px;
    color: #b8b3a8;
    letter-spacing: 0.02em;
}

.start-hint strong {
    color: var(--white);
    font-family: var(--mono);
    font-weight: 400;
}

/* =========================================================
   SIDE SCROLL BUTTON FOR WORKS
========================================================= */

.side-scroll-cue {
    position: absolute;
    right: 36px;
    bottom: 168px;
    z-index: 22;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbc6bc;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    transition: all 0.3s ease;
}

.side-scroll-cue i {
    font-style: normal;
    color: var(--gold);
    font-size: 13px;
    transition: transform 0.3s ease;
}

.side-scroll-cue:hover {
    border-color: var(--gold);
    color: var(--white);
}

.side-scroll-cue:hover i {
    transform: translateY(3px);
}

/* =========================================================
   BOTTOM GAME CONSOLE
========================================================= */

.game-hud {
    position: relative;
    z-index: 20;
    width: min(1160px, calc(100% - 72px));
    margin: 0 auto 22px;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    padding: 16px 24px 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.hud-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.hud-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.round-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(214, 182, 106, 0.11);
    border: 1px solid rgba(214, 182, 106, 0.45);
    padding: 8px 14px;
}

.round-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
}

#round-readout {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--white);
}

.diff-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    color: #9e9990;
}

.stat-value {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--gold);
}

.stat-value span {
    font-size: 10px;
    color: #9e9990;
}

.stat-divider {
    width: 1px;
    height: 26px;
    background: var(--line);
}

.hud-controls-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hud-micro-guide {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #c7c2b8;
}

.keyframe-btn {
    background: rgba(214, 182, 106, 0.15);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .13em;
    transition: all .22s ease;
    white-space: nowrap;
}

.keyframe-btn:hover,
.keyframe-btn.ready-hit {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 25px rgba(214, 182, 106, 0.5);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: heroCursorPulse 1.2s infinite;
}

.keyframe-btn:hover .pulse-dot,
.keyframe-btn.ready-hit .pulse-dot {
    background: #000;
}

.timeline-wrapper {
    position: relative;
    padding: 6px 0 2px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.timeline-track {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 5px;
    height: 32px;
    align-items: center;
}

.frame-cell {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 9px;
    color: #77736d;
    transition: transform .2s ease, background .25s ease, border-color .25s ease;
}

.frame-cell.filled {
    background: rgba(214, 182, 106, 0.15);
    border-color: rgba(214, 182, 106, 0.42);
    color: var(--gold);
}

.frame-cell.missing {
    background: rgba(217, 83, 79, 0.22);
    border: 1px dashed var(--gold);
    color: var(--white);
    font-weight: 500;
    animation: missingPulse 1s ease-in-out infinite;
}

.frame-cell.just-locked {
    background: var(--gold) !important;
    color: #000 !important;
    transform: scaleY(1.2);
}

@keyframes missingPulse {
    0%, 100% {
        box-shadow: inset 0 0 0 rgba(214,182,106,0);
    }
    50% {
        box-shadow: inset 0 0 14px rgba(214,182,106,.55);
    }
}

.timeline-playhead {
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 0%;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 12px #fff, 0 0 20px var(--gold);
    pointer-events: none;
    z-index: 10;
}

/* =========================================================
   ROUND COMPLETE MODAL
========================================================= */

.round-complete-Modal {
    position: absolute;
    inset: 0;
    z-index: 40;
    background: rgba(3, 3, 3, 0.84);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
    padding: 20px;
}

.round-complete-Modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    max-width: 520px;
    width: 100%;
    background: #090909;
    border: 1px solid rgba(214, 182, 106, 0.55);
    padding: 42px 38px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0,0,0,.95);
}

.modal-round-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border: 1px solid rgba(214, 182, 106, 0.4);
    background: rgba(214, 182, 106, 0.1);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.modal-card h3 {
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1.05;
    color: var(--white);
}

.modal-card h3 em {
    font-family: var(--serif);
    color: var(--gold);
    font-style: italic;
}

.modal-card p {
    margin: 16px auto 30px;
    color: #b5b0a6;
    font-size: 14px;
    line-height: 1.65;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    transition: all .3s ease;
}

.modal-btn i {
    font-style: normal;
    font-size: 14px;
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(214, 182, 106, 0.55);
    color: var(--gold);
}

.modal-btn-secondary:hover {
    background: rgba(214, 182, 106, 0.18);
    color: var(--white);
}

.modal-btn-primary {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #050505;
}

.modal-btn-primary span,
.modal-btn-primary i {
    color: #050505;
    font-weight: 600;
}

.modal-btn-primary:hover {
    background: #e5c87e;
    border-color: #e5c87e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214, 182, 106, 0.35);
}

/* =========================================================
   6 LAUREL AWARDS SECTION
========================================================= */

.awards-laurel-section {
    position: relative;
    width: 100%;
    background: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 56px 24px;
    z-index: 25;
}

.laurel-full-grid {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 132px;
    gap: 12px;
    align-items: center;
    justify-items: center;
}

.laurel-card {
    width: 100%;
    height: 132px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    margin: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.laurel-wreath-wrap {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.laurel-branch {
    width: 42px;
    height: 102px;
    flex-shrink: 0;
    color: rgba(214, 182, 106, 0.85);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.4s ease,
        filter 0.4s ease;
    animation: laurelGentleSway 4.2s ease-in-out infinite;
}

.branch-left {
    transform-origin: 80% 88%;
}

.branch-right {
    transform-origin: 20% 88%;
    animation-delay: 0.4s;
}

@keyframes laurelGentleSway {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-2deg);
    }
}

.laurel-card:hover {
    transform: translateY(-6px);
}

.laurel-card:hover .branch-left {
    transform: rotate(-11deg) translateX(-4px) scale(1.06);
    color: var(--gold);
    filter: drop-shadow(0 0 14px rgba(214, 182, 106, 0.55));
}

.laurel-card:hover .branch-right {
    transform: rotate(11deg) translateX(4px) scale(1.06);
    color: var(--gold);
    filter: drop-shadow(0 0 14px rgba(214, 182, 106, 0.55));
}

.laurel-center-text {
    height: 86px;
    min-width: 108px;
    max-width: 145px;
    display: grid;
    grid-template-rows: 16px 46px 16px;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: 0 2px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.laurel-card:hover .laurel-center-text {
    transform: scale(1.04);
}

.laurel-status {
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--gold);
    line-height: 1;
    white-space: nowrap;
}

.laurel-festival {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laurel-place {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.15em;
    color: #a8a39a;
    line-height: 1;
    white-space: nowrap;
}

/* =========================================================
   HORIZONTAL SELECTED WORKS (16:9 ROUNDED BOXES)
========================================================= */

.horizontal-section {
    position: relative;
    background: #030303;
    overflow: hidden;
}

.horizontal-container {
    display: flex;
    width: 400vw;
    height: 100vh;
    will-change: transform;
}

.panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 7vw 50px;
}

.panel-content {
    position: relative;
    z-index: 2;
    width: min(1250px, 100%);
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 8vw;
    align-items: center;
}

.panel-text {
    max-width: 440px;
}

.project-category {
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
}

.panel-text h2 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 300;
    line-height: .95;
    letter-spacing: -.065em;
}

.panel-text h2 span {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.panel-desc {
    max-width: 360px;
    margin-top: 26px;
    color: #9e9990;
    font-size: 14px;
    line-height: 1.7;
}

.project-btn-group {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-bottom: 10px;
    border: 0;
    border-bottom: 1px solid rgba(214,182,106,.45);
    background: transparent;
    color: var(--white);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
}

.project-link i {
    color: var(--gold);
    font-style: normal;
    font-size: 15px;
    transition: transform .4s ease;
}

.project-link:hover i {
    transform: translate(5px,-5px);
}

.image-box-link {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    background: #070707;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 40px 100px rgba(0,0,0,.7);
}

.project-image {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}

/* ഇമേജിനും വീഡിയോയ്ക്കും ഒരേപോലെയുള്ള റെസ്പോൺസീവ് സ്റ്റൈലുകൾ */
.project-image img,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    filter: saturate(.88);
    pointer-events: none; /* വീഡിയോയിൽ ക്ലിക്ക് ചെയ്താലും കൃത്യമായി ലിങ്ക് ഓപ്പൺ ആകും */
    transition:
        transform 1s cubic-bezier(.16,1,.3,1),
        filter .7s ease;
}

.image-box-link:hover .project-image img,
.image-box-link:hover .project-image video {
    transform: scale(1.05);
    filter: saturate(1);
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.22);
    opacity: 0;
    transition: opacity .5s ease;
}

.image-box-link:hover .play-overlay {
    opacity: 1;
}

.play-circle {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    transition:
        transform .5s ease,
        background .4s ease;
}

.image-box-link:hover .play-circle {
    transform: scale(1.12);
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* INLINE VIDEO EMBED PLAYER INSIDE PROJECT 02 */

.inline-video-player {
    position: absolute;
    inset: 0;
    z-index: 35;
    border-radius: inherit;
    overflow: hidden;
    background: #000;
    display: none;
    flex-direction: column;
}

.inline-video-player.active {
    display: flex;
}

.video-top-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 40;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vid-ctrl-btn {
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 8px 13px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.vid-ctrl-btn:hover {
    background: var(--gold);
    color: #000;
}

.iframe-mount {
    width: 100%;
    height: 100%;
}

.iframe-mount iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* NEWS & MEDIA SLIDESHOW INSIDE PROJECT 04 */

.news-slides-wrap {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}

.news-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.85s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
}

.news-slide.active {
    opacity: 1;
}

.news-slide-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.65);
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.news-dot.active {
    background: var(--gold);
    transform: scale(1.25);
}

.horizontal-progress {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    width: 180px;
    height: 2px;
    background: rgba(255,255,255,.12);
    z-index: 20;
}

.horizontal-progress span {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--gold);
}

/* =========================================================
   BIG SCREEN VIDEO MODAL & NEWS LIGHTBOX MODAL
========================================================= */

.cinema-modal {
    position: fixed;
    inset: 0;
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 28px;
}

.cinema-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.cinema-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 2, 0.92);
    backdrop-filter: blur(14px);
}

.cinema-modal-Box {
    position: relative;
    z-index: 2;
    width: min(1180px, 94vw);
    background: #070707;
    border: 1px solid rgba(214, 182, 106, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
}

.cinema-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b0b0b;
}

.cinema-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cinema-modal-title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--gold);
}

.cinema-close-btn {
    background: rgba(214, 182, 106, 0.15);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 7px 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.cinema-close-btn:hover {
    background: var(--gold);
    color: #000;
}

.cinema-iframe-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.cinema-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* NEWS LIGHTBOX STAGE */

.news-lightbox-box {
    width: min(1020px, 94vw);
}

.news-lightbox-stage {
    position: relative;
    width: 100%;
    height: min(78vh, 760px);
    background: #040404;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 64px;
}

#news-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.news-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(214, 182, 106, 0.5);
    background: rgba(10, 10, 10, 0.88);
    color: var(--gold);
    font-size: 24px;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
}

.news-nav-btn:hover {
    background: var(--gold);
    color: #000;
}

.news-nav-btn.prev {
    left: 14px;
}

.news-nav-btn.next {
    right: 14px;
}

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

.about-section {
    padding: 160px 0;
    background: #050505;
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8vw;
    align-items: start;
}

.about-heading h2 {
    max-width: 100%;
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.about-heading h2 em {
    font-family: var(--serif);
    color: var(--gold);
    font-weight: 400;
}

.about-right {
    max-width: 620px;
}

.portrait-frame {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
    margin-bottom: 48px;
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,.1);
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
    transition:
        transform 1.2s cubic-bezier(.16,1,.3,1),
        filter .7s ease;
}

.portrait-frame:hover img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.about-copy {
    max-width: 540px;
}

.large-copy {
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    font-weight: 300;
    line-height: 1.38;
    color: #dedbd4;
}

.about-copy p:not(.large-copy) {
    margin-top: 22px;
    color: #9e9990;
    line-height: 1.8;
    font-size: 15px;
}

.hidden-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height .8s ease,
        opacity .5s ease;
}

.hidden-text.expanded {
    max-height: 700px;
    opacity: 1;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 38px;
}

.text-btn {
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.text-btn i {
    font-style: normal;
    color: var(--gold);
    font-size: 18px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    border: 1px solid rgba(214,182,106,.5);
    background: transparent;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    transition: all .3s ease;
}

.premium-btn:hover {
    background: var(--gold);
    color: #000;
}

.premium-btn i {
    font-style: normal;
}

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

.projects-statement {
    padding: 170px 0;
    background: #020202;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.projects-statement-title {
    font-size: clamp(4rem, 10vw, 11rem);
    font-weight: 300;
    line-height: .85;
    letter-spacing: -.08em;
}

.projects-statement-title span {
    display: block;
}

.projects-statement-title em {
    display: block;
    margin-left: 15vw;
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
}

.projects-statement-copy {
    max-width: 450px;
    margin: 60px 0 36px auto;
    color: #9e9990;
    font-size: 15px;
    line-height: 1.75;
}

.projects-arrow {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--white);
}

.projects-arrow i {
    color: var(--gold);
    font-size: 18px;
    font-style: normal;
}

/* =========================================================
   CLIENTS
========================================================= */

.clients-section {
    padding: 160px 0;
    background: #000;
}

.clients-title {
    margin: 0 0 90px;
    font-size: clamp(3.5rem, 7vw, 8rem);
    font-weight: 300;
    line-height: .9;
    letter-spacing: -.07em;
}

.clients-title span {
    display: block;
    color: #66625d;
}

.clients-title em {
    display: block;
    font-family: var(--serif);
    color: var(--gold);
    font-weight: 400;
}

.minimal-clients {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.minimal-clients span {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #8e8a84;
    font-size: 16px;
    transition:
        color .4s ease,
        background .4s ease;
}

.minimal-clients span:hover {
    color: var(--gold);
    background: #070707;
}

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

.footer {
    min-height: 82vh;
    padding: 60px 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #030303;
    border-top: 1px solid var(--line);
}

.footer-title {
    margin: auto 0;
    font-size: clamp(6.5rem, 19vw, 20rem);
    font-weight: 300;
    line-height: .72;
    letter-spacing: -.09em;
}

.footer-title span {
    display: block;
}

.footer-title em {
    display: block;
    margin-left: 12vw;
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: #9e9990;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--white);
    transition: color .3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* =========================================================
   RESPONSIVE (TABLET & MOBILE)
========================================================= */

@media (max-width: 1280px) {
    .laurel-branch {
        width: 34px;
        height: 88px;
    }

    .laurel-center-text {
        min-width: 96px;
    }

    .laurel-festival {
        font-size: 12px;
    }
}

@media (max-width: 1120px) {
    .hud-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hud-stats {
        justify-content: space-between;
    }

    .hud-controls-right {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    body, a, button {
        cursor: auto;
    }

    .cursor,
    .cursor-follower,
    .hero-cursor {
        display: none;
    }

    .container {
        width: calc(100% - 40px);
    }

    .navbar {
        padding: 16px 20px;
    }

    .brand-mark img {
        height: 34px;
    }

    .nav-name {
        font-size: 10px;
    }

    .nav-role {
        font-size: 8px;
        letter-spacing: .08em;
    }

    .nav-double-slash span {
        height: 20px;
    }

    .game-hero-copy {
        margin-top: 74px;
    }

    .start-badge-card {
        padding: 20px 24px;
        width: calc(100vw - 48px);
    }

    .side-scroll-cue {
        right: 16px;
        bottom: 195px;
        padding: 8px 12px;
        font-size: 9px;
    }

    .game-hud {
        width: calc(100% - 24px);
        padding: 14px;
        margin-bottom: 12px;
    }

    .hud-controls-right {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hud-micro-guide {
        text-align: center;
        font-size: 9px;
    }

    .keyframe-btn {
        width: 100%;
        justify-content: center;
    }

    .timeline-track {
        gap: 2px;
        height: 26px;
    }

    .frame-cell {
        font-size: 7px;
    }

    .awards-laurel-section {
        padding: 36px 8px;
    }

    .laurel-full-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 96px;
        gap: 16px 4px;
        align-items: center;
        justify-items: center;
    }

    .laurel-card {
        height: 96px;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .laurel-wreath-wrap {
        height: 88px;
        align-items: center;
        justify-content: center;
        gap: 1px;
    }

    .laurel-branch {
        width: 21px;
        height: 68px;
    }

    .laurel-center-text {
        height: 72px;
        min-width: 62px;
        max-width: 86px;
        grid-template-rows: 12px 38px 12px;
        align-items: center;
        justify-items: center;
    }

    .laurel-status {
        font-size: 5.8px;
        letter-spacing: 0.06em;
    }

    .laurel-festival {
        font-size: 9px;
        line-height: 1.12;
    }

    .laurel-place {
        font-size: 6px;
        letter-spacing: 0.08em;
    }

    .horizontal-container {
        display: block;
        width: 100%;
        height: auto;
    }

    .panel {
        width: 100%;
        min-height: auto;
        height: auto;
        padding: 90px 20px 60px;
    }

    .panel-content {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .panel-text h2 {
        font-size: clamp(2.8rem, 13vw, 5rem);
    }

    .image-box-link {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
        margin: 0 auto;
    }

    .play-overlay {
        opacity: 1;
    }

    .video-top-controls {
        top: 8px;
        right: 8px;
        gap: 6px;
    }

    .vid-ctrl-btn {
        padding: 6px 10px;
        font-size: 9px;
    }

    .news-lightbox-stage {
        padding: 14px 44px;
        height: 65vh;
    }

    .about-section {
        padding: 100px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portrait-frame {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 36px;
    }

    .projects-statement {
        padding: 110px 0;
    }

    .projects-statement-title {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .projects-statement-copy {
        margin: 40px 0 30px;
    }

    .projects-arrow {
        justify-content: flex-start;
    }

    .clients-section {
        padding: 100px 0;
    }

    .minimal-clients {
        grid-template-columns: repeat(2,1fr);
    }

    .footer {
        min-height: 70vh;
        padding: 40px 20px 25px;
    }

    .footer-title {
        font-size: clamp(5rem, 23vw, 9.5rem);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}