/* ============================================================
   HOMEPAGE — NEXUS-7 Dark Theme Standalone
   Prefix: hp-*
   Version: 1.0
   Smooth multi-section backgrounds, floating animations, 
   calendar preview, quick links
   ============================================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --hp-bg: #07070a;
    --hp-surface-1: #0b0b10;
    --hp-surface-2: #101018;
    --hp-surface-3: #16161f;
    --hp-surface-4: #1c1c28;
    --hp-glass: rgba(16, 16, 24, 0.65);
    --hp-glass-border: rgba(220, 38, 38, 0.1);
    --hp-accent: #dc2626;
    --hp-accent-soft: rgba(220, 38, 38, 0.08);
    --hp-accent-glow: rgba(220, 38, 38, 0.35);
    --hp-border: #1e1c26;
    --hp-text: #f0eeeb;
    --hp-text-sec: #8a8698;
    --hp-text-muted: #5a5768;
    --hp-success: #22c55e;
    --hp-warning: #eab308;
    --hp-danger: #ef4444;
    --hp-font: 'Rajdhani', sans-serif;
    --hp-font-display: 'Oxanium', sans-serif;
    --hp-font-mono: 'Share Tech Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    background: var(--hp-bg) !important;
    color: var(--hp-text) !important;
    font-family: var(--hp-font) !important;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === ANIMATED BACKGROUND CANVAS === */
.hp-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Moving gradient orbs */
.hp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.hp-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #dc2626, transparent 70%);
    top: -10%;
    left: -5%;
    animation: hpOrbFloat1 18s infinite alternate;
}

.hp-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7f1d1d, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: hpOrbFloat2 22s infinite alternate;
}

.hp-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #450a0a, transparent 70%);
    top: 50%;
    left: 40%;
    animation: hpOrbFloat3 15s infinite alternate;
}

@keyframes hpOrbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 80px) scale(1.15); }
    100% { transform: translate(-60px, 160px) scale(0.9); }
}

@keyframes hpOrbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -60px) scale(1.1); }
    100% { transform: translate(80px, -120px) scale(0.95); }
}

@keyframes hpOrbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -80px) scale(1.2); }
    100% { transform: translate(-80px, 40px) scale(0.85); }
}

/* Grid pattern overlay */
.hp-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Scanline effect */
.hp-scanlines {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* === FLOATING PARTICLES === */
.hp-particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hp-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(220, 38, 38, 0.5);
    border-radius: 50%;
    animation: hpParticleRise linear infinite;
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.3);
}

@keyframes hpParticleRise {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) translateX(-20px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hp-hero {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 102px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px 60px;
    overflow: hidden;
}

/* === HERO IMAGE SLIDER === */
.hp-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    will-change: opacity, transform;
    animation: hpKenBurns 12s ease-in-out forwards paused;
}

.hp-hero-slide--active {
    opacity: 1;
    animation-play-state: running;
}

@keyframes hpKenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-0.5%, -0.5%); }
}

/* Dark gradient overlay for text readability */
.hp-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(7, 7, 10, 0.55) 0%, rgba(7, 7, 10, 0.85) 100%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.3) 0%, rgba(7, 7, 10, 0.7) 50%, rgba(7, 7, 10, 0.95) 100%);
    pointer-events: none;
}

/* Glowing accent line */
.hp-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.hp-hero__badge {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 100px;
    font-family: var(--hp-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hp-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: hpFadeInDown 0.8s 0.2s both;
}

.hp-hero__badge i {
    font-size: 0.65rem;
}

.hp-hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--hp-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--hp-accent);
    animation: hpPulse 2s infinite;
}

@keyframes hpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hp-hero__title {
    position: relative;
    z-index: 3;
    font-family: var(--hp-font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    color: var(--hp-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
    animation: hpFadeInDown 0.8s 0.4s both;
    position: relative;
}

/* Red glow behind title */
.hp-hero__title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--hp-accent);
    filter: blur(40px);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.hp-hero__subtitle {
    position: relative;
    z-index: 3;
    font-family: var(--hp-font-mono);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: var(--hp-text-sec);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    animation: hpFadeInDown 0.8s 0.6s both;
    max-width: 600px;
}

.hp-hero__tagline {
    position: relative;
    z-index: 3;
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    margin-bottom: 40px;
    animation: hpFadeInDown 0.8s 0.7s both;
}

.hp-hero__actions {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: hpFadeInDown 0.8s 0.9s both;
}

.hp-hero__btn {
    padding: 14px 36px;
    border-radius: 8px;
    font-family: var(--hp-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    letter-spacing: 0.03em;
}

.hp-hero__btn--primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #fff;
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.2), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hp-hero__btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
    border-radius: 8px;
    pointer-events: none;
}

.hp-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.35), 0 12px 32px rgba(0, 0, 0, 0.5);
}

.hp-hero__btn--outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--hp-text-sec);
}

.hp-hero__btn--outline:hover {
    color: var(--hp-text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

/* Scroll indicator */
.hp-scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--hp-text-muted);
    font-family: var(--hp-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: hpFadeInDown 0.8s 1.2s both;
}

.hp-scroll-indicator__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--hp-accent), transparent);
    animation: hpScrollLine 2s infinite;
}

@keyframes hpScrollLine {
    0% { opacity: 1; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50.01% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* Entrance animations */
@keyframes hpFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION TRANSITIONS — Smooth gradient flows
   ============================================================ */
.hp-transition {
    position: relative;
    z-index: 2;
    height: 120px;
    pointer-events: none;
}

.hp-transition--1 {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(220, 38, 38, 0.03) 40%,
        rgba(220, 38, 38, 0.05) 60%,
        transparent 100%
    );
}

.hp-transition--1::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
}

.hp-transition--2 {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(16, 16, 24, 0.5) 50%,
        transparent 100%
    );
}

.hp-transition--2::before {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* ============================================================
   CONTENT SECTIONS — General
   ============================================================ */
.hp-section {
    position: relative;
    z-index: 2;
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hp-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.hp-section__title {
    font-family: var(--hp-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--hp-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-section__title i {
    color: var(--hp-accent);
    font-size: 1.2rem;
}

.hp-section__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-text-sec);
    font-family: var(--hp-font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.hp-section__link:hover {
    color: var(--hp-accent);
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.04);
}

/* ============================================================
   CALENDAR PREVIEW — NEXUS-7 Dark
   ============================================================ */
.hp-calendar {
    background: linear-gradient(135deg, var(--hp-glass) 0%, rgba(10, 10, 16, 0.75) 100%);
    border: 1px solid var(--hp-glass-border);
    border-radius: 14px;
    padding: 28px;
    backdrop-filter: blur(16px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(220, 38, 38, 0.03);
}

/* The 7-day grid from calendar-preview.js */
.preview-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.preview-day {
    background: rgba(10, 10, 16, 0.5);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 140px;
}

.preview-day:hover {
    border-color: rgba(90, 87, 104, 0.3);
    background: rgba(16, 16, 24, 0.6);
    transform: translateY(-2px);
}

.preview-day.today {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.04);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.06);
}

.preview-day-header {
    padding: 12px 12px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: transparent;
}

.preview-day.today .preview-day-header {
    background: transparent;
}

.preview-day-name {
    font-family: var(--hp-font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--hp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.preview-day.today .preview-day-name {
    color: var(--hp-text-muted);
}

.preview-day-num {
    font-family: var(--hp-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1;
}

.preview-day.today .preview-day-num {
    color: var(--hp-accent);
    text-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
}

.preview-day-events {
    padding: 8px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: auto;
}

.preview-event {
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--hp-accent);
    border-radius: 4px;
    cursor: default;
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.preview-event:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
}

.preview-time {
    font-family: var(--hp-font-mono);
    font-size: 0.6rem;
    color: var(--hp-accent);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.preview-title {
    font-size: 0.72rem;
    color: var(--hp-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-more {
    font-size: 0.65rem;
    color: var(--hp-text-muted);
    text-align: center;
    padding: 2px 0;
    font-weight: 600;
}

.preview-no-events {
    font-size: 0.75rem;
    color: var(--hp-text-muted);
    text-align: center;
    padding: 8px 0;
    opacity: 0.5;
}

.preview-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--hp-text-muted);
}

.preview-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--hp-accent);
    opacity: 0.3;
}

.preview-empty p {
    font-size: 0.9rem;
}

.calendar-loading-small {
    text-align: center;
    padding: 40px 20px;
    color: var(--hp-text-muted);
    font-size: 0.9rem;
}

.calendar-loading-small i {
    font-size: 1.5rem;
    color: var(--hp-accent);
    margin-right: 8px;
}

/* ============================================================
   QUICK LINKS — Glass Cards
   ============================================================ */
.hp-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.hp-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(16, 16, 24, 0.7) 0%, rgba(10, 10, 16, 0.8) 100%);
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    min-height: 200px;
}

/* Accent glow top line */
.hp-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hp-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hp-link-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(220, 38, 38, 0.05);
}

.hp-link-card:hover::before {
    opacity: 1;
}

.hp-link-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--hp-accent);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.hp-link-card:hover .hp-link-card__icon {
    background: rgba(220, 38, 38, 0.12);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
    transform: scale(1.05);
}

.hp-link-card__title {
    font-family: var(--hp-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.hp-link-card__desc {
    font-size: 0.88rem;
    color: var(--hp-text-sec);
    line-height: 1.6;
    flex: 1;
}

.hp-link-card__arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hp-font-mono);
    font-size: 0.75rem;
    color: var(--hp-text-muted);
    margin-top: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hp-link-card:hover .hp-link-card__arrow {
    color: var(--hp-accent);
    transform: translateX(4px);
}

/* ============================================================
   WELCOME MESSAGE (after tutorial)
   ============================================================ */
.hp-welcome-msg {
    max-width: 700px;
    margin: -20px auto 20px;
    padding: 18px 24px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-left: 3px solid var(--hp-success);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hp-text);
    position: relative;
    z-index: 3;
    animation: hpFadeInDown 0.6s both;
}

.hp-welcome-msg i {
    color: var(--hp-success);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hp-welcome-msg strong {
    display: block;
    margin-bottom: 2px;
}

.hp-welcome-msg span {
    font-size: 0.85rem;
    color: var(--hp-text-sec);
}

/* ============================================================
   SCROLL ANIMATION — Fade In On Scroll
   ============================================================ */
.hp-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .hp-hero__title {
        font-size: clamp(2.5rem, 7vw, 4.5rem);
    }

    .preview-week-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Counter style.css hiding days */
    .preview-day:nth-child(n+5) {
        display: block;
    }

    .hp-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hp-topbar {
        padding: 12px 16px;
    }

    .hp-topbar__user {
        display: none;
    }

    .hp-topbar__btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .hp-hero {
        padding: 80px 16px 50px;
        min-height: 90vh;
    }

    .hp-hero__title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        letter-spacing: 0.04em;
    }

    .hp-hero__subtitle {
        font-size: 0.85rem;
    }

    .hp-hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hp-hero__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .hp-scroll-indicator {
        bottom: 20px;
    }

    .hp-section {
        padding: 40px 14px;
    }

    .hp-section__title {
        font-size: 1.2rem;
    }

    .preview-week-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Counter style.css hiding days */
    .preview-day:nth-child(n+4),
    .preview-day:nth-child(n+5) {
        display: block;
    }

    .preview-day {
        min-height: 110px;
    }

    .preview-day-num {
        font-size: 1.2rem;
    }

    .hp-calendar {
        padding: 16px;
        border-radius: 10px;
    }

    .hp-links {
        grid-template-columns: 1fr 1fr;
    }

    .hp-link-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .hp-transition {
        height: 60px;
    }

    .hp-orb--1 { width: 350px; height: 350px; }
    .hp-orb--2 { width: 300px; height: 300px; }
    .hp-orb--3 { width: 250px; height: 250px; }
}

@media (max-width: 400px) {
    .preview-week-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-hero__title {
        font-size: 2rem;
    }

    .hp-hero__badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
}
