/* Homepage: the hero bubble with countdown, and the Series I card. */

.home-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px 20px 40px;
    /* darker on the left, clear on the right to reveal the planet */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)), url("/assets/earth_corner.webp");
    background-size: cover;
    background-position: center;
}

.hero-glass-bubble {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 100px;
    border-radius: 100px;
    max-width: 95%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
}

.home-hero p {
    font-size: 1.5rem;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
}

.countdown-container { display: flex; gap: 30px; margin: 30px 0; opacity: 0; animation: fadeUp 1s ease forwards 0.5s; }
.countdown-item { display: flex; flex-direction: column; align-items: center; }
.countdown-val { font-size: 2.5rem; font-weight: 700; color: #fff; line-height: 1; font-family: "Courier New", Courier, monospace; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.countdown-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-top: 5px; }

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
    margin-top: 20px;
}

.cta-button:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; transform: translateY(-5px); }

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

/* Without motion the hero must still be visible */
@media (prefers-reduced-motion: reduce) {
    .home-hero h1, .home-hero p, .countdown-container, .cta-button { opacity: 1; }
}

/* ---------- Series I card ---------- */
.collections { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }

.collection-card {
    background: #111;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 600px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s;
}

.collection-card:hover { transform: scale(0.98); }

.collection-bg {
    position: absolute;
    inset: 0;
    background: url("/assets/about_hero.webp") center / cover;
    opacity: 0.6;
    transition: opacity 0.5s, transform 0.5s;
}

.collection-card:hover .collection-bg { opacity: 0.8; transform: scale(1.05); }

/* The watch floats over the night sky */
.collection-watch {
    position: absolute;
    right: 6%;
    top: 50%;
    height: 112%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.collection-watch::before {
    content: "";
    position: absolute;
    inset: 18% 10%;
    background: radial-gradient(closest-side, rgba(70, 110, 200, 0.45), transparent);
    filter: blur(20px);
}

.collection-watch img {
    position: relative;
    height: 100%;
    width: auto;
    display: block;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.85));
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.collection-card:hover .collection-watch { transform: translateY(-53%) rotate(-2deg); }

.collection-content { position: relative; padding: 50px; z-index: 2; width: 100%; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); }
.collection-tag { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; margin-bottom: 10px; display: block; }
.collection-title { font-size: 3rem; color: #fff; margin-bottom: 10px; }
.collection-desc { color: #ccc; font-size: 1.1rem; }

@media (max-width: 768px) {
    .hero-glass-bubble { padding: 30px 20px; border-radius: 30px; width: 90%; }
    .home-hero h1 { font-size: 2.5rem; }
    .countdown-container { gap: 15px; }
    .countdown-val { font-size: 1.5rem; }
    .collection-watch { right: 50%; top: 4%; height: 52%; transform: translateX(50%); }
    .collection-card:hover .collection-watch { transform: translateX(50%) translateY(-2%); }
    .collection-content { padding: 30px; }
    .collection-title { font-size: 2.2rem; }
}
