@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Reset & Base */
body {
    font-family: 'Jost', 'Zen Kaku Gothic New', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fafafa;
    overflow-x: hidden;
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.1em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* Splash Screen - Removed */

/* Splash Animation - Removed */

/* Utilities */
.text-justify {
    text-align: justify;
}

.tracking-widest-plus {
    letter-spacing: 0.25em;
}

/* Image Transitions */
.image-zoom {
    overflow: hidden;
}
.image-zoom img {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.image-zoom:hover img {
    transform: scale(1.05);
}

/* LDKG Concept Connection Line */
@media (min-width: 768px) {
    .ldkg-grid {
        position: relative;
    }
    .ldkg-grid::before {
        content: '';
        position: absolute;
        top: 40px; 
        left: 10%;
        right: 10%;
        height: 1px;
        background: repeating-linear-gradient(to right, #ddd 0, #ddd 5px, transparent 5px, transparent 10px);
        z-index: 0;
    }
}

/* Mobile Menu Transition */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Fade In Up Custom Animation */
@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUpCustom 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* Section Specifics */
.bg-hero {
    background-color: #2C2C2C; /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Header Logo Hide on Hero */
.header-logo {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
header.hero-top .header-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Sticky Header Effect */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
header.scrolled a:not(#mobile-menu a),
header.scrolled button,
header.scrolled nav,
header.scrolled .text-2xl {
    color: #333 !important;
    mix-blend-mode: normal !important;
}

#mobile-menu a {
    color: white !important;
}

/* Button Hover Effects */
.btn-hover-slide {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-hover-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #333;
    transition: all 0.3s ease;
    z-index: -1;
}
.btn-hover-slide:hover::after {
    height: 100%;
}
.btn-hover-slide:hover {
    color: #fff;
}

/* Alika Scarcity Indicator */
.alika-scarcity-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.alika-status-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.alika-status-ja {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    white-space: nowrap;
}

.alika-status-en {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

.alika-dots-grid {
    display: flex;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.alika-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alika-dot.available {
    background-color: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.alika-dot.sold {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.alika-dot.sold .cross {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    line-height: 1;
    pointer-events: none;
}

.alika-status-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-family: 'Jost', sans-serif;
}

.numbers-main {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 300;
}

.numbers-sub {
    font-size: 0.7rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

/* Hero: use small viewport height on mobile to avoid browser chrome overlap */
@media (max-width: 768px) {
    #hero {
        height: 100svh;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .alika-scarcity-indicator {
        padding: 0.875rem 1.5rem;
        gap: 0.6rem;
    }

    .alika-status-ja {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .alika-status-en {
        font-size: 0.55rem;
        letter-spacing: 0.2em;
    }

    .alika-dots-grid {
        gap: 0.35rem;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0;
    }

    .alika-dot {
        width: 9px;
        height: 9px;
        flex-shrink: 0;
    }

    .numbers-main {
        font-size: 0.95rem;
    }

    .numbers-sub {
        font-size: 0.6rem;
    }
}