/* ========================================
   NekoDev Studio — Portfolio Site
   Apple-inspired, Black & White Base
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-surface: #111111;
    --color-surface-hover: #1a1a1a;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-tertiary: rgba(255, 255, 255, 0.35);
    --color-accent: #ffffff;
    --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --section-padding: clamp(80px, 12vh, 160px);
    --container-width: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);
}

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

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* --- Utilities --- */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-text-primary);
    color: var(--color-bg);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--color-border-hover);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-secondary:hover {
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

/* ========================================
   Navigation
   ======================================== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--container-padding);
    transition: all 0.5s var(--ease-out-expo);
}

#main-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transition: opacity 0.5s;
}

#main-nav.scrolled::before {
    opacity: 1;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu button */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.nav-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 var(--container-padding);
}

.hero-overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s 0.2s var(--ease-out-expo) forwards;
}

.hero-overline span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.overline-line {
    width: 40px;
    height: 1px;
    background: var(--color-text-tertiary);
}

.hero-title {
    font-size: clamp(48px, 12vw, 140px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(120%);
    animation: revealUp 1.2s calc(var(--delay) * 0.15s + 0.3s) var(--ease-out-expo) forwards;
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s 0.9s var(--ease-out-expo) forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s 1.1s var(--ease-out-expo) forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll-indicator span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-tertiary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    padding-top: var(--section-padding);
}

.section-header {
    margin-bottom: 80px;
}

/* Product Showcase */
.product-showcase {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}

.product-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.03), transparent 70%);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-info {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.product-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.product-name {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.product-tagline {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.feature-icon-small {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.feature-icon-small svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--color-text-primary);
    color: var(--color-bg);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
}

.store-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-btn-small {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    opacity: 0.8;
}

.store-btn-big {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Phone Mockup */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s 0.2s var(--ease-out-expo);
}

.product-visual.visible {
    opacity: 1;
    transform: translateY(0);
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(255, 255, 255, 0.03);
    transition: transform 0.6s var(--ease-out-expo);
}

.phone-frame:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #222;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 50%);
    pointer-events: none;
}

/* Coming Soon */
.coming-soon-section {
    padding: 40px 0 var(--section-padding);
}

.coming-soon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.coming-soon-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.coming-soon-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
    display: block;
}

.coming-soon-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.coming-soon-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.coming-soon-visual {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    animation: pulseRing 3s calc(var(--ring-delay, 0s)) ease-out infinite;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--color-text-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy-section {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--color-border);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out-expo);
}

.philosophy-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.philosophy-card:nth-child(2).visible { transition-delay: 0.1s; }
.philosophy-card:nth-child(3).visible { transition-delay: 0.2s; }

.philosophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.card-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1;
}

.philosophy-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.philosophy-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: var(--section-padding) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.contact-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    font-size: 15px;
    font-weight: 500;
}

.contact-link:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
    transform: translateY(-4px);
}

.contact-link svg {
    flex-shrink: 0;
}

.link-arrow {
    opacity: 0.4;
    transition: all 0.3s;
}

.contact-link:hover .link-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* ========================================
   Animations
   ======================================== */
@keyframes revealUp {
    to {
        transform: translateY(0);
    }
}

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

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-visual {
        order: -1;
    }

    .phone-frame {
        width: 220px;
        height: 460px;
        border-radius: 32px;
    }

    .phone-notch {
        width: 90px;
        height: 22px;
        border-radius: 0 0 12px 12px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .coming-soon-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        gap: 40px;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        justify-content: center;
        text-align: center;
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-btn {
        justify-content: center;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .coming-soon-card {
        padding: 32px;
    }
}

/* ========================================
   Scroll Reveal Classes
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Selection & Scrollbar
   ======================================== */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Loader Styling */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0f19; /* Premium dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}
#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    text-align: center;
}
.cat-running {
    position: relative;
    width: 80px;
    height: 40px;
    margin: 0 auto 24px;
}
.cat-body {
    position: absolute;
    top: 10px;
    left: 15px;
    width: 45px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 9px;
    animation: cat-body-bounce 0.4s infinite alternate ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.cat-head {
    position: absolute;
    top: 2px;
    left: 46px;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: cat-head-bob 0.4s infinite alternate ease-in-out;
}
.cat-ears {
    position: relative;
    width: 100%;
    height: 100%;
}
.cat-ear {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 7px solid #ffffff;
}
.cat-ear.left {
    top: -4px;
    left: 3px;
    transform: rotate(-15deg);
}
.cat-ear.right {
    top: -4px;
    left: 11px;
    transform: rotate(15deg);
}
.cat-tail {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 16px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 3px;
    transform-origin: right center;
    animation: cat-tail-wag 0.4s infinite alternate ease-in-out;
}
.cat-legs {
    position: relative;
    width: 100%;
    height: 100%;
}
.cat-leg {
    position: absolute;
    width: 4px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 2px;
    transform-origin: top center;
}
.cat-leg.front-left {
    top: 24px;
    left: 46px;
    animation: cat-leg-run-1 0.4s infinite linear;
}
.cat-leg.front-right {
    top: 24px;
    left: 40px;
    animation: cat-leg-run-2 0.4s infinite linear;
}
.cat-leg.back-left {
    top: 24px;
    left: 24px;
    animation: cat-leg-run-2 0.4s infinite linear;
}
.cat-leg.back-right {
    top: 24px;
    left: 18px;
    animation: cat-leg-run-1 0.4s infinite linear;
}
.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2px;
    font-weight: 500;
    animation: loader-text-pulse 1.5s infinite ease-in-out;
}
@keyframes cat-body-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}
@keyframes cat-head-bob {
    0% { transform: translateY(0) rotate(5deg); }
    100% { transform: translateY(-3px) rotate(-5deg); }
}
@keyframes cat-tail-wag {
    0% { transform: rotate(-25deg); }
    100% { transform: rotate(25deg); }
}
@keyframes cat-leg-run-1 {
    0%, 100% { transform: rotate(35deg); }
    50% { transform: rotate(-35deg); }
}
@keyframes cat-leg-run-2 {
    0%, 100% { transform: rotate(-35deg); }
    50% { transform: rotate(35deg); }
}
@keyframes loader-text-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}


/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,1));
    z-index: 9999;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* ========================================
   Parallax Layers — Hero
   ======================================== */
.parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    pointer-events: none;
}

.parallax-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.parallax-orb {
    border-radius: 50%;
    filter: blur(80px);
}

.parallax-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
    top: -10%;
    right: -5%;
}

.parallax-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
    bottom: -15%;
    left: -10%;
}

/* Override original hero-bg-grid since we use parallax-grid now */
.hero-bg-grid {
    display: none;
}

/* ========================================
   Interstitial Full-Screen Slides
   ======================================== */
.interstitial {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

.interstitial-small {
    min-height: 50vh;
}

.interstitial-content {
    text-align: center;
    padding: 0 var(--container-padding);
    max-width: 900px;
}

.interstitial-text {
    font-size: clamp(32px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.08);
    transition: color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text Reveal — "Paint" Effect */
.text-reveal {
    background: linear-gradient(90deg, #ffffff 50%, rgba(255,255,255,0.08) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.revealed {
    background-position: 0% 0;
}

/* ========================================
   Scroll Fade In (for section titles, etc.)
   ======================================== */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for multiple items */
.scroll-fade-in:nth-child(2) { transition-delay: 0.1s; }
.scroll-fade-in:nth-child(3) { transition-delay: 0.2s; }
.scroll-fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   Enhanced Hero — Cinematic Scale
   ======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 var(--container-padding);
    will-change: transform, opacity;
}

.hero-title {
    font-size: clamp(56px, 14vw, 160px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 36px;
}

/* ========================================
   Enhanced Philosophy Cards — Cascade
   ======================================== */
.philosophy-card {
    opacity: 0;
    transform: translateY(50px) rotate(1deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-card.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.philosophy-card:nth-child(1).visible { transition-delay: 0s; }
.philosophy-card:nth-child(2).visible { transition-delay: 0.15s; }
.philosophy-card:nth-child(3).visible { transition-delay: 0.3s; }

/* ========================================
   Enhanced Product Visual — 3D Entry
   ======================================== */
.product-visual {
    opacity: 0;
    transform: translateY(80px) rotateX(8deg);
    transition: all 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1200px;
}

.product-visual.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* ========================================
   Contact Links — Wave Entry
   ======================================== */
.contact-link.scroll-fade-in:nth-child(1) { transition-delay: 0.1s; }
.contact-link.scroll-fade-in:nth-child(2) { transition-delay: 0.25s; }

/* ========================================
   Section Dividers — subtle gradient lines
   ======================================== */
.products-section,
.philosophy-section,
.contact-section {
    position: relative;
}

.products-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}


/* ========================================
   Ticket Design — Live Ticket Style
   ======================================== */

/* --- Ticket Wrapper --- */
.ticket-wrapper {
    padding: 60px 0;
    opacity: 0;
    transform: translateX(-60px) rotate(-1deg);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket-wrapper.visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* --- Ticket Shape --- */
.ticket {
    display: flex;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 255, 255, 0.02);
    transform: translateY(-4px);
}

/* --- Ticket Main Area --- */
.ticket-main {
    flex: 1;
    padding: 48px 56px;
    position: relative;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ticket-presents {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.ticket-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-tertiary);
    font-variant-numeric: tabular-nums;
}

.ticket-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    line-height: 1;
}

.ticket-tagline {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- Ticket Details Row --- */
.ticket-details {
    display: flex;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.ticket-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-detail-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.ticket-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.ticket-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* --- Ticket Features --- */
.ticket-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 32px;
}

.ticket-feature {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
}

.ticket-actions {
    margin-bottom: 24px;
}

/* --- Perforation Line --- */
.ticket-perforation {
    width: 1px;
    background: transparent;
    border-left: 2px dashed rgba(255, 255, 255, 0.12);
    position: relative;
    flex-shrink: 0;
    margin: 0;
}

/* Half-circle cutouts at top and bottom of perforation */
.ticket-perforation::before,
.ticket-perforation::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-bg);
    border-radius: 50%;
    left: -11px;
    z-index: 2;
}

.ticket-perforation::before {
    top: -10px;
}

.ticket-perforation::after {
    bottom: -10px;
}

/* --- Ticket Stub (Right Side) --- */
.ticket-stub {
    width: 140px;
    flex-shrink: 0;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.stub-admit {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--color-text-primary);
}

.stub-one {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-text-secondary);
}

.stub-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: 6px 0;
}

.stub-number {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
}

/* --- Barcode --- */
.stub-barcode {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 50px;
    margin: 12px 0;
}

.barcode-line {
    width: 2px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1px;
}

.stub-event {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ========================================
   Coming Soon — Mystery Ticket + Stamp
   ======================================== */
.ticket-coming-soon {
    transform: translateX(-60px) rotate(1deg);
}

.ticket-coming-soon.visible {
    transform: translateX(0) rotate(0.5deg);
}

.ticket-mystery {
    opacity: 0.85;
}

.ticket-mystery:hover {
    opacity: 1;
}

.ticket-title-blur {
    filter: blur(6px);
    user-select: none;
    color: var(--color-text-tertiary);
}

/* --- COMING SOON Stamp --- */
.stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg) scale(2);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 10px 28px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.stamp.stamped {
    transform: translate(-50%, -50%) rotate(-12deg) scale(1);
    opacity: 1;
}

/* ========================================
   Ticket Responsive
   ======================================== */
@media (max-width: 768px) {
    .ticket {
        flex-direction: column;
    }

    .ticket-main {
        padding: 32px 24px;
    }

    .ticket-perforation {
        width: 100%;
        height: 1px;
        border-left: none;
        border-top: 2px dashed rgba(255, 255, 255, 0.12);
    }

    .ticket-perforation::before,
    .ticket-perforation::after {
        width: 20px;
        height: 20px;
        top: -11px;
        left: auto;
    }

    .ticket-perforation::before {
        left: -10px;
        top: -11px;
    }

    .ticket-perforation::after {
        right: -10px;
        left: auto;
        top: -11px;
        bottom: auto;
    }

    .ticket-stub {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px 24px;
        gap: 12px;
        justify-content: center;
    }

    .stub-barcode {
        height: 30px;
        margin: 0;
    }

    .stub-divider {
        display: none;
    }

    .ticket-details {
        flex-direction: column;
        gap: 16px;
    }

    .ticket-wrapper {
        transform: translateX(-30px) rotate(0deg);
    }

    .ticket-wrapper.visible {
        transform: translateX(0) rotate(0deg);
    }

    .ticket-coming-soon {
        transform: translateX(-30px) rotate(0deg);
    }

    .ticket-coming-soon.visible {
        transform: translateX(0) rotate(0deg);
    }

    .stamp {
        font-size: 20px;
        padding: 8px 20px;
        border-width: 3px;
    }
}


/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.lang-switcher-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--color-text-primary);
    border-radius: 100px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher[data-selected="en"] .lang-switcher-bg {
    transform: translateX(100%);
}

.lang-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    cursor: pointer;
    transition: color 0.3s;
    outline: none;
}

.lang-btn.active {
    color: var(--color-bg);
}



/* --- I18n Text Transition --- */
[data-i18n] {
    transition: opacity 0.4s ease;
}

.lang-changing [data-i18n] {
    opacity: 0 !important;
}


/* ========================================
   Navigation Tools (Clock & Switcher)
   ======================================== */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-clock {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-clock:hover {
    opacity: 1;
}

.clock-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
}

.clock-time {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums; /* Prevents width jumping */
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .nav-clock {
        display: none; /* Hide on small screens to save space */
    }
    
    .nav-tools {
        position: absolute;
        top: 20px;
        right: 80px;
    }
    
    .lang-switcher {
        position: static;
        margin: 0;
    }
}

/* ========================================
   CSS Weather Icons
   ======================================== */
.weather-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0 4px;
    vertical-align: middle;
}

/* --- Sun --- */
.css-sun {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    position: relative;
    animation: spin 10s linear infinite;
}
.css-sun::before, .css-sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    border-radius: 2px;
}
.css-sun::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* --- Cloud --- */
.css-cloud {
    width: 14px;
    height: 6px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    margin-top: 4px;
    box-shadow: 0 2px 4px rgba(255,255,255,0.2);
}
.css-cloud::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: -4px;
    left: 2px;
}
.css-cloud::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    top: -2px;
    right: 2px;
}

/* --- Rain --- */
.css-rain-wrapper {
    position: relative;
}
.css-rain-drops {
    position: absolute;
    top: 8px;
    left: 4px;
    width: 2px;
    height: 4px;
    background: #a1c4fd;
    border-radius: 2px;
    box-shadow: 4px 0 0 #a1c4fd;
    animation: rainDrop 1s infinite linear;
}
@keyframes rainDrop {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(6px); opacity: 0; }
}

/* --- Snow --- */
.css-snow-wrapper {
    position: relative;
}
.css-snow-flakes {
    position: absolute;
    top: 8px;
    left: 3px;
    width: 2.5px;
    height: 2.5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 6px 2px 0 #fff;
    animation: snowFall 2s infinite ease-in-out;
}
@keyframes snowFall {
    0% { transform: translateY(0) translateX(0); opacity: 1; }
    50% { transform: translateY(4px) translateX(2px); opacity: 0.8; }
    100% { transform: translateY(8px) translateX(-2px); opacity: 0; }
}

/* --- Thunder --- */
.css-thunder-wrapper {
    position: relative;
}
.css-thunder-wrapper .css-cloud {
    background: #999;
}
.css-thunder-wrapper .css-cloud::before, .css-thunder-wrapper .css-cloud::after {
    background: #999;
}
.css-lightning {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 0;
    height: 0;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 6px solid #fbbf24;
    transform: skewX(-15deg);
    animation: flash 2s infinite;
}
.css-lightning::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 6px solid #fbbf24;
}
@keyframes flash {
    0%, 90%, 95% { opacity: 0; }
    92%, 97%, 100% { opacity: 1; }
}

/* --- Fog --- */
.css-fog {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 14px;
    align-items: center;
    justify-content: center;
    height: 14px;
}
.css-fog-line {
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: fogDrift 4s infinite ease-in-out alternate;
}
.css-fog-line:nth-child(1) { width: 10px; animation-delay: 0s; }
.css-fog-line:nth-child(2) { width: 14px; animation-delay: -1s; }
.css-fog-line:nth-child(3) { width: 8px; animation-delay: -2s; }
@keyframes fogDrift {
    0% { transform: translateX(-2px); opacity: 0.5; }
    100% { transform: translateX(2px); opacity: 1; }
}

/* ========================================
   Artistic Direction (Noise, Cursor, Tearing)
   ======================================== */

/* --- Film Grain Noise --- */
.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    animation: noiseAnimation 0.2s infinite steps(2);
}

@keyframes noiseAnimation {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
    100% { transform: translate(0, 0); }
}

/* --- Ticket Tearing Experience --- */
.ticket {
    overflow: visible; /* Prevent clipping of stub when it tears */
}
.ticket-main {
    border-radius: 16px 0 0 16px;
    background: #111111;
    z-index: 2;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-right: none;
}
.ticket-wrapper .ticket-stub {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s;
    transform-origin: top left;
    border-radius: 0 16px 16px 0;
    background: #151515; /* slightly distinct background */
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: none;
}

.ticket-wrapper .ticket-perforation {
    transition: gap 0.5s;
    z-index: 3;
}

.ticket-wrapper:hover .ticket-stub {
    transform: translateX(24px) translateY(2px) rotate(2deg);
    box-shadow: -12px 4px 24px rgba(0,0,0,0.4);
    background: #1a1a1a;
}

.ticket-wrapper:hover .ticket-perforation {
    border-left: 2px dashed rgba(255, 255, 255, 0.3);
}
