/* ============================================================
   hinagiku.bid — styles.css
   McBling + Dreamy-Ethereal Aesthetic
   Scroll reveal via IntersectionObserver (see script.js)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #0D0014;
    color: #F5F0FF;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === Grid Background === */
.grid-bg {
    background-image:
        linear-gradient(#FF6EFF1A 1px, transparent 1px),
        linear-gradient(90deg, #FF6EFF1A 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* === Navigation === */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: rgba(13, 0, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F5F0FF;
    text-decoration: none;
    position: relative;
    transition: color 200ms;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #FF6EFF;
    transform: scaleX(0);
    transition: transform 200ms;
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: #FF6EFF;
}

.nav-right {
    display: flex;
    align-items: center;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFEC00;
    color: #0D0014;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0D0014;
    animation: blink-dot 1s infinite;
}

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

/* === Hero === */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-photo {
    position: absolute;
    inset: 0;
}

.hero-photo svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shimmer {
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 0deg at 50% 50%,
        #FF6EFF22,
        #00F5FF22,
        #FFEC0022,
        #FF2D8B22,
        #FF6EFF22
    );
    animation: shimmer-rotate 12s infinite linear;
}

@keyframes shimmer-rotate {
    from { transform: rotate(0deg) scale(2); }
    to { transform: rotate(360deg) scale(2); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -8vh;
}

.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 96px;
    letter-spacing: 0.05em;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, #C0C0C0 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C8A0FF;
    margin-bottom: 20px;
}

.hero-rule {
    width: 180px;
    height: 1px;
    background: rgba(255, 110, 255, 0.6);
    margin: 0 auto;
}

/* === Content Bands === */
.content-band {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.band-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
    display: grid;
    gap: 32px;
    align-items: start;
}

.band-7-5 {
    grid-template-columns: 7fr 5fr;
}

.band-5-7 {
    grid-template-columns: 5fr 7fr;
}

/* === Photo Cards === */
.photo-card {
    position: relative;
    border-radius: 4px;
    border: 1px solid rgba(255, 45, 139, 0.4);
    overflow: hidden;
}

.card-photo {
    width: 100%;
    overflow: hidden;
}

.card-photo svg {
    width: 100%;
    height: auto;
    display: block;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 0, 20, 0.9) 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-lot {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF6EFF;
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 0.05em;
    color: #F5F0FF;
    line-height: 1.1;
}

.card-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFEC00;
}

.card-vertical .card-photo svg {
    height: auto;
    min-height: 500px;
}

/* === Scale Hover === */
.scale-hover {
    transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.scale-hover:hover {
    transform: scale(1.04);
    filter: brightness(1.15) saturate(1.3);
}

.scale-hover:hover .card-title,
.scale-hover:hover .tile-title {
    text-shadow:
        -2px 0 #FF6EFF,
        2px 0 #00F5FF;
}

/* === Editorial Column === */
.editorial-col {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editorial-sub {
    font-family: 'Italiana', serif;
    font-size: 32px;
    color: #C8A0FF;
    font-weight: 400;
    line-height: 1.2;
}

.editorial-body {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    color: #F5F0FF;
    opacity: 0.9;
}

.editorial-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #FF6EFF 0%, transparent 100%);
    opacity: 0.4;
}

.auction-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 110, 255, 0.15);
}

.meta-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888888;
}

.meta-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #F5F0FF;
}

.timer-inline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #FFEC00;
    letter-spacing: 0.05em;
}

/* === Tiles Cluster === */
.tiles-cluster {
    display: grid;
    grid-auto-flow: row;
    gap: 12px;
}

.auction-tile {
    position: relative;
    border-radius: 4px;
    border: 1px solid rgba(255, 45, 139, 0.3);
    overflow: hidden;
    background: #1A0030;
}

.tile-photo {
    width: 100%;
    overflow: hidden;
}

.tile-photo svg {
    width: 100%;
    height: auto;
    display: block;
}

.tile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 0, 20, 0.92) 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tile-lot {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF6EFF;
}

.tile-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.05em;
    color: #F5F0FF;
    line-height: 1.1;
}

.tile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #FFEC00;
}

.tile-timer {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    color: #FFEC00;
    letter-spacing: 0.05em;
    background: #1A0030;
    padding: 2px 6px;
}

.tile-timer.urgent {
    animation: flash-timer 1s infinite;
}

@keyframes flash-timer {
    0%, 100% { opacity: 1; color: #FFEC00; }
    50% { opacity: 0.3; color: #FF2D8B; }
}

/* === Band 1 section header === */
.band-1 {
    background: linear-gradient(180deg, #0D0014 0%, #0F0020 100%);
}

.band-2 {
    background: linear-gradient(180deg, #0F0020 0%, #0D0014 100%);
}

/* === Discover Section === */
.band-discover {
    background: #0D0014;
    padding: 80px 0;
}

.discover-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
}

.discover-header {
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, #FFFFFF 0%, #C0C0C0 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 8px;
}

.discover-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888888;
}

.discover-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.discover-item {
    border-radius: 4px;
    border: 1px solid rgba(255, 45, 139, 0.25);
    overflow: hidden;
    background: #1A0030;
}

.discover-photo {
    width: 100%;
    overflow: hidden;
}

.discover-photo svg {
    width: 100%;
    height: auto;
    display: block;
}

.discover-label {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discover-lot {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF6EFF;
}

.discover-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #F5F0FF;
}

.discover-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #FFEC00;
}

/* === McBling Decorative Elements === */
.mcbling-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.decor-star {
    position: absolute;
    width: 16px;
    height: 16px;
    animation: float-star 8s infinite ease-in-out;
}

.decor-star-1 {
    top: 15%;
    left: 6%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.decor-star-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.decor-star-3 {
    top: 70%;
    left: 3%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.decor-star-4 {
    top: 30%;
    right: 8%;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

@keyframes float-star {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.55; }
    33% { transform: translateY(-12px) rotate(15deg); opacity: 0.7; }
    66% { transform: translateY(8px) rotate(-10deg); opacity: 0.4; }
}

.decor-gem {
    position: absolute;
    width: 8px;
    height: 8px;
}

.decor-gem-1 {
    top: 25%;
    left: 12%;
    animation: gem-pulse 4s infinite ease-in-out;
}

.decor-gem-2 {
    top: 60%;
    right: 12%;
    animation: gem-pulse 4s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes gem-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* === Reveal Animation === */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms ease, transform 500ms ease;
}

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

/* === Footer === */
#footer {
    background: #1A0030;
    border-top: 1px solid rgba(255, 110, 255, 0.2);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888888;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888888;
    text-decoration: none;
    transition: color 200ms;
}

.footer-link:hover {
    color: #FF6EFF;
}

/* === Mobile Responsive === */
@media (max-width: 900px) {
    .brand-name {
        font-size: 56px;
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 0.12em;
    }

    .band-7-5,
    .band-5-7 {
        grid-template-columns: 1fr;
    }

    .card-vertical {
        order: -1;
    }

    .tiles-cluster {
        grid-auto-flow: column;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }

    .discover-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

    .nav-links {
        gap: 16px;
    }

    .decor-star,
    .decor-gem {
        display: none;
    }
}

@media (max-width: 600px) {
    .discover-strip {
        grid-template-columns: 1fr;
    }

    .tiles-cluster {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        font-size: 11px;
    }
}
