@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    --primary-color: #FFC107;
    --secondary-color: #9f46e4;
    --bg-dark: #121212;
    --card-bg: #1E1E1E;
    --text-light: #F5F5F5;
    --text-dark: #121212;
    --font-title: 'Press Start 2P', cursive;
    --font-body: 'Roboto Condensed', sans-serif;
    --border-color: #3a3a3a;
    --green-color: #28a745;
    /* Adicionando a cor verde para os checks */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.7;
}

.support-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- HEADER --- */
.support-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}

.back-link {
    display: inline-block;
    color: #888;
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.back-link:hover {
    color: white;
}

.back-link i {
    margin-right: 8px;
}

.support-header h1 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: #ccc;
}

/* --- SEÇÕES --- */
section {
    margin-bottom: 60px;
}

h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

h2 i {
    margin-right: 15px;
}

section p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    background-color: var(--card-bg);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    text-align: left;
}

/* --- LIVEPIX WIDGET --- */
.how-to-support-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.livepix-widget-container {
    width: 240px;
    height: 320px;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: transparent;
}

.livepix-widget-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-dark) !important;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-title);
    border-radius: 4px;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* --- RECOMPENSAS REIMAGINADAS --- */
.rewards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.reward-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reward-header {
    background-color: #2a2a2a;
    padding: 20px;
    text-align: center;
}

.reward-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reward-header h3 {
    color: var(--text-light);
    font-family: var(--font-title);
    /* CORRIGIDO: Usa a fonte correta */
    font-size: 1.1rem;
    /* Ajustado para caber melhor */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.reward-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.reward-tier {
    display: inline-block;
    background-color: #333;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    align-self: center;
}

.reward-card p {
    font-size: 1rem;
    color: #aaa;
    text-align: left;
    /* CORRIGIDO: Alinha o texto à esquerda para melhor leitura */
    margin-bottom: 25px;
}

/* Adicione estas novas regras */
.reward-card ul {
    margin-top: 0;
    /* CORRIGIDO: Remove a margem extra */
}

.reward-card ul li {
    line-height: 1.5;
    /* Melhora o espaçamento entre linhas */
}

.reward-card ul li strong {
    color: var(--text-light);
    /* Deixa o texto em negrito mais destacado */
    font-weight: 700;
}

.reward-card.premium .reward-header {
    background: linear-gradient(45deg, var(--primary-color), #ffdb58);
}

.reward-card.premium .reward-header i {
    color: var(--text-dark);
}

.reward-card.premium .reward-header h3 {
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.reward-card.premium {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.15);
}

@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SEÇÃO "COMO A LISTA É ATUALIZADA" --- */
.update-info-section {
    max-width: 700px;
    margin: 60px auto;
    padding: 25px;
    background-color: var(--card-bg);
    border-top: 3px solid var(--primary-color);
    border-radius: 8px;
}

.update-info-section h3 {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.update-info-section h3 i {
    margin-right: 10px;
}

.update-info-section p {
    font-size: 1rem;
    text-align: center;
    color: #ccc;
    margin: 0;
}

/* --- SEÇÃO "ESTÚDIO FORJA" --- */
.credits-list {
    margin-top: 30px;
}

.credit-role {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.credit-name {
    color: #ccc;
    text-align: center;
    padding: 5px 0;
}

.main-creator {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-light);
}

.credit-name.placeholder {
    color: #555;
    font-style: italic;
}

/* --- SEÇÃO DE PARCERIA --- */
.partnership-section {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 40px;
    margin-top: 80px;
    border-top: 3px solid var(--secondary-color);
    text-align: center;
}

.vision-text p {
    text-align: justify;
    font-size: 1rem;
    margin-bottom: 20px;
}

.past-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.project-card {
    background-color: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.project-card h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-color);
    margin: 15px 0 10px 0;
}

.project-card p {
    font-size: 0.9rem;
    padding: 0 15px 15px 15px;
    color: #888;
    margin: 0;
}

.professional-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.cta-button.prof-link {
    background-color: #333;
    color: #ccc !important;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 0.9rem;
}

.cta-button.prof-link:hover {
    color: white !important;
    background-color: #444;
}

.contact-button-container {
    text-align: center;
}

.cta-button.contact-button {
    background-color: var(--secondary-color);
    color: var(--text-light) !important;
    font-family: var(--font-title);
    font-size: 1.2rem;
    padding: 15px 35px;
    position: relative;
    overflow: hidden;
}

.cta-button.contact-button .button-icon {
    margin-right: 15px;
    animation: shake 2s infinite ease-in-out;
}

.cta-button.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button.contact-button:hover::before {
    left: 100%;
}

/* --- GLITCH EFFECT --- */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color), 2px 2px var(--secondary-color);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

/* --- KEYFRAMES --- */
@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(45% 0 50% 0);
    }

    20% {
        clip-path: inset(10% 0 85% 0);
    }

    40% {
        clip-path: inset(55% 0 20% 0);
    }

    60% {
        clip-path: inset(5% 0 90% 0);
    }

    80% {
        clip-path: inset(30% 0 60% 0);
    }

    100% {
        clip-path: inset(50% 0 45% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 80% 0);
    }

    20% {
        clip-path: inset(80% 0 5% 0);
    }

    40% {
        clip-path: inset(25% 0 65% 0);
    }

    60% {
        clip-path: inset(70% 0 10% 0);
    }

    80% {
        clip-path: inset(40% 0 50% 0);
    }

    100% {
        clip-path: inset(20% 0 75% 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-5deg);
    }

    20%,
    40% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(0deg);
    }
}