@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/D-DIN.woff2) format('woff2'),
        url(fonts/D-DIN.woff) format('woff');
}

@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/D-DIN-Bold.woff2) format('woff2'),
        url(fonts/D-DIN-Bold.woff) format('woff');
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: black;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4,8,12,.10), rgba(4,8,12,.36) 68%, rgba(4,8,12,.84));
    z-index: -1;
    pointer-events: none;
}

.hero-shell {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4vh 2vw 2vh;
}

.content {
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.title {
    margin-bottom: 3vh;
}

.title img {
    width: 60vw;
}

.subtitle {
    font-family: 'D-DIN', Arial, sans-serif;
    font-size: 1.5vw;
    margin-bottom: 5vh;
    margin-top: 5vh;
    letter-spacing: 0.05em;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}

.logo-container-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2vh;
}

.logo-container-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.5vh;
}

.badge-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75vw;
    color: white;
    text-decoration: none;
    padding: 1vw;
}

.badge-logo span {
    font-family: 'D-DIN', Arial, sans-serif;
    letter-spacing: .03em;
    font-size: 2.2vw;
    white-space: nowrap;
}

.badge-logo img {
    width: 2.2vw;
    height: 2.2vw;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.badge-logo:hover img,
.badge-logo:hover span { transform: scale(1.05); }

.community-logo span { font-size: 1.7vw; }

.separator {
    color: white;
    font-size: 6vh;
    font-weight: 300;
}

.hero-meta {
    margin-top: 3.2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1vh;
}

.ca-row {
    display: inline-flex;
    align-items: center;
    gap: .7vw;
    flex-wrap: wrap;
    justify-content: center;
    padding: .7vw 1vw;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    backdrop-filter: blur(5px);
}

.ca-label,
.social-row,
.copy-feedback,
.copy-ca-btn,
.ca-row code {
    font-family: 'D-DIN', Arial, sans-serif;
}

.ca-label {
    letter-spacing: .22em;
    font-size: .85vw;
    color: rgba(255,255,255,.72);
}

.ca-row code {
    font-size: .95vw;
    color: white;
}

.copy-ca-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: white;
    border-radius: 999px;
    padding: .45vw .9vw;
    cursor: pointer;
    font-size: .82vw;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.social-row {
    display: inline-flex;
    align-items: center;
    gap: .7vw;
    color: rgba(255,255,255,.76);
    font-size: .92vw;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.social-row a:hover { color: white; }

.copy-feedback {
    min-height: 1.1em;
    font-size: .78vw;
    color: rgba(255,255,255,.72);
}

.tweet-section {
    padding: 6rem 1.5rem 5rem;
}

.tweet-section-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.tweet-kicker {
    font-family: 'D-DIN', Arial, sans-serif;
    letter-spacing: .35em;
    font-size: .9rem;
    color: rgba(255,255,255,.62);
    text-align: center;
    margin-bottom: 1rem;
}

.tweet-section h2 {
    font-family: 'D-DIN', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.tweet-section p {
    max-width: 880px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,.78);
    text-align: center;
    font-family: 'D-DIN', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.tweet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.tweet-card {
    background: rgba(10,14,19,.56);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.twitter-tweet { margin: 0 auto !important; }

@media (max-width: 800px) {
    .hero-shell {
        padding-top: 8vh;
        align-items: center;
    }

    .title img {
        width: 86.4vw;
    }

    .subtitle {
        font-size: 3.9vw;
    }

    .logos {
        flex-direction: column;
        gap: 0;
    }

    .logo-container-left {
        margin-top: 0;
    }

    .logo-container-right {
        margin-top: 0;
        margin-left: 0;
    }

    .badge-logo span {
        font-size: 7vw;
    }

    .community-logo span { font-size: 5.5vw; }

    .badge-logo img {
        width: 6.5vw;
        height: 6.5vw;
    }

    .xai-logo,
    .spacex-logo,
    .tesla-logo {
        padding: 3vw;
    }

    .separator {
        font-size: 3vh;
        transform: rotate(90deg);
    }

    .ca-row {
        padding: 2.3vw 3vw;
        gap: 2vw;
        width: min(92vw, 720px);
    }

    .ca-label { font-size: 2.6vw; }
    .ca-row code { font-size: 2.7vw; }
    .copy-ca-btn { padding: 1.6vw 3vw; font-size: 2.5vw; }
    .social-row { font-size: 2.6vw; gap: 2vw; }
    .copy-feedback { font-size: 2.3vw; }

    .tweet-grid {
        grid-template-columns: 1fr;
    }
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.top-logos {
    margin-top: 10px;
}

.main-links {
    margin-top: 4px;
    margin-bottom: 18px;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.main-link-item {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-link-item:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.main-link-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    white-space: nowrap;
}

.main-links .separator {
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(255,255,255,0.9);
}
.main-link-item {
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
}

/* --- Refined hero / link styling --- */
.top-logos {
    margin-top: 12px;
    margin-bottom: 10px;
}

.main-links {
    gap: 16px;
    margin-top: 14px;
    margin-bottom: 24px;
}

.main-link-item {
    min-width: 250px;
    padding: 14px 26px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 8px 28px rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
}

.main-link-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.24);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.main-link-label {
    font-family: 'D-DIN', Arial, sans-serif;
    font-size: clamp(1.15rem, 1.55vw, 1.65rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.96);
}

/* --- Tweet section refresh --- */
.tweet-section {
    position: relative;
    z-index: 1;
    padding: 5.2rem 1.25rem 4.8rem;
}

.tweet-section-inner {
    max-width: 1360px;
    margin: 0 auto;
}

.tweet-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(340px, 1fr));
    gap: 1.5rem;
}

.tweet-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(12,16,22,0.64), rgba(7,10,14,0.56));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 18px 42px rgba(0,0,0,0.24);
    overflow: hidden;
}

.tweet-card-featured {
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 22px 56px rgba(0,0,0,0.30);
}

.tweet-card-meta {
    font-family: 'D-DIN', Arial, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    text-align: center;
    padding: 0.3rem 0 1rem;
}

.tweet-embed {
    width: 100%;
}

.tweet-card iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer {
    padding: 1.2rem 1.25rem 2.2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(7,10,14,0.42);
    backdrop-filter: blur(10px);
}

.footer-brand,
.footer-links a,
.footer-separator {
    font-family: 'D-DIN', Arial, sans-serif;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-brand {
    font-size: 0.95rem;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 800px) {
    .main-links {
        gap: 10px;
    }

    .main-link-item {
        min-width: min(86vw, 360px);
        padding: 12px 18px;
    }

    .main-link-label {
        font-size: clamp(1.08rem, 5.2vw, 1.5rem);
        letter-spacing: 0.14em;
    }

    .tweet-section {
        padding: 3.2rem 0.95rem 3.6rem;
    }

    .tweet-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tweet-card {
        border-radius: 24px;
        padding: 0.85rem;
    }

    .footer-inner {
        border-radius: 26px;
        flex-direction: column;
        text-align: center;
    }
}
.site-footer {
    width: 100%;
    padding: 28px 16px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-link-item {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-link-item:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .footer-links {
        gap: 12px;
    }

    .footer-link-item {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
}
.tweet-section {
    width: 100%;
    padding: 24px 16px 60px;
}

.tweet-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.tweet-card {
    width: 100%;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tweet-card iframe {
    max-width: 100% !important;
}

.tweet-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.load-more-tweets-btn {
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.tweet-fallback-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
}

@media (min-width: 900px) {
    .tweet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}