* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #594cd4;
    --primary-dark: #4a3db5;
    --secondary: #25b584;
    --background: #0a0a0f;
    --surface: #141419;
    --surface-light: #1e1e28;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --border: #2d2d3d;
    --error: #ef4444;
    --success: #10b981;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0f2e 50%, #0a0a0f 100%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(89, 76, 212, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #594cd4 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.hero-logo-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--text);
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn-hero-primary:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(89, 76, 212, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text);
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--surface);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.section-link:hover {
    opacity: 0.8;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Notices */
.notices-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-item {
    display: flex;
    gap: 16px;
    background: var(--surface-light);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.notice-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.notice-icon-E {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notice-icon-U {
    background: rgba(37, 181, 132, 0.2);
    color: #25b584;
}

.notice-icon-N {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.notice-content {
    flex: 1;
}

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.notice-date {
    font-size: 14px;
    color: var(--text-muted);
}

/* Ranking */
.ranking-table {
    background: var(--surface-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.ranking-header {
    display: grid;
    grid-template-columns: 80px 1fr 80px 100px 80px 80px 100px;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.ranking-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px 100px 80px 80px 100px;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background 0.3s;
}

.ranking-row:hover {
    background: var(--surface);
}

.ranking-row:last-child {
    border-bottom: none;
}

.ranking-position {
    font-weight: 700;
}

.ranking-medal {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.ranking-medal-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.ranking-medal-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #000;
}

.ranking-medal-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a87c 100%);
    color: #000;
}

.ranking-nick {
    font-weight: 600;
}

/* Tutorials */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tutorial-card {
    background: var(--surface-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s;
}

.tutorial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.tutorial-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.tutorial-icon-I {
    background: rgba(89, 76, 212, 0.2);
    color: var(--primary);
}

.tutorial-icon-R {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.tutorial-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.tutorial-date {
    font-size: 14px;
    color: var(--text-muted);
}

/* ======== DISCORD CARD ======== */
.discord-widget {
    background: transparent;
    border: 3px solid var(--primary-color);
    border-radius: 14px;
    margin-top: 20px;
    box-shadow: 0 0 12px color-mix(in srgb, var(--primary-color) 25%, transparent);
    overflow: hidden;
}

/* Cabeçalho */
.discord-header {
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: #e0e0e0;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.discord-header-icon {
    font-size: 20px;
    color: #a1a1a1; /* tom cinza metálico */
    animation: pulseIcon 2.5s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Corpo */
.discord-card {
    background: #18191c;
    padding: 22px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.discord-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.discord-server-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 2px solid #222;
    transition: transform 0.2s;
}

.discord-server-icon:hover {
    transform: scale(1.05);
}

.discord-server-name {
    margin: 0;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.discord-online {
    font-size: 13px;
    color: #b0b0b0;
}

.discord-members {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
    max-height: 48px;
    overflow: hidden;
}

.discord-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #222;
    transition: transform 0.2s;
}

.discord-avatar:hover {
    transform: scale(1.08);
}

.discord-more {
    background: #222;
    color: #ccc;
    border-radius: 20px;
    font-size: 12px;
    padding: 5px 10px;
}

.discord-button {
    display: block;
    background: #5865F2;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 14px;
    transition: background 0.3s;
}

.discord-button:hover {
    background: #4752c4;
}




/* Auth Pages */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.auth-card {
    background: var(--surface-light);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
    max-width: 480px;
    width: 100%;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
}

.form-input {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-error {
    color: var(--error);
    font-size: 12px;
}

.btn-submit {
    background: var(--primary);
    color: var(--text);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 16px 24px;
    border-radius: 8px;
    margin: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Dashboard */
.dashboard-section {
    min-height: 100vh;
    padding: 100px 20px 40px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 18px;
}

.dashboard-nav {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.dashboard-nav-item {
    padding: 16px 0;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--surface-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(89, 76, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.dashboard-tables {
    display: grid;
    gap: 40px;
}

.dashboard-table-section {
    background: var(--surface-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.dashboard-table th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.dashboard-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-admin {
    background: rgba(89, 76, 212, 0.2);
    color: var(--primary);
}

.status-user {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

:root {
    --footer-bg: #0d0b14;
    --footer-border: #2e2347;
    --footer-text: #ddd;
    --footer-muted: #aaa;
    --footer-link: #aaa;
    --footer-link-hover: var(--primary-color, #c4a1ff);
    --footer-accent: var(--primary-color, #5f3bbd);
}

/* ======================= FOOTER (compact) ======================= */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 30px 20px 16px; /* reduzido de 60px 20px 30px */
    font-family: 'Roboto', sans-serif;
    border-top: 1px solid var(--footer-border); /* mais sutil */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px; /* reduzido de 40px */
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-logo {
    max-width: 140px; /* menor */
    margin-bottom: 10px; /* reduzido */
}

.footer-desc {
    color: var(--footer-muted);
    font-size: 13px; /* reduzido de 14px */
    line-height: 1.4; /* ligeiramente menor */
    margin-bottom: 12px; /* reduzido */
}

/* ==== SOCIAL ==== */
.footer-social {
    display: flex;
    gap: 10px; /* reduzido */
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;  /* menor */
    height: 30px; /* menor */
    border-radius: 50%;
    background: #1e1a2b;
    color: var(--footer-link-hover);
    font-size: 14px; /* reduzido */
    transition: 0.2s;
}

.footer-social a:hover {
    background: var(--footer-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ==== COLUNAS DE LINKS ==== */
.footer-col h4 {
    font-size: 15px; /* reduzido */
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px; /* reduzido */
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px; /* reduzido */
}

.footer-col ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 13px; /* reduzido */
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* ==== PARTE INFERIOR ==== */
.footer-bottom {
    text-align: center;
    margin-top: 18px; /* reduzido */
    border-top: 1px solid var(--footer-border);
    padding-top: 12px; /* reduzido */
}

.footer-bottom p {
    color: #777;
    font-size: 12px; /* reduzido de 13px */
    line-height: 1.4;
}

/* ==== RESPONSIVIDADE ==== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h4 {
        margin-top: 12px;
    }
}

/* ===== MÍDIA DE SCREENSHOTS ===== */
.screenshots-section {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 80px;
}

.screenshots-header {
    margin-bottom: 40px;
}

.screenshots-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.screenshots-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 4px;
}

/* ====== CARROSSEL ====== */
.screenshots-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 40px;
    padding: 0 40px;
}

.screenshots-wrapper {
    display: flex;
    transition: transform 0.6s ease;
    gap: 24px;
}

.screenshot-card {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

.screenshot-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 1;
}

.screenshot-title {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    text-align: left;
    text-transform: uppercase;
}

/* ====== BOTÕES DO CARROSSEL ====== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 50%;
    z-index: 5;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* ====== INDICADORES ====== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ====== MODAL DE IMAGEM ====== */
.screenshot-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.screenshot-modal.active {
    opacity: 1;
    pointer-events: all;
}

.screenshot-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.screenshot-modal.active img {
    transform: scale(1);
}

.screenshot-modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.screenshot-modal-close:hover {
    color: var(--primary);
}

/* ====== ANIMAÇÃO FADE-IN DO LIGHTBOX ====== */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* ====== RESPONSIVO ====== */
@media (max-width: 992px) {
    .screenshot-card {
        width: 240px;
        height: 150px;
    }

    .carousel-btn.prev {
        left: -10px;
    }

    .carousel-btn.next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .screenshots-carousel {
        padding: 0 20px;
    }

    .screenshot-card {
        width: 200px;
        height: 130px;
    }

    .carousel-btn {
        font-size: 22px;
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .screenshot-card {
        width: 160px;
        height: 110px;
    }

    .carousel-btn {
        font-size: 18px;
        padding: 6px 8px;
    }
    /* ===== Indicators (bolinhas) e ajustes visuais ===== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;   /* garante estar abaixo das miniaturas */
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: transform 0.24s ease, background 0.24s ease;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05) inset;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.35);
    box-shadow: 0 0 8px rgba(0,0,0,0.45);
}

/* Deixa os botões mais "flush" com a linha horizontal das imagens (visualmente centralizados) */
.screenshots-carousel .carousel-btn.prev {
    left: 8px;
}
.screenshots-carousel .carousel-btn.next {
    right: 8px;
}

.screenshots-carousel { padding: 0 16px; }

/* pequena melhoria no wrapper para trabalhar bem com translate% */
#carouselWrapper {
    width: 100%;
    will-change: transform;
}

/* =========== CSS BUTTONS E BANNER DA HOME ================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    background-color: #070707;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-background { display: none; }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.3));
    z-index: 0;
}

.hero .container { position: relative; z-index: 2; }

.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    transform: translateY(110px);
}

.hero-logo-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.6;
    max-width: 880px;
    margin: 0 auto 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-hero-primary {
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}

.btn-hero-primary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-hero-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.08);
}

.hero-banners .banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1200px;
    margin: 26px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    left: 52%;
    transform: translateX(-50%);
    bottom: -100px;
    z-index: 3;
    opacity: 0.8;
    animation: pulse 1.6s infinite;
    transition: opacity 0.2s ease;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

.btn-image-play img,
.btn-image-download img {
    width: 160px;
    height: auto;
    transition: all 0.35s ease;
    transform-origin: center;
}

.btn-image-play:hover img,
.btn-image-download:hover img {
    transform: scale(1.08);
    filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 120, 0, 0.7));
}

.btn-image-play img:hover,
.btn-image-download img:hover {
    animation: flash-slow 0.6s ease-in-out;
}

@keyframes flash-slow {
    0% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(2); transform: scale(1.1); }
    100% { filter: brightness(1.5); transform: scale(1.08); }
}

.btn-image-play:active img,
.btn-image-download:active img {
    transform: scale(0.95);
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(255, 80, 0, 0.5));
}

/* =========================
   STACK SECTIONS (NOTÍCIAS | RANKING | DISCORD) - RESPONSIVO
   ========================= */

/* A partir de tablets/pequenos notebooks, empilhar em 1 coluna */
@media (max-width: 1024px) {
    /* Faz a grid virar coluna única */
    .section-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        align-items: start;
    }

    /* Garante que as colunas ocupem 100% */
    .section-left,
    .section-right {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Ordem desejada: Notícias -> Ranking -> Discord (ranking e discord ficam dentro de section-right) */
    .section-left { order: 1; }
    .section-right { order: 2; }

    /* Ajustes visuais para cards e listas */
    .notices-list, .notices-list .notice-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .discord-widget {
        width: 100% !important;
        margin-top: 8px !important;
    }

    /* pequenos ajustes para o ranking/card */
    .ranking-home {
        width: 100% !important;
        overflow: visible !important;
    }
}

/* Em telas de celular, tornar tudo mais compacto e com espaçamento confortável */
@media (max-width: 768px) {
    .section-grid {
        gap: 28px;
        padding: 0 12px;
    }

    .section-left, .section-right {
        padding: 0;
    }

    .notices-list {
        gap: 12px;
    }

    /* Se seus .notice-item forem links com layout em fila, forçamos empilhamento */
    .notice-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .notice-content {
        width: 100% !important;
    }

    /* Ranking: reduz fonte e padding para caber melhor */
    .ranking-home table,
    .ranking-home {
        font-size: 13px !important;
        padding: 12px !important;
    }

    .discord-widget {
        padding: 12px !important;
    }
}

/* Telefones pequenos */
@media (max-width: 480px) {
    .section-grid {
        gap: 20px;
        padding: 0 8px;
    }

    .section-left .section-header,
    .section-right .section-header {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 22px !important;
    }

    .notices-list .notice-item {
        padding: 10px !important;
    }

    .ranking-home {
        font-size: 12px !important;
    }

    /* Remove overflow horizontal indesejado */
    .ranking-home, .discord-widget, .notices-list {
        overflow: visible !important;
    }
}

/* ===== Ajuste de espaçamento lateral no mobile ===== */
@media (max-width: 768px) {
    body,
    html {
        overflow-x: hidden !important;
    }

    .section-grid,
    .section-left,
    .section-right,
    .notices-list,
    .ranking-home,
    .discord-widget {
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Garante que a tabela do ranking não estoure a largura */
    .ranking-home table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Remove possíveis sombras/bordas que passam da viewport */
    .notice-item,
    .ranking-home,
    .discord-widget {
        border-radius: 10px !important;
        overflow: hidden !important;
    }
}

/* Ajuste extra para telas muito pequenas */
@media (max-width: 480px) {
    .section-grid,
    .section-left,
    .section-right {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/*============= EFFECT BANNER ==================*/

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 0;
  width: 100%;
  height: 150%;
  background: radial-gradient(circle at 50% 90%, rgba(255, 100, 0, 0.2), transparent 70%);
  animation: flameGlow 6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes flameGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}


}

