/* Explain: Component styles for buttons, cards, navigation, forms, and layout elements. - */
.iron-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sharp);
    color: var(--white-color);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
        var(--gradient-brand);
    box-shadow: var(--shadow-orange);
    font-size: 0.8125rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, border-color 220ms ease;
    cursor: pointer;
}

.iron-btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.18);
    filter: saturate(1.08) brightness(1.04);
    transform: translateY(-2px);
    box-shadow: 0 26px 70px rgba(255, 77, 0, 0.36);
}

.iron-btn-primary:active {
    transform: translateY(0);
}

.iron-btn-primary:disabled,
.iron-btn-ghost:disabled {
    cursor: not-allowed;
    filter: grayscale(0.4);
    opacity: 0.62;
    transform: none;
}

.iron-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sharp);
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
    font-size: 0.8125rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
    cursor: pointer;
}

.iron-btn-ghost:hover {
    border-color: rgba(255, 77, 0, 0.58);
    color: var(--white-color);
    background: rgba(255, 77, 0, 0.12);
    transform: translateY(-2px);
}

.iron-btn-ghost:active {
    transform: translateY(0);
}

.platform-link,
.text-link {
    color: var(--steel-color);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease;
    cursor: pointer;
}

.platform-link:hover,
.text-link:hover {
    color: var(--white-color);
}

.platform-section {
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.platform-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1.35;
    text-transform: uppercase;
}

.section-kicker span {
    width: 2rem;
    height: 0.16rem;
    background: var(--gradient-brand);
    border-radius: 999px;
    box-shadow: 0 0 28px var(--glow-gold);
}

.section-title {
    margin-top: 0.55rem;
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: 0.035em;
    color: var(--white-color);
    text-wrap: balance;
}

.compact-title {
    margin-top: 0;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--steel-color);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
    cursor: pointer;
}

.category-pill:hover,
.category-pill.is-active {
    border-color: rgba(255, 77, 0, 0.58);
    color: var(--white-color);
    background: rgba(255, 77, 0, 0.16);
}

.category-pill:hover {
    transform: translateY(-1px);
}

.sidebar-item {
    display: grid;
    place-items: center;
    gap: 0.35rem;
    min-height: 4.15rem;
    border-radius: 1rem;
    color: var(--steel-color);
    font-size: 1rem;
    transition: background 180ms ease, color 180ms ease;
}

.sidebar-item span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sidebar-item:hover {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.055);
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--steel-color);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 200ms ease, border-color 200ms ease, color 200ms ease, background 200ms ease;
    white-space: nowrap;
    cursor: pointer;
}

.nav-chip:hover,
.nav-chip.is-active {
    border-color: var(--border-strong);
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.06);
}

.field-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--steel-color);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.input,
.select,
.textarea {
    border-color: var(--border-color);
    background-color: var(--surface-color);
    color: var(--white-color);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: rgba(191, 149, 63, 0.68);
    background-color: #0c0c0c;
    box-shadow: 0 0 0 4px rgba(191, 149, 63, 0.12);
    outline: none;
}

.video-card,
.card,
.mobile-data-card,
.premium-card {
    border: 1px solid var(--border-color);
    background: var(--gradient-surface);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease, box-shadow 350ms ease;
}

.video-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 77, 0, 0.5);
    transform: translateY(-5px);
}

.platform-video-card {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--charcoal-color);
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease, box-shadow 350ms ease;
    cursor: pointer;
}

.platform-video-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.dense-video-card {
    display: grid;
    grid-template-columns: minmax(8.5rem, 38%) 1fr;
    min-height: 8rem;
    overflow: hidden;
    border-radius: 1.15rem;
    background: var(--background-color);
    text-align: left;
    cursor: pointer;
}

.duration-badge {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    border-radius: 0.35rem;
    background: rgba(0, 0, 0, 0.82);
    color: white;
    padding: 0.18rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 900;
}

.mini-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: rgba(255, 77, 0, 0.92);
    box-shadow: var(--shadow-orange);
    transform: translate(-50%, -50%);
}

.play-orb {
    box-shadow: 0 18px 55px rgba(255, 77, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(191, 149, 63, 0.34);
    border-radius: 999px;
    background: rgba(191, 149, 63, 0.1);
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1.2;
    padding: 0.48rem 0.75rem;
    text-transform: uppercase;
}

.round-control,
.action-chip,
.social-orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--steel-color);
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
    cursor: pointer;
}

.round-control {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
}

.action-chip {
    min-height: 2.65rem;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0 1rem;
    color: var(--white-color);
    font-size: 0.84rem;
    font-weight: 800;
}

.social-orb {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
}

.round-control:hover,
.action-chip:hover,
.social-orb:hover {
    border-color: rgba(191, 149, 63, 0.55);
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.075);
}

.mobile-card-list {
    display: grid;
    gap: 1rem;
}

.mobile-data-card {
    border-radius: var(--radius-card);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        var(--surface-color);
}

.mobile-data-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.mobile-data-label {
    color: var(--steel-color);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.mobile-data-value {
    color: var(--white-color);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.premium-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-panel);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 77, 0, 0.1), transparent 24rem),
        var(--gradient-surface);
    box-shadow: var(--shadow-card);
}

.counter-card {
    min-height: 6rem;
}

@media (max-width: 768px) {
    .platform-section {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }

    .platform-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .dense-video-card {
        grid-template-columns: 8rem 1fr;
    }

    .section-title,
    .compact-title {
        font-size: clamp(2rem, 11vw, 3.25rem);
        line-height: 0.96;
    }

    .iron-btn-primary,
    .iron-btn-ghost {
        min-height: 3.1rem;
        width: 100%;
        white-space: normal;
    }

    .nav-chip {
        min-height: 3.1rem;
    }
}