/* gabs.report - Frosted Shrine of Value */
/* Colors: #f0f4f8, #1a2332, #a8c4e0, #e8b4c8, #7ec8c8, #d4dde8, #0d1117, #d4e4f7, #e8edf2 */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0d1117;
    color: #e8edf2;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === GRADIENT MESH SVG BACKGROUND === */
#gradient-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    shape-rendering: optimizeSpeed;
}

.mesh-circle-1 {
    animation: meshDrift1 55s ease-in-out infinite alternate;
}

.mesh-circle-2 {
    animation: meshDrift2 72s ease-in-out infinite alternate;
}

.mesh-circle-3 {
    animation: meshDrift3 88s ease-in-out infinite alternate;
}

@keyframes meshDrift1 {
    0% { cx: 300; cy: 200; r: 500; }
    50% { cx: 500; cy: 600; r: 450; }
    100% { cx: 300; cy: 200; r: 500; }
}

@keyframes meshDrift2 {
    0% { cx: 700; cy: 600; r: 450; }
    50% { cx: 400; cy: 300; r: 500; }
    100% { cx: 700; cy: 600; r: 450; }
}

@keyframes meshDrift3 {
    0% { cx: 500; cy: 800; r: 550; }
    50% { cx: 600; cy: 400; r: 480; }
    100% { cx: 500; cy: 800; r: 550; }
}

/* === FROST OVERLAY === */
#frost-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    backdrop-filter: blur(40px) saturate(130%);
    -webkit-backdrop-filter: blur(40px) saturate(130%);
    background: rgba(13, 17, 23, 0.4);
}

/* === FROST GATE OVERLAY === */
#frost-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1117 0%, #1a2332 40%, #0d1117 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 3s ease-out,
                -webkit-backdrop-filter 3s ease-out;
}

#frost-gate.dissolving {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
}

.frost-gate-inner {
    position: relative;
    text-align: center;
}

.gate-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Libre Baskerville", serif;
    font-size: clamp(200px, 40vw, 400px);
    font-weight: 400;
    color: #e8b4c8;
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.frost-crystal {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(212, 228, 247, 0.15) 0%, transparent 70%);
    animation: crystalPulse 4s ease-in-out infinite;
}

.frost-crystal-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.frost-crystal-2 {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -120px;
    animation-delay: 1.3s;
    background: radial-gradient(ellipse at center, rgba(232, 180, 200, 0.12) 0%, transparent 70%);
}

.frost-crystal-3 {
    width: 250px;
    height: 250px;
    bottom: -130px;
    left: -50px;
    animation-delay: 2.6s;
    background: radial-gradient(ellipse at center, rgba(126, 200, 200, 0.1) 0%, transparent 70%);
}

@keyframes crystalPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.frost-gate-text {
    position: relative;
    z-index: 2;
}

.gate-korean {
    display: block;
    font-family: "Libre Baskerville", serif;
    font-size: clamp(64px, 12vw, 140px);
    font-weight: 400;
    color: #d4e4f7;
    letter-spacing: 0.04em;
    text-shadow: 0 0 40px rgba(212, 228, 247, 0.3), 0 0 80px rgba(212, 228, 247, 0.1);
    animation: gateKoreanFadeIn 2s ease-out 2s forwards;
    opacity: 0;
}

.gate-domain {
    display: block;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 228, 247, 0.5);
    margin-top: 16px;
    animation: gateTextFadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes gateTextFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gateKoreanFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.3; transform: translateY(0); }
}

/* === FROST CANVAS === */
#frost-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    transform: translateZ(0);
    will-change: transform;
}

/* === MAIN COLUMN === */
#main-column {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 80px);
}

/* === SECTIONS === */
.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
}

.section-content,
.card-content {
    position: relative;
    z-index: 2;
}

/* === VALUE CARDS (Frosted Glass Panels) === */
.value-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: clamp(32px, 5vw, 56px);
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
}

.value-card-section {
    margin: 15vh 0;
}

/* === SCROLL REVEAL === */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === FILIGREE (Abstract-Tech Lines) === */
.filigree {
    position: absolute;
    pointer-events: none;
    overflow: visible;
}

.filigree-top-right {
    top: -20px;
    right: -40px;
}

.filigree-top-left {
    top: -15px;
    left: -35px;
}

.filigree-bottom-right {
    bottom: -15px;
    right: -30px;
}

.filigree-bottom-left {
    bottom: -20px;
    left: -35px;
}

.filigree-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card[data-revealed="true"] .filigree-path {
    stroke-dashoffset: 0;
}

/* === GRADIENT MESH PANELS === */
.gradient-mesh-panel {
    position: absolute;
    top: 10%;
    left: -100px;
    right: -100px;
    bottom: 10%;
    z-index: 0;
    border-radius: 24px;
    pointer-events: none;
    will-change: transform;
}

.mesh-panel-1 {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(212, 228, 247, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(232, 180, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 196, 224, 0.06) 0%, transparent 70%);
}

.mesh-panel-2 {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(126, 200, 200, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 228, 247, 0.08) 0%, transparent 60%),
        conic-gradient(from 180deg at 50% 50%, rgba(232, 180, 200, 0.05) 0%, transparent 25%, rgba(168, 196, 224, 0.04) 50%, transparent 75%);
}

.mesh-panel-3 {
    background:
        radial-gradient(ellipse at 60% 40%, rgba(232, 180, 200, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(212, 228, 247, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(126, 200, 200, 0.08) 0%, transparent 55%);
}

.mesh-panel-4 {
    background:
        radial-gradient(ellipse at 40% 60%, rgba(168, 196, 224, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(126, 200, 200, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 20%, rgba(232, 180, 200, 0.08) 0%, transparent 55%);
}

.mesh-panel-5 {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(212, 228, 247, 0.08) 0%, transparent 70%);
}

.mesh-panel-6 {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(232, 180, 200, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(126, 200, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 196, 224, 0.06) 0%, transparent 60%);
}

.mesh-panel-archive {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(26, 35, 50, 0.3) 0%, transparent 70%);
}

.mesh-panel-7 {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(212, 228, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 70%, rgba(232, 180, 200, 0.06) 0%, transparent 60%);
}

/* === HEADER === */
.frost-header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content {
    position: relative;
    z-index: 2;
}

.domain-title {
    font-family: "Libre Baskerville", serif;
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.chrome-text {
    background: linear-gradient(170deg, #d4dde8 0%, #f0f4f8 30%, #a8c4e0 45%, #f0f4f8 55%, #e8b4c8 70%, #f0f4f8 85%, #d4dde8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: chromeShift 8s ease-in-out infinite alternate;
}

@keyframes chromeShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.chrome-dot {
    color: #e8b4c8;
    font-family: "Libre Baskerville", serif;
}

.subtitle-korean {
    font-family: "Libre Baskerville", serif;
    font-size: clamp(16px, 3vw, 28px);
    font-weight: 400;
    color: rgba(212, 228, 247, 0.6);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.subtitle-english {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 221, 232, 0.4);
}

/* === SECTION TITLES === */
.section-title {
    font-family: "Libre Baskerville", serif;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #d4e4f7;
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 0 30px rgba(212, 228, 247, 0.15);
}

/* === FROST DIVIDER === */
.frost-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 228, 247, 0.4), rgba(232, 180, 200, 0.3), transparent);
    margin-bottom: 32px;
}

/* === BODY TEXT (Cormorant Garamond) === */
.body-text {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 300;
    line-height: 1.75;
    color: #d4dde8;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

/* === CAPTION TEXT (IBM Plex Sans) === */
.caption-text {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(168, 196, 224, 0.6);
    margin-top: 24px;
}

/* === CHROME CARD === */
.chrome-card {
    position: relative;
    border: 1px solid rgba(212, 228, 247, 0.1);
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(212, 228, 247, 0.08) 0%, rgba(232, 180, 200, 0.04) 50%, rgba(126, 200, 200, 0.06) 100%);
    overflow: hidden;
}

.chrome-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(212, 228, 247, 0.06) 10%, transparent 20%);
    animation: cardRotate 12s linear infinite;
    pointer-events: none;
}

@keyframes cardRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chrome-card-inner {
    position: relative;
    z-index: 1;
    background: rgba(13, 17, 23, 0.6);
    border-radius: 14px;
    padding: clamp(24px, 4vw, 48px);
}

.chrome-symbol {
    display: block;
    font-size: 32px;
    color: #e8b4c8;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(232, 180, 200, 0.3);
}

/* === AURORA CONTAINER === */
.aurora-container {
    position: relative;
    width: 100%;
    height: clamp(200px, 40vw, 400px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 8px;
}

.aurora-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aurora-layer-1 {
    background: radial-gradient(ellipse at 30% 40%, rgba(212, 228, 247, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(126, 200, 200, 0.15) 0%, transparent 50%);
    animation: auroraShift1 8s ease-in-out infinite alternate;
}

.aurora-layer-2 {
    background: radial-gradient(ellipse at 60% 30%, rgba(232, 180, 200, 0.15) 0%, transparent 55%),
                radial-gradient(ellipse at 25% 70%, rgba(168, 196, 224, 0.12) 0%, transparent 50%);
    mix-blend-mode: screen;
    animation: auroraShift2 10s ease-in-out infinite alternate;
}

.aurora-layer-3 {
    background: conic-gradient(from 120deg at 50% 50%, rgba(212, 228, 247, 0.08) 0%, transparent 15%, rgba(126, 200, 200, 0.06) 30%, transparent 45%, rgba(232, 180, 200, 0.05) 60%, transparent 75%);
    mix-blend-mode: screen;
    animation: auroraShift3 12s ease-in-out infinite alternate;
}

.aurora-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(13, 17, 23, 0.2);
}

@keyframes auroraShift1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -15px) scale(1.05); }
}

@keyframes auroraShift2 {
    0% { transform: translate(0, 0) scale(1.02); }
    100% { transform: translate(-15px, 10px) scale(0.98); }
}

@keyframes auroraShift3 {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(15deg) scale(1.1); }
}

/* === REFLECTION POOL === */
.reflection-pool {
    max-width: 800px;
}

/* === MA SPACE === */
.ma-space {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    margin: 40px 0;
}

.ma-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #d4e4f7 0%, rgba(212, 228, 247, 0.4) 60%, transparent 100%);
    box-shadow: 0 0 20px rgba(212, 228, 247, 0.3), 0 0 60px rgba(212, 228, 247, 0.1);
    will-change: transform;
}

/* === ARCHIVE DESCENT === */
.archive-descent {
    color: #e8edf2;
}

.archive-text-section {
    max-width: 520px;
    margin: 0 auto;
}

.archive-body {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 300;
    line-height: 1.75;
    color: #e8edf2;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

/* === REGISTRY === */
.registry-entries {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registry-entry {
    display: flex;
    align-items: baseline;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.registry-entry.entry-visible {
    opacity: 1;
    transform: translateY(0);
}

.registry-label {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 400;
    color: #d4dde8;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.registry-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 228, 247, 0.2), rgba(232, 180, 200, 0.15), rgba(212, 228, 247, 0.05));
    min-width: 20px;
}

.registry-value {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232, 180, 200, 0.7);
    white-space: nowrap;
}

/* === CLOSING FROST === */
.closing-frost {
    text-align: center;
    min-height: 80vh;
}

.closing-seal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(170deg, rgba(212, 221, 232, 0.08) 0%, rgba(168, 196, 224, 0.04) 50%, rgba(232, 180, 200, 0.06) 100%);
    border: 1px solid rgba(212, 228, 247, 0.1);
    opacity: 0.4;
}

.seal-character {
    font-family: "Libre Baskerville", serif;
    font-size: 24px;
    font-weight: 400;
    background: linear-gradient(170deg, #d4dde8 0%, #f0f4f8 30%, #a8c4e0 50%, #e8b4c8 70%, #d4dde8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: chromeShift 8s ease-in-out infinite alternate;
}

.closing-text {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 228, 247, 0.5);
    margin-bottom: 8px;
}

.closing-year {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(212, 221, 232, 0.25);
}

/* === SELECTION === */
::selection {
    background: rgba(232, 180, 200, 0.25);
    color: #f0f4f8;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0d1117;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 228, 247, 0.15);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 228, 247, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
    .section {
        min-height: auto;
        padding: 80px 0;
    }
    .frost-header {
        min-height: 100vh;
    }
    .gradient-mesh-panel {
        left: -40px;
        right: -40px;
    }
    .ma-space {
        height: 100px;
    }
    .value-card {
        padding: clamp(20px, 4vw, 32px);
    }
    .filigree {
        display: none;
    }
}
