@charset "UTF-8";

/* Custom fonts setup */

body {
    background-color: #0A0A0A;
    color: #F3F4F6;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

/* F1 Style Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

/* Sticky Header */
.header-glass {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* SECTION 1 HERO LAYOUT (Strict & Independent) */
.hero-container {
    display: flex;
    /* Mobile: Stack Flex */
    flex-direction: column;
    width: 100%;
    /* Mobile: Height Auto to avoid HUGE blank space below text */
    height: auto;
    /* Allow growing */
    padding-top: 70px;
    /* Header offset */
}

@media (min-width: 768px) {
    .hero-container {
        display: grid;
        /* Desktop: Grid */
        grid-template-columns: 25% 75%;
        height: 100vh;
        min-height: 100vh;
        padding-top: 0;
    }
}

.hero-left {
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: none;
    /* No divider on mobile */
    border-top: 1px solid #D4AF37;
    /* Mobile Divider */
    z-index: 10;
    order: 2;
    /* Mobile: Text below Image */
    width: 100%;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .hero-left {
        order: 1;
        /* Desktop: Text first (Left) */
        width: auto;
        height: 100%;
        padding: 0;
        border-top: none;
        border-right: 1px solid #D4AF37;
        /* Desktop Divider */
    }
}

.hero-right {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    /* Force Aspect for Full View on Mobile */
    overflow: hidden;
    order: 1;
    /* Mobile: Image first (Top) */
}

@media (min-width: 768px) {
    .hero-right {
        order: 2;
        /* Desktop: Visual second (Right) */
        height: 100%;
        aspect-ratio: auto;
        /* Reset aspect ratio for full height */
    }
}

/* Vertical Text Strict Rules */
/* Vertical Text Strict Rules (Mobile: Horizontal, Desktop: Vertical) */
.vertical-text-box {
    writing-mode: horizontal-tb;
    /* Mobile Default */
    text-orientation: mixed;
    letter-spacing: 0.1em;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    height: auto;
    border-bottom: 4px solid #E60012;
    /* Mobile Underline */
    border-left: none;
    padding-bottom: 0.5rem;
    padding-left: 0;
    color: #FFF;
}

@media (min-width: 768px) {
    .vertical-text-box {
        writing-mode: vertical-rl;
        /* Desktop Vertical */
        text-orientation: upright;
        letter-spacing: 0.15em;
        font-size: clamp(1.8rem, 4vw, 3.5rem);
        line-height: 1.6;
        text-align: left;
        border-bottom: none;
        border-left: 4px solid #E60012;
        /* Desktop Side Line */
        padding-bottom: 0;
        padding-left: 1.5rem;
    }
}

/* F1 Style Image Overlay */
.f1-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0A0A0A 0%, transparent 20%, transparent 80%, #0A0A0A 100%);
    pointer-events: none;
}

/* Ticker Animation */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background: #D4AF37;
    color: #000;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 1.2rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Card Styling - F1 Grid */
.spec-card {
    background: #111;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #E60012;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.spec-card:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.spec-card:hover::before {
    transform: scaleY(1);
}

/* Partner Section Style */
.partner-logo {
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* Button Glitch Effect / Hover */
.btn-f1 {
    position: relative;
    background: #D4AF37;
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-f1:hover {
    background: #E60012;
    color: #FFF;
    box-shadow: 0 0 20px rgba(230, 0, 18, 0.5);
}