/* =========================================================
   LUÃS DANIEL â€” SITE
========================================================= */

:root {
    --bg: #1E2124;
    --panel: #25292D;
    --orange: #ED980F;
    --text: #F5F5F5;
    --muted: #B8BDC2;
    --border: #383D42;
    --radius: 16px;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(30, 33, 36, 0.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 58px;

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

    gap: 24px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: var(--muted);

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

nav a:hover {
    color: var(--orange);
    transform: translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 70vh;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -160px;

    background: var(--orange);
    opacity: 0.08;

    border-radius: 50%;

    filter: blur(40px);
}

.hero-content {
    max-width: 820px;

    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--orange);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    letter-spacing: -3px;

    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    max-width: 680px;

    color: var(--muted);

    font-size: 1.15rem;

    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   BOTÃ•ES
========================================================= */

.btn {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--orange);
    color: #17191B;
}

.btn-primary:hover {
    background: #f5a91c;
}

.btn-secondary {
    background: transparent;

    border: 1px solid var(--border);

    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}


/* =========================================================
   SECÃ‡Ã•ES
========================================================= */

section {
    padding: 100px 0;

    border-top: 1px solid var(--border);
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading .label {
    display: block;

    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.1;

    margin-bottom: 15px;
}

.section-heading p {
    max-width: 680px;

    color: var(--muted);
}


/* =========================================================
   TWITCH
========================================================= */

.twitch-layout {
    display: grid;

    grid-template-columns: 1.6fr 1fr;

    gap: 24px;

    align-items: stretch;
}

.twitch-player {
    background: #000;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    aspect-ratio: 16 / 9;
}

.twitch-player iframe {
    width: 100%;
    height: 100%;

    border: 0;
}

.twitch-info {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 32px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.live-indicator {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--orange);

    font-weight: 800;

    margin-bottom: 18px;
}

.live-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #ff3b30;

    box-shadow:
        0 0 12px rgba(255, 59, 48, 0.8);
}

.twitch-info h3 {
    font-size: 1.8rem;

    margin-bottom: 14px;
}

.twitch-info p {
    color: var(--muted);

    margin-bottom: 25px;
}


/* =========================================================
   SOBRE MIM
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 24px;
}

.about-text {
    font-size: 1.1rem;

    color: var(--muted);
}

.about-text p + p {
    margin-top: 18px;
}

.about-card {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px;
}

.about-card .icon {
    font-size: 2rem;

    margin-bottom: 18px;
}

.about-card h3 {
    margin-bottom: 10px;
}

.about-card p {
    color: var(--muted);
}


/* =========================================================
   CONTEÃšDO
========================================================= */

.content-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.content-card {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 32px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.content-card:hover {
    transform: translateY(-4px);

    border-color: var(--orange);
}

.content-card .icon {
    font-size: 2.2rem;

    margin-bottom: 18px;
}

.content-card h3 {
    font-size: 1.5rem;

    margin-bottom: 10px;
}

.content-card p {
    color: var(--muted);

    margin-bottom: 22px;
}


/* =========================================================
   ÃšLTIMOS CONTEÃšDOS
========================================================= */

.latest-content {
    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.latest-card {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px;

    min-height: 180px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
}

.latest-card h3 {
    margin-bottom: 8px;
}

.latest-card p {
    color: var(--muted);
}


/* =========================================================
   YOUTUBE
========================================================= */

.youtube-section {
    overflow: hidden;
}

.youtube-section-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.youtube-section-header .label {
    display: block;

    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}

.youtube-section-header h3 {
    margin-bottom: 0;
}

#youtube-latest {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    min-height: 0;
}

#youtube-latest .latest-card {
    min-height: 0;

    padding: 0;

    overflow: hidden;
}

#youtube-latest .latest-card > a {
    display: block;
}

#youtube-latest .latest-thumbnail {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #000;

    overflow: hidden;
}

#youtube-latest .latest-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.25s ease;
}

#youtube-latest .latest-card:hover .latest-thumbnail img {
    transform: scale(1.03);
}

#youtube-latest .latest-card > a > div:last-child {
    padding: 18px;
}

#youtube-latest .latest-platform {
    display: inline-block;

    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 7px;
}

#youtube-latest .latest-card h3 {
    margin: 0;

    font-size: 0.98rem;

    line-height: 1.4;
}

#youtube-latest .latest-loading {
    grid-column: 1 / -1;

    min-height: 150px;

    display: flex;

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

    color: var(--muted);

    font-size: 0.9rem;

    padding: 30px;
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

.social-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.social-card {
    position: relative;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px;

    min-height: 190px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.social-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -50px;
    bottom: -50px;

    background: var(--orange);

    opacity: 0.06;

    border-radius: 50%;
}

.social-card:hover {
    transform: translateY(-4px);

    border-color: var(--orange);
}

.social-top {
    display: flex;

    align-items: center;

    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 12px;

    background: #1E2124;

    border: 1px solid var(--border);

    display: flex;

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

    font-size: 1.5rem;
}

.social-card h3 {
    font-size: 1.2rem;
}

.username {
    color: var(--muted);

    font-size: 0.9rem;
}

.social-link {
    color: var(--orange);

    font-weight: 800;

    margin-top: 20px;
}


/* =========================================================
   PARCERIAS
========================================================= */

.partnership-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   INSTANT GAMING
========================================================= */

.partner-card {
    position: relative;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 35px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
}

.partner-card::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    top: -120px;

    background: var(--orange);

    opacity: 0.05;

    border-radius: 50%;
}

.partner-label {
    position: relative;

    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 14px;
}

.partner-logo {
    position: relative;

    width: min(100%, 360px);

    height: 105px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;
    justify-content: flex-start;
}

.partner-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: left center;
}

.partner-card h3 {
    position: relative;

    font-size: 1.5rem;

    margin-bottom: 10px;
}

.partner-card p {
    position: relative;

    color: var(--muted);

    margin-bottom: 25px;

    max-width: 500px;
}

.affiliate-note {
    position: relative;

    color: var(--muted);

    font-size: 0.78rem;

    margin-top: 12px;
}


/* =========================================================
   PUBLICIDADE
========================================================= */

.advertising-box {
    background:
        linear-gradient(
            135deg,
            rgba(237, 152, 15, 0.10),
            rgba(237, 152, 15, 0.02)
        );

    border: 1px dashed rgba(237, 152, 15, 0.55);

    border-radius: var(--radius);

    padding: 35px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.advertising-box .label {
    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.advertising-box h3 {
    font-size: 1.7rem;

    margin-bottom: 12px;
}

.advertising-box p {
    color: var(--muted);

    margin-bottom: 25px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    border-top: 1px solid var(--border);

    padding: 35px 0;
}

.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-brand {
    font-weight: 800;
}

.footer-brand span {
    color: var(--orange);
}

.footer-socials {
    display: flex;

    gap: 18px;
}

.footer-socials a {
    color: var(--muted);

    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--orange);
}

.copyright {
    color: var(--muted);

    font-size: 0.8rem;

    margin-top: 20px;
}


/* =========================================================
   TWITCH STATUS
========================================================= */

.live-indicator.is-offline {
    color: var(--muted);
}

.live-indicator.is-offline .live-dot {
    background: #666;

    box-shadow: none;
}

.live-indicator.is-online {
    color: #ff3b30;
}

.live-indicator.is-online .live-dot {
    background: #ff3b30;

    box-shadow:
        0 0 12px rgba(255, 59, 48, 0.8);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    nav {
        gap: 15px;
    }

    .twitch-layout,
    .about-grid,
    .partnership-layout {
        grid-template-columns: 1fr;
    }

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

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

    #youtube-latest {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }

    section {
        padding: 70px 0;
    }

    .navbar {
        min-height: 64px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 72vh;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.5rem);

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .social-grid,
    .latest-content {
        grid-template-columns: 1fr;
    }

    #youtube-latest {
        grid-template-columns: 1fr;
    }

    .youtube-section-header {
        align-items: center;
        flex-direction: column;
    }

    .twitch-info,
    .about-card,
    .content-card,
    .social-card,
    .latest-card,
    .partner-card,
    .advertising-box {
        padding: 25px;
    }

    .partner-logo {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;

        align-items: center;
    }
}

/* =================================================
   INSTAGRAM — ÚLTIMAS PUBLICAÇÕES
================================================= */

.instagram-section {
    margin-top: 22px;
}

.instagram-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.instagram-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.instagram-post {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.instagram-post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .instagram-posts {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Instagram ocupa toda a largura da secção de conteúdo */
.latest-content .instagram-section {
    grid-column: 1 / -1;
}

/* YouTube ocupa toda a largura da secção de conteúdo */
.latest-content .youtube-section {
    grid-column: 1 / -1;
}
