/* soning.stream — experimental type layout */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0A0A12;
    color: #8A8AA0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Shared === */
.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 2.5rem;
}

a {
    transition: opacity 0.25s ease;
}

a:hover {
    opacity: 0.8;
}

/* === Pulse Animation === */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* === Fade-in on Scroll === */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Hero Zone === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-letters {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 1.5rem;
    user-select: none;
}

.hero-letter {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
    cursor: default;
}

.hero-letter:hover {
    color: #6C63FF;
}

.hl-1 {
    font-size: 4rem;
    transform: translateY(-10px);
}
.hl-2 {
    font-size: 6rem;
    transform: translateY(5px) rotate(-2deg);
}
.hl-3 {
    font-size: 3rem;
    transform: translateY(-15px);
}
.hl-4 {
    font-size: 5rem;
    transform: translateY(8px) rotate(3deg);
}
.hl-5 {
    font-size: 3.5rem;
    transform: translateY(-5px) rotate(-1deg);
}
.hl-6 {
    font-size: 4.5rem;
    transform: translateY(12px);
}

.hero-dot {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 1rem;
    color: #8A8AA0;
    margin-left: 4px;
    align-self: flex-end;
    letter-spacing: 0.04em;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #8A8AA0;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #FF3B30;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.cta-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* === Live Now Section === */
.live-now {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.live-card {
    background: #141420;
    border: 1px solid #1A1A2E;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.live-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF3B30, #FF3B30 30%, transparent);
}

.live-card:hover {
    border-color: #FF3B30;
}

.live-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF3B30;
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.live-dot-small {
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.viewer-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #8A8AA0;
}

.live-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.live-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.streamer-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6C63FF;
    font-weight: 500;
}

.stream-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #8A8AA0;
    background: #1A1A2E;
    padding: 2px 8px;
    border-radius: 3px;
}

.stream-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #8A8AA0;
}

.live-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.join-btn {
    display: inline-block;
    background: #FFD93D;
    color: #0A0A12;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, transform 0.2s ease;
}

.join-btn:hover {
    background: #FFFFFF;
    opacity: 1;
    transform: translateY(-1px);
}

.live-quality {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #8A8AA0;
    border: 1px solid #1A1A2E;
    padding: 2px 6px;
    border-radius: 3px;
}

/* === Schedule Section === */
.schedule {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.timeline {
    position: relative;
    padding-left: 28px;
    border-left: 1px solid #6C63FF;
}

.timeline-entry {
    position: relative;
    margin-bottom: 2.5rem;
    transition: transform 0.25s ease;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry:hover {
    transform: translateX(4px);
}

.schedule-node {
    position: absolute;
    left: -32.5px;
    top: 4px;
    width: 8px;
    height: 8px;
    background: #6C63FF;
    border-radius: 50%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-entry:hover .schedule-node {
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.5);
}

.entry-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.entry-time {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 0.8rem;
    color: #8A8AA0;
}

.entry-streamer {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6C63FF;
    font-weight: 500;
}

.entry-topic {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #FFFFFF;
    line-height: 1.4;
}

.entry-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #8A8AA0;
    background: #1A1A2E;
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 2px;
    width: fit-content;
}

/* === Replays Section === */
.replays {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.replay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.replay-card {
    background: #141420;
    border: 1px solid #1A1A2E;
    border-left: 3px solid #6C63FF;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.replay-card:hover {
    transform: translateY(-2px);
    border-left-color: #FFD93D;
}

.replay-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.replay-streamer {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #6C63FF;
    display: block;
    margin-bottom: 0.5rem;
}

.replay-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.replay-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #8A8AA0;
}

.replay-views {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #8A8AA0;
}

.replay-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #6C63FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.replay-link:hover {
    color: #FFD93D;
    opacity: 1;
}

/* === Community Highlights === */
.community {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.highlights-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.highlight-stat {
    background: #141420;
    border: 1px solid #1A1A2E;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    transition: border-color 0.25s ease;
}

.highlight-stat:hover {
    border-color: #6C63FF;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #FFD93D;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #8A8AA0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === Footer === */
.footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    text-align: center;
    border-top: 1px solid #1A1A2E;
}

.countdown {
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #8A8AA0;
    display: block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.countdown-time {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 2rem;
    color: #FFFFFF;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.flink {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #6C63FF;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.flink:hover {
    color: #FFD93D;
    opacity: 1;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #8A8AA0;
    font-style: italic;
}

/* === Responsive === */
@media (max-width: 768px) {
    .highlights-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .replay-grid {
        grid-template-columns: 1fr;
    }

    .hero-letters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hl-1 { font-size: 3rem; }
    .hl-2 { font-size: 4.5rem; }
    .hl-3 { font-size: 2.2rem; }
    .hl-4 { font-size: 3.8rem; }
    .hl-5 { font-size: 2.6rem; }
    .hl-6 { font-size: 3.4rem; }

    .hero {
        min-height: 50vh;
        padding: 4rem 1.5rem 3rem;
    }

    .live-now,
    .schedule,
    .replays,
    .community,
    .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .live-title {
        font-size: 1.2rem;
    }

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

    .countdown-time {
        font-size: 1.5rem;
    }
}
