/* ========================================
   LANDING PAGE — Premium Dark Theme
   ======================================== */

:root {
    --bg-primary: #06060b;
    --bg-secondary: #0c0c14;
    --accent-gold: #c8a45e;
    --accent-gold-light: #e8d5a0;
    --accent-blue: #4a6cf7;
    --text-primary: #f8f8fb;
    --text-secondary: #c8cadb;
    --text-muted: #9598b3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Language Toggle ---- */
.lang-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 0.4rem 0.5rem;
    display: flex;
    gap: 0.25rem;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lang-toggle:hover {
    border-color: var(--accent-gold);
    background: rgba(200, 164, 94, 0.06);
}

.lang-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.lang-toggle span.lang-active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
}

/* ---- Colorful Animated High-Performance Background ---- */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #090e24 0%, #0d163a 50%, #070b1c 100%);
    pointer-events: none;
    transform: translateZ(0);
}

/* Floating Colorful Auras (Hardware Accelerated GPU) */
.color-aura {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: screen;
}

/* 1. Golden Amber Sun / Spotlight (Warm Luxury) */
.aura-gold {
    width: 620px;
    height: 620px;
    top: -8%;
    left: 22%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.44) 0%, rgba(217, 119, 6, 0.22) 38%, rgba(180, 83, 9, 0.05) 60%, transparent 75%);
    animation: auraFloatGold 18s ease-in-out infinite alternate;
}

/* 2. Vibrant Cyan / Teal Wave (Modern Tech) */
.aura-cyan {
    width: 680px;
    height: 680px;
    top: 25%;
    left: -12%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.42) 0%, rgba(14, 165, 233, 0.2) 40%, rgba(2, 132, 199, 0.05) 62%, transparent 75%);
    animation: auraFloatCyan 22s ease-in-out infinite alternate;
}

/* 3. Cosmic Purple / Magenta (Creative Depth) */
.aura-purple {
    width: 650px;
    height: 650px;
    top: 15%;
    right: -10%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.38) 0%, rgba(192, 38, 211, 0.18) 42%, rgba(126, 34, 206, 0.04) 65%, transparent 75%);
    animation: auraFloatPurple 20s ease-in-out infinite alternate;
}

/* 4. Royal Electric Blue (Anchor) */
.aura-blue {
    width: 720px;
    height: 720px;
    bottom: -15%;
    right: 12%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, rgba(59, 130, 246, 0.18) 42%, rgba(29, 78, 216, 0.05) 65%, transparent 75%);
    animation: auraFloatBlue 24s ease-in-out infinite alternate;
}

@keyframes auraFloatGold {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
    100% { transform: translate3d(-50px, 80px, 0) scale(0.92); }
}

@keyframes auraFloatCyan {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(70px, -60px, 0) scale(1.15); }
    100% { transform: translate3d(40px, 50px, 0) scale(0.95); }
}

@keyframes auraFloatPurple {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-60px, 50px, 0) scale(1.14); }
    100% { transform: translate3d(-30px, -60px, 0) scale(0.94); }
}

@keyframes auraFloatBlue {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-50px, -40px, 0) scale(1.1); }
    100% { transform: translate3d(60px, -30px, 0) scale(0.96); }
}

/* Professional Blueprint Grid Overlay (Sleek CV matrix over colors) */
.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1.2px at 0 0, rgba(255, 255, 255, 0.45) 100%, transparent 100%),
        linear-gradient(to right, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px, 44px 44px;
    background-position: 0 0, 0 0, 0 0;
    mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 55%, transparent 100%);
    pointer-events: none;
    opacity: 0.75;
}

/* Soft cinematic edge darkening to keep text 100% sharp and readable */
.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(6, 9, 20, 0.55) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .aura-gold { width: 380px; height: 380px; left: 10%; }
    .aura-cyan { width: 400px; height: 400px; }
    .aura-purple { width: 380px; height: 380px; }
    .aura-blue { width: 420px; height: 420px; }
    .bg-grid-pattern { background-size: 30px 30px, 30px 30px, 30px 30px; opacity: 0.65; }
}

/* ---- Landing Container ---- */
.landing-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    gap: 1.5rem;
}

/* ---- Hanging Lanyard ID Badge ---- */
.lanyard-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
    z-index: 20;
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    user-select: none;
}

/* Ceiling Ribbon Straps (Extended to ceiling with zero cutoff) */
.lanyard-ribbon {
    position: relative;
    width: 64px;
    height: 65px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.ribbon-strap {
    position: absolute;
    bottom: 0;
    width: 15px;
    height: 120vh;
    min-height: 900px;
    background: linear-gradient(180deg, #090a10 0%, #131420 50%, #191a2a 100%);
    border-left: 1.5px solid rgba(200, 164, 94, 0.42);
    border-right: 1.5px solid rgba(200, 164, 94, 0.42);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.ribbon-strap.left {
    left: 17px;
    transform: rotate(2.4deg);
    transform-origin: bottom center;
}

.ribbon-strap.right {
    right: 17px;
    transform: rotate(-2.4deg);
    transform-origin: bottom center;
}

.ribbon-pattern {
    display: none;
}

/* Swinging Pendulum Assembly (Ultra-Smooth Fluid Physics) */
.lanyard-pendulum {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    animation: lanyardSwaySmooth 10s ease-in-out infinite;
    cursor: grab;
    will-change: transform;
}

.lanyard-pendulum:active {
    cursor: grabbing;
}

@keyframes lanyardSwaySmooth {
    0% {
        transform: rotate(0deg) rotateY(0deg) translateY(0px);
    }
    25% {
        transform: rotate(3deg) rotateY(4deg) translateY(-2px);
    }
    50% {
        transform: rotate(0deg) rotateY(0deg) translateY(0px);
    }
    75% {
        transform: rotate(-3deg) rotateY(-4deg) translateY(-2px);
    }
    100% {
        transform: rotate(0deg) rotateY(0deg) translateY(0px);
    }
}

/* Metallic Hardware */
.lanyard-hardware {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 12;
    margin-top: -6px;
}

.hardware-clasp {
    width: 24px;
    height: 11px;
    background: linear-gradient(180deg, #e5a93b 0%, #a47625 50%, #d4af37 100%);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hardware-swivel {
    width: 8px;
    height: 14px;
    background: linear-gradient(90deg, #888 0%, #eee 50%, #666 100%);
    border-radius: 2px;
    margin-top: -1px;
}

.hardware-ring {
    width: 22px;
    height: 14px;
    border: 3px solid #d4af37;
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* The Lanyard Card Body */
.lanyard-card {
    position: relative;
    width: 220px;
    background: linear-gradient(160deg, rgba(22, 22, 34, 0.92) 0%, rgba(12, 12, 20, 0.96) 100%);
    border: 1.5px solid rgba(200, 164, 94, 0.35);
    border-radius: 18px;
    padding: 1.25rem 1.1rem 1rem;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(200, 164, 94, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    margin-top: -4px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.lanyard-pendulum:hover .lanyard-card {
    border-color: var(--accent-gold);
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(200, 164, 94, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Badge Slot Hole */
.badge-slot-outer {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 7px;
    background: rgba(6, 6, 11, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-slot-hole {
    width: 26px;
    height: 4px;
    background: #000;
    border-radius: 3px;
}

/* Holographic Shimmer Overlays */
.card-shimmer {
    position: absolute;
    inset: -100%;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(200, 164, 94, 0.2) 50%,
        rgba(56, 189, 248, 0.15) 55%,
        transparent 70%
    );
    transform: rotate(-15deg);
    pointer-events: none;
    animation: holoSweep 7s ease-in-out infinite;
}

@keyframes holoSweep {
    0%, 100% { transform: translateY(-50%) rotate(-15deg); opacity: 0.3; }
    50% { transform: translateY(50%) rotate(-15deg); opacity: 0.85; }
}

.card-glare {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Badge Header */
.badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-logo {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

.badge-chip {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    background: rgba(200, 164, 94, 0.15);
    color: var(--accent-gold-light);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    border: 1px solid rgba(200, 164, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Photo Inside Badge */
.badge-photo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.badge-photo-frame {
    position: relative;
    width: 105px;
    height: 115px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(200, 164, 94, 0.4);
    background: #090910;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lanyard-pendulum:hover .badge-img {
    transform: scale(1.04);
}

.badge-photo-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 12px rgba(200, 164, 94, 0.25);
    pointer-events: none;
}

/* Badge Body Info */
.badge-body {
    text-align: center;
    margin-bottom: 0.65rem;
}

.badge-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    padding: 0 0.25rem;
}

.badge-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: 0.015em;
    text-align: center;
    word-break: normal;
}

.badge-verified {
    color: var(--accent-gold);
    font-size: 0.75rem;
    margin-left: 0.3rem;
    display: inline-block;
    vertical-align: middle;
}

.badge-role {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* Badge Footer with Barcode */
.badge-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-barcode {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 14px;
}

.badge-barcode span {
    display: inline-block;
    height: 100%;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.5);
}

.badge-barcode span:nth-child(even) {
    width: 2.5px;
    background: var(--accent-gold);
}

.badge-barcode span:nth-child(3n) {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.badge-code {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ---- Text Content ---- */
.text-content {
    text-align: center;
    max-width: 700px;
}

.greeting-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.15rem;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

.line-decor {
    width: 44px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--accent-gold));
    flex-shrink: 0;
}

.line-decor:last-child {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.greeting-text {
    font-family: var(--font-mono);
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-gold-light);
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(200, 164, 94, 0.35);
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.name-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold-light) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.typewriter-container {
    margin-bottom: 0.75rem;
    min-height: 2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.2s forwards;
}

.typewriter-text {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--accent-gold);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.typewriter-cursor {
    font-weight: 300;
    color: var(--accent-gold);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.4s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ---- Enter Button ---- */
.enter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
}

.enter-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(200, 164, 94, 0.3);
    border-radius: 100px;
    background: transparent;
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.enter-btn:hover {
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    box-shadow: 0 0 40px rgba(200, 164, 94, 0.15);
    transform: translateY(-2px);
}

.enter-btn:hover .btn-bg {
    transform: scaleX(1);
}

.enter-btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-icon {
    display: inline-flex;
    transition: transform 0.4s ease;
}

/* ---- Scroll Hint ---- */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 2.5s forwards;
}

.scroll-hint span {
    font-size: 0.76rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(200, 164, 94, 0.45);
    border-radius: 11px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ---- Cinematic Page Entry Veil ---- */
.page-entry {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
}

.entry-veil {
    position: absolute;
    inset: 0;
    background: #06060c;
    animation: veilDissolve 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes veilDissolve {
    0% {
        opacity: 1;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        visibility: hidden;
    }
}

/* ---- Cinematic Transition Overlay (Exit) ---- */
.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.transition-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.portal-veil {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(14, 16, 28, 0.96) 0%, rgba(6, 6, 12, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-emblem {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.transition-overlay.active .portal-emblem {
    transform: scale(1);
    opacity: 1;
}

.portal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(200, 164, 94, 0.35);
    border-top-color: var(--accent-gold);
    animation: portalSpin 1.2s linear infinite;
    box-shadow: 0 0 25px rgba(200, 164, 94, 0.25);
}

@keyframes portalSpin {
    to { transform: rotate(360deg); }
}

.portal-spark {
    font-size: 1.4rem;
    color: var(--accent-gold-light);
    filter: drop-shadow(0 0 10px rgba(200, 164, 94, 0.8));
    animation: portalPulse 1.5s ease-in-out infinite alternate;
}

@keyframes portalPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* ---- Reveal Animation ---- */
@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ---- Responsive Mobile & Tablet ---- */
@media (max-width: 768px) {
    body {
        overflow-y: auto !important;
        overflow-x: hidden;
    }

    .lang-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.35rem 0.6rem;
    }

    .landing-container {
        padding: 2rem 1.25rem 2.5rem;
        min-height: 100svh;
        justify-content: center;
        gap: 0.6rem;
    }

    .lanyard-scene {
        margin-top: 0;
        margin-bottom: 0.75rem;
        transform: scale(0.88);
        transform-origin: top center;
    }

    .line-decor {
        width: 25px;
    }

    .hero-name {
        font-size: clamp(2.1rem, 7.5vw, 3rem);
        margin-bottom: 0.4rem;
    }

    .typewriter-container {
        min-height: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .typewriter-text {
        font-size: clamp(0.95rem, 3.8vw, 1.2rem);
    }

    .hero-subtitle {
        font-size: 0.92rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .enter-wrapper {
        margin-top: 0.85rem;
        gap: 1.25rem;
    }

    .enter-btn {
        padding: 0.85rem 2rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .lanyard-scene {
        transform: scale(0.78);
        margin-bottom: 0.25rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .enter-btn {
        padding: 0.8rem 1.75rem;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }
}
