* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #070202;
    color: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.section-empty {
    color: #888;
    padding: 20px;
    font-weight: 500;
}
.section-empty a {
    color: #ff4d4d;
    font-weight: 700;
}

/* ==========================================
   NAVBAR
   ========================================== */
.hub-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 160px;
    padding: 0 40px;
    background: linear-gradient(rgba(7,2,2,0.85), rgba(7,2,2,0.95)), url('/hero-header.png') center/cover;
    border-bottom: 1px solid rgba(255, 77, 77, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hub-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    text-decoration: none;
}
.hub-logo-icon {
    height: 80%;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(255, 77, 77, 0.3));
}
.hub-logo-wordmark {
    height: 80%;
    width: auto;
}

.hub-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.hub-nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
.hub-nav-links a:hover,
.hub-nav-links a.active {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .hub-navbar { height: 110px; padding: 0 20px; flex-wrap: wrap; gap: 12px; }
    .hub-nav-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .hub-nav-links a { font-size: 0.95rem; }
}

/* ==========================================
   HERO — COVERFLOW DE VÍDEOS
   ========================================== */
.hero-carousel-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 20px;
}

.cf-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.cf-header-label {
    font-size: 1.6rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.5px;
}
.cf-header-counter {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
    letter-spacing: 1px;
}
.cf-header-counter .cf-counter-current {
    color: #ff4d4d;
    font-weight: 900;
}

.cf-header-rule {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 40px;
}

.cf-stage {
    --cf-center-w: 480px;
    --cf-center-h: 270px;
    --cf-side-w: 340px;
    --cf-side-h: 191px;
    --cf-gap: 24px;
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cf-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-empty {
    color: #888;
    text-align: center;
    padding-top: 25%;
    font-weight: 700;
}

.cf-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    height: 270px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
    background: #111;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
                width 0.55s cubic-bezier(0.65, 0, 0.35, 1),
                height 0.55s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.55s ease;
}

.cf-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: filter 0.4s ease;
    filter: brightness(0.7);
}
.cf-slide.cf-center .cf-slide-bg {
    filter: brightness(1);
}

.cf-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 26px;
    background: linear-gradient(180deg, rgba(7,2,2,0) 40%, rgba(7,2,2,0.92) 100%);
}

.cf-slide-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cf-slide:not(.cf-center) .cf-slide-title {
    font-size: 1.05rem;
}

.cf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease, transform 0.2s ease;
}
.cf-arrow:hover {
    background: rgba(255, 77, 77, 0.85);
    transform: translateY(-50%) scale(1.08);
}
.cf-arrow.prev { left: 0; }
.cf-arrow.next { right: 0; }

.cf-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.cf-dot {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cf-dot.active {
    background: #ff4d4d;
}

@media (max-width: 768px) {
    .cf-stage {
        --cf-center-w: 260px;
        --cf-center-h: 146px;
        --cf-side-w: 170px;
        --cf-side-h: 96px;
        --cf-gap: 12px;
        height: 200px;
    }
    .cf-slide-title { font-size: 1rem; }
    .cf-header-label { font-size: 1.2rem; }
}

/* ==========================================
   LAYOUT GERAL DE SEÇÃO
   ========================================== */
.hub-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hub-section-title {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: #fff;
}
.hub-section-title span {
    color: #ff4d4d;
}

/* ==========================================
   ÚLTIMOS DECKS DO FARPAS
   ========================================== */
.team-decks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.team-deck-card {
    display: block;
    text-decoration: none;
    background: #141414;
    border: 1px solid #292929;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.team-deck-card:hover {
    transform: translateY(-4px);
    border-color: #ff4d4d;
}

.team-deck-art {
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
}

.team-deck-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.team-deck-player {
    color: #ff4d4d;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.team-deck-commander {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.team-deck-position {
    color: #aaa;
    font-size: 0.8rem;
}

/* ==========================================
   NOSSOS PROJETOS
   ========================================== */
.project-feature-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #1a1010 0%, #0d0505 100%);
    border: 1px solid rgba(255, 77, 77, 0.25);
    border-radius: 16px;
    padding: 40px;
}

.project-feature-art {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    object-fit: contain;
}

.project-feature-body {
    flex: 1 1 320px;
}

.project-feature-body h3 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-feature-body p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 620px;
}

.project-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-project-primary,
.btn-project-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
.btn-project-primary {
    background: #ff4d4d;
    color: #fff;
}
.btn-project-primary:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
}
.btn-project-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #555;
}
.btn-project-secondary:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

/* ==========================================
   REDES SOCIAIS
   ========================================== */
.social-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.social-block {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 24px;
}
.social-block h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.social-block h4 img {
    height: 22px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 10px;
}
.instagram-post {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
}
.instagram-post img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.instagram-post:hover img {
    transform: scale(1.06);
}

.discord-widget-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 14px;
    transition: background 0.2s ease;
}
.discord-widget-card:hover {
    background: #222;
}
.discord-widget-icon {
    width: 40px;
    height: 40px;
}
.discord-widget-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.discord-widget-server {
    font-weight: 900;
    color: #fff;
}
.discord-widget-online {
    font-size: 0.8rem;
    color: #4ade80;
}

@media (max-width: 900px) {
    .social-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   FOOTER — mesmo design do site Duel Commander 500
   ========================================== */
.footer-farpas-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 20px;
    background: #0a0a0a;
    border-top: 2px solid #222;
}
.footer-brand, .footer-social {
    text-align: left;
}
.footer-brand img {
    margin-bottom: 10px;
}
.footer-brand h4, .footer-social h4 {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.footer-brand p {
    color: #888;
    max-width: 310px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #ff4d4d;
}
.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s;
}
.footer-social a:hover .social-icon {
    transform: scale(1.1);
}
.footer-bottom {
    background: #050101;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}
.footer-bottom-links {
    margin-top: 10px;
}
.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #ddd;
}
.footer-bottom-links .separator {
    margin: 0 10px;
    color: #444;
}

@media (max-width: 768px) {
    .footer-farpas-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand, .footer-social {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

/* ==========================================
   PÁGINAS INTERNAS — hero simples de sub-página
   ========================================== */
.page-hero {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 40px;
    text-align: center;
}
.page-hero h1 {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.page-hero h1 span {
    color: #ff4d4d;
}
.page-hero p {
    color: #ccc;
    font-size: 0.85rem;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero { padding: 12px 20px; }
}

/* ==========================================
   DECKS — filtro por integrante
   ========================================== */
.deck-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.deck-filter-btn {
    background: #141414;
    border: 1px solid #292929;
    color: #ccc;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.deck-filter-btn:hover {
    border-color: #ff4d4d;
    color: #fff;
}
.deck-filter-btn.active {
    background: #ff4d4d;
    border-color: #ff4d4d;
    color: #fff;
}

.hub-section-cta {
    text-align: center;
    margin-top: 28px;
}

/* ==========================================
   SCREENSHOT DO PORTAL (página Duel Commander 500)
   ========================================== */
.portal-screenshot-frame {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #292929;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.portal-screenshot-frame:hover {
    transform: translateY(-4px);
    border-color: #ff4d4d;
}
.portal-screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   LOJA — grid de produtos (placeholder)
   ========================================== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.store-card {
    display: flex;
    flex-direction: column;
    background: #141414;
    border: 1px solid #292929;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.store-card:hover {
    transform: translateY(-4px);
    border-color: #ff4d4d;
}

.store-img-placeholder {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1010 0%, #0d0505 100%);
}
.store-img-placeholder .material-icons-round {
    font-size: 3rem;
    color: #444;
}

.store-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4d4d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.store-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.store-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.store-desc {
    color: #999;
    font-size: 0.82rem;
    line-height: 1.4;
    flex: 1;
}
.store-price {
    color: #ff4d4d;
    font-weight: 900;
    font-size: 1.1rem;
    margin-top: 4px;
}

.store-btn-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 16px 16px;
    padding: 10px;
    border-radius: 8px;
    background: #1f1f1f;
    color: #777;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    cursor: not-allowed;
    border: 1px solid #2a2a2a;
}

/* ==========================================
   PRÉVIA DE COMANDANTES (página Duel Commander 500)
   ========================================== */
.commanders-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.commander-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #141414;
    border: 1px solid #292929;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.commander-preview-item:hover {
    border-color: #ff4d4d;
    transform: translateY(-2px);
}
.commander-preview-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.commander-preview-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.commander-preview-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.commander-preview-stat {
    color: #ff4d4d;
    font-size: 0.75rem;
    font-weight: 700;
}
