:root {
    --bg: #05070a;
    --panel: #101820;
    --panel2: #16212b;
    --blue: #00aaff;
    --green: #39ff88;
    --white: #f5f7fa;
    --grey: #9aa8b5;
    --border: #294150;
}

/* Global reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0,170,255,.18), transparent 30%),
        radial-gradient(circle at top right, rgba(57,255,136,.12), transparent 28%),
        var(--bg);
    color: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

a,
.btn,
.watch-link,
.video-card,
.featured-card {
    transition: all 0.2s ease;
}

a:focus-visible,
.btn:focus-visible,
.watch-link:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* Layout */
.site-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 18px;
}

/* Hero */
.hero {
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(16,24,32,.96), rgba(22,33,43,.92));
    border-radius: 18px;
    padding: 34px 26px;
    margin-bottom: 28px;
    box-shadow: 0 0 28px rgba(0,170,255,.12);
}

.kicker,
.featured-label,
.section-title {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .85rem;
    font-weight: bold;
}

.featured-label {
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    margin: 0 0 16px;
}

h1 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--white);
}

h1 span {
    color: var(--blue);
}

.hero p {
    max-width: 100%;
    color: var(--grey);
    font-size: 1.08rem;
}

.quote {
    margin-top: 14px;
    font-style: italic;
    color: var(--grey);
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* Buttons */
.button-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--blue);
    color: var(--white);
    background: rgba(0,170,255,.12);
}

.btn:hover {
    background: rgba(0,170,255,.25);
}

.btn.green {
    border-color: var(--green);
    background: rgba(57,255,136,.12);
}

/* Featured newest video */
.featured-video {
    margin-bottom: 28px;
}

.featured-card,
.video-card {
    background: linear-gradient(180deg, var(--panel), var(--panel2));
    border: 1px solid var(--border);
    overflow: hidden;
}

.featured-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-radius: 18px;
    box-shadow: 0 0 28px rgba(57,255,136,.10);
}

.video-card {
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(0,0,0,.25);
}

.featured-card:hover,
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0,170,255,.25);
}

/* Responsive video embeds */
.featured-embed,
.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    aspect-ratio: auto;
}

.featured-embed iframe,
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video text */
.featured-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-info {
    padding: 16px;
}

.featured-info h2,
.video-info h2 {
    line-height: 1.35;
    margin: 0 0 8px;
}

.featured-info h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
    margin-bottom: 12px;
}

.video-info h2 {
    font-size: 1.05rem;
}

.featured-info h2 a,
.video-info h2 a {
    color: var(--white);
    text-decoration: none;
}

.featured-info h2 a:hover,
.video-info h2 a:hover {
    color: var(--green);
}

.date {
    color: var(--grey);
    font-size: .9rem;
}

.watch-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
}

.watch-link:hover {
    color: var(--green);
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* About section */
.about-channel {
    margin-top: 36px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
}

.about-channel h2 {
    margin: 0 0 12px;
    color: var(--white);
}

.about-channel p {
    color: var(--grey);
    margin: 0 0 12px;
}

.about-channel p:last-child {
    margin-bottom: 0;
}

/* Notices */
.notice {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
}

/* Footer */
footer {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--grey);
    font-size: .95rem;
    text-align: center;
}

footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 620px) {
    .site-wrap {
        padding: 22px 14px;
    }

    .hero {
        padding: 26px 20px;
    }

    .button-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .featured-info {
        padding: 20px;
    }

    .about-channel {
        padding: 18px;
    }
}

/* Reduce animation for users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    a,
    .btn,
    .watch-link,
    .video-card,
    .featured-card {
        transition: none;
    }

    .featured-card:hover,
    .video-card:hover {
        transform: none;
    }
}

.featured-pages {
    margin-bottom: 28px;
}

.featured-page-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.featured-page-links a {
    display: block;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.featured-page-links a:hover {
    color: var(--green);
    border-color: var(--blue);
    box-shadow: 0 0 18px rgba(0,170,255,.18);
}

.featured-page-link {
    display: block;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem; /* ?? this is the key change */
    line-height: 1.3;
}

.featured-page-link:hover {
    color: var(--green);
    border-color: var(--blue);
    box-shadow: 0 0 18px rgba(0,170,255,.18);
}

.video-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 8px 0 12px;
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 70px;
    height: 50px;
    
    background: #ff0000; /* YouTube red */
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 15px rgba(0,0,0,.7),
        0 0 25px rgba(255,0,0,.4);

    pointer-events: none;
}

.play-button::before {
    content: '';
    display: block;
    margin-left: 3px; /* slight right shift like YouTube */
    width: 0;
    height: 0;
    border-left: 14px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

.video-thumb:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: #00aaff; /* your blue */
    box-shadow:
        0 0 20px rgba(0,170,255,.6),
        0 0 40px rgba(0,170,255,.4);
}

@media (max-width: 900px) {
    .featured-page-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .featured-page-links {
        grid-template-columns: 1fr;
    }
}