* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #050b16;
    color: #f1f6ff;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1160px;
    margin: auto;
}

header {
    background: rgba(5,11,22,0.95);
    border-bottom: 1px solid #17345a;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    color: #fff;
}

.logo span {
    color: #31d7ff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul a:hover {
    color: #31d7ff;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(110deg,#087bff,#12b9f4);
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

.hero {
    padding: 90px 0;
    background: radial-gradient(circle at 80% 30%,#102e55,transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: #31d7ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 13px;
}

h1 {
    font-size: clamp(45px,7vw,85px);
    line-height: 1;
    margin: 25px 0;
}

.highlight {
    color: #31d7ff;
    text-shadow: 0 0 30px #087bff;
}

.hero p {
    color: #aebfd8;
    line-height: 1.8;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.secondary-button {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #31d7ff;
    border-radius: 8px;
    color: #31d7ff;
    font-weight: bold;
}

.hero-art {
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #31d7ff;
    border-radius: 20px;
    background: linear-gradient(145deg,#102c53,#07101f);
    box-shadow: 0 0 50px rgba(8,123,255,.2);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

section {
    padding: 65px 0;
}

/* Subtle section backgrounds */
#daily-alpha {
    background: rgba(8, 123, 255, 0.03);
}

#web3 {
    background: rgba(120, 80, 255, 0.04);
}

#playtests {
    background: rgba(0, 200, 150, 0.03);
}

#videos {
    background: rgba(255, 120, 80, 0.025);
}

.section-title {
    margin-bottom: 30px;
}

.section-title small {
    color: #31d7ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
}

.section-title h2 {
    font-size: 35px;
    margin: 10px 0;
}

.section-title p {
    color: #9bafcb;
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.card {
    background: #0b1527;
    border: 1px solid #17345a;
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #31d7ff;
    box-shadow: 0 0 25px rgba(8,123,255,.2);
}

.card-image {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#123e75,#071323);
    color: #31d7ff;
    font-size: 28px;
    font-weight: 900;
}

.card-content {
    padding: 20px;
}

.card-content small {
    color: #31d7ff;
    text-transform: uppercase;
}

.card-content h3 {
    margin: 12px 0;
}

.card-content p {
    color: #9bafcb;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.tag {
    display: inline-block;
    color: #31d7ff;
    border: 1px solid #1b6488;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
}

.panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    background: linear-gradient(135deg,#102c53,#091528);
    border: 1px solid #17345a;
    border-radius: 15px;
    padding: 30px;
}

.panel h3 {
    font-size: 24px;
    margin: 15px 0;
}

.panel p {
    color: #9bafcb;
    line-height: 1.7;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    background: #0b1527;
    border: 1px solid #17345a;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    display: block;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: #31d7ff;
    box-shadow: 0 0 25px rgba(8,123,255,.2);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #123e75;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(8, 123, 255, 0.9);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: white;
    opacity: 0.9;
    transition: 0.2s;
}

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #31d7ff;
}

.video-info {
    padding: 14px 16px 16px;
}

.video-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

.video-info p {
    font-size: 13px;
    color: #9bafcb;
    line-height: 1.4;
}

.newsletter {
    background: linear-gradient(110deg,#0c3970,#087bff,#12b9f4);
    padding: 35px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.newsletter p {
    margin-top: 10px;
}

.newsletter a {
    background: #06152b;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: bold;
    white-space: nowrap;
}

/* Playtests Section */
.playtests-cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #102c53, #091528);
    border: 1px solid #17345a;
    border-radius: 16px;
    padding: 40px;
    margin-top: 10px;
}

.playtests-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.playtests-info p {
    color: #9bafcb;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}

.playtests-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.playtest-mini-card {
    background: #0b1527;
    border: 1px solid #17345a;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playtest-mini-card strong {
    color: #31d7ff;
    font-size: 15px;
}

.playtest-mini-card span {
    color: #9bafcb;
    font-size: 13px;
}

/* Latest Updates - Horizontal Cards */
.updates-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    overflow: hidden;
}

.updates-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.updates-heading h2 {
    color: #31d7ff;
    font-size: 28px;
    margin-bottom: 6px;
}

.updates-heading p {
    color: #9bafcb;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.updates-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.articles-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #087bff #101d35;
    padding: 10px 4px 20px;
    flex: 1;
}

.article-card {
    flex: 0 0 420px;
    background: #0b1527;
    border: 1px solid #17345a;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    min-height: 170px;
    display: flex;
    flex-direction: row;
    transition: 0.3s;
}

.article-card:hover {
    border-color: #31d7ff;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(8, 123, 255, 0.18);
}

.article-image-wrapper {
    position: relative;
    width: 160px;
    flex-shrink: 0;
    min-height: 170px;
}

.article-image,
.article-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-image-placeholder {
    background: linear-gradient(135deg, #123e75, #071323);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #31d7ff;
    font-size: 42px;
}

.article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 123, 255, 0.92);
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.article-details {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    color: #888;
}

.article-card h3 {
    font-size: 15.5px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card p {
    color: #9bafcb;
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #17345a;
}

.article-source {
    font-size: 11px;
    color: #777;
}

.article-card .read-more {
    color: #31d7ff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.article-card .read-more:hover {
    color: #12b9f4;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #31d7ff;
    border-radius: 50%;
    background: #0b1527;
    color: #31d7ff;
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.carousel-btn:hover {
    background: #087bff;
    color: white;
}

.updates-loading {
    color: #9bafcb;
}

footer {
    border-top: 1px solid #17345a;
    padding: 30px 0;
    color: #9bafcb;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a:hover {
    color: #31d7ff;
}

@media (max-width:900px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:800px) {
    .hero-content,
    .cards,
    .panels,
    .playtests-cta {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 12px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .newsletter,
    .updates-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .playtests-cta {
        padding: 30px 24px;
    }
}

@media (max-width:700px) {
    .article-card {
        flex: 0 0 300px;
        flex-direction: column;
        min-height: 320px;
    }

    .article-image-wrapper {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }
}

@media (max-width:500px) {
    nav {
        flex-direction: column;
        padding: 18px 0;
    }

    nav ul {
        justify-content: center;
    }

    .hero {
        padding: 55px 0;
    }

    .hero-art {
        min-height: 250px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}
