* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --surface: #101010;
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.06);
    --text: #ece8e1;
    --muted: #a9acab;
    --soft: #6b6f6e;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: var(--text);
    letter-spacing: 0.1px;
}

nav {
    position: fixed;
    width: 100%;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(3px);
    z-index: 100;
    transition: 0.3s;
}

nav:hover {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

nav img {
    height: 36px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text);
}

.news {
    padding-top: 8rem;
}

.news-content {
    padding: 50px 90px 40px;
}

.news-content h1 {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 100;
}

/* NEWS LIST (horizontal scroll) */
.news-list {
    display: flex;
    gap: 30px;
    padding: 60px 80px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

/* hide ugly scrollbar */
.news-list::-webkit-scrollbar {
    height: 6px;
}

.news-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
}

/* CARD */
.news-card {
    position: relative;
    min-width: 320px;
    height: 440px;
    flex: 0 0 auto;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: start;
    transition: transform 0.4s ease;
}

/* BACKGROUND IMAGE */
.news-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.6s ease;
}

/* DARK OVERLAY */
.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.7) 80%
    );
    z-index: 1;
}

/* HEADER (logo + name) */
.news-header {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.news-header img {
    height: 22px;
    width: auto;
}

.news-header span {
    font-size: 12px;
    letter-spacing: 1px;
    color: #ccc;
}

/* TEXT */
.news-paragraph {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.topic {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 6px;
}

.headline {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

/* HOVER EFFECT */
.news-card:hover {
    transform: translateY(-6px);
}

.news-card:hover .news-bg {
    transform: scale(1.05);
}

.footer {
    margin-top: 120px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 80px 40px;
}

/* TOP GRID */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

/* BRAND */
.footer-brand img {
    height: 36px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #888;
    max-width: 400px;
    line-height: 1.7;
}

/* SOCIAL */
.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #fff;
}

/* NAV */
.footer-nav h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    margin-bottom: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* BOTTOM */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 12px;
    color: #555;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media(max-width: 900px) {

    nav {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .news-content {
        padding: 50px 20px 40px;
    }
}

@media (max-width: 760px) {
    nav {
        padding-top: 18px;
        padding-bottom: 18px;
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

