/* 1. CONFIGURAÇÕES GLOBAIS E VARIÁVEIS DE DESIGN */
:root {
    --brand-purple: #a020f0;
    --brand-purple-rgb: 160, 32, 240;
    --background-primary: #0d0d12;
    --background-secondary: #1a1a1a;
    --text-primary: #f1f1f1;
    --text-secondary: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --footer-background: #0A0A0E;
    --footer-border-color: rgba(138, 43, 226, 0.2);

    --success-color: #28a745;
    --danger-color: #e74c3c;
    --status-online: #00ff89;
    --warning-color: #ffc107;


    --card-bg-color: rgba(30, 30, 40, 0.6);
    --card-border-color: rgba(255, 255, 255, 0.1);
    --text-glass-light: #f0f0f5;
    --vip-card-bg: #1f1f1f;
    --vip-feature-icon-color: var(--brand-purple);
    --vip-button-text-color: #ffffff;
    --vip-button-hover-bg: #6A1FB1;

    /* Efeitos e Transições */
    --hover-translate-y: -10px;
    --neon-glow: 0 0 10px rgba(160, 32, 240, 0.7), 0 0 20px rgba(160, 32, 240, 0.5);
    --button-neon-glow: 0 0 15px rgba(255, 87, 51, 0.6), 0 0 5px rgba(255, 87, 51, 0.9);
    --button-bg-color: linear-gradient(45deg, #c00047, #ff4d29);
    --transition-speed: 0.3s;

    --radius: 16px;
}


/* 2. RESET E ESTILOS DE BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    transition: opacity 0.4s ease-in;
}

body.loaded {
    opacity: 1 !important;
}

body.disable-scroll {
    overflow: hidden !important;
}

main {
    flex-grow: 1;
}

/* Geral para inputs e textareas */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 1rem;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 10px rgba(var(--brand-purple-rgb), 0.5);
}


/* 3. ANIMAÇÕES GLOBAIS (KEYFRAMES) */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kenBurnsEffect {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px 0px rgba(var(--brand-purple-rgb), 0.4); }
    50% { box-shadow: 0 0 35px 10px rgba(var(--brand-purple-rgb), 0.2); }
}

@keyframes fadeInGrid {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInContent {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes background-pan {
    0% { background-position: 0 0; }
    100% { background-position: 240px 240px; }
}

@keyframes pulse-glow {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 0.7; transform: scale(1.05); }
}

@keyframes text-reveal {
    from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* 4. LAYOUT E SEÇÕES GERAIS */
.content-section {
    background-color: var(--background-primary);
    color: var(--text-primary);
    padding: 120px 2rem 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 200px); /* Ajuste para acomodar header/footer */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--brand-purple);
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto 3rem auto;
    line-height: 1.7;
    animation: fadeInUp 1.2s ease-out;
}

.text-brand {
    color: var(--brand-purple) !important;
}


/* 5. COMPONENTES REUTILIZÁVEIS */

/* Logo (usado no Header e Footer) */
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: white;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-subtitle {
    color: var(--brand-purple);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Botão Principal (Hero) */
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--brand-purple);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(var(--brand-purple-rgb), 0.4);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0%;
    height: 100%;
    background: var(--brand-purple);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 35px rgba(var(--brand-purple-rgb), 0.7);
    border-color: transparent;
}

.hero-button i {
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-button:hover i {
    transform: scale(1.2);
}


/* 6. PRELOADER E TELA DE SPLASH */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--brand-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

body.splash-active {
    overflow: hidden;
}
body.splash-active .main-header,
body.splash-active .site-footer {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}
body.splash-active .hero-section {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
body.splash-active .hero-content {
    animation: fadeInContent 1.5s 0.5s ease-out forwards;
    opacity: 0;
}
body.splash-active #main-content > section:not(.hero-section) {
    display: none;
}


/* 7. HEADER */
.main-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    height: 70px;
    padding: 0 1rem;
    z-index: 1000;
    background-color: rgba(14, 14, 14, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out forwards;
    transition: height 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.main-header.scrolled {
    height: 60px;
    background-color: rgba(22, 22, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.header-logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}

.main-header.scrolled .header-logo-img {
    transform: scale(0.9);
}

.header-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.header-nav a:not(.header-btn):hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.header-nav a.active {
    color: white !important;
    text-shadow: 0 0 10px var(--brand-purple);
}

.header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--brand-purple);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--brand-purple);
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.header-nav a.active:hover::after {
    width: 35px;
}

.header-btn {
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--brand-purple);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -5px rgba(var(--brand-purple-rgb), 0.6);
}

.header-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.header-btn:hover::before {
    left: 100%;
}

.header-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 7px 25px -5px rgba(var(--brand-purple-rgb), 0.8);
    filter: brightness(1.15);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1001;
    margin-right: 1rem;
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .main-header {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        border-radius: 0;
        background-color: var(--background-primary);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .header-container {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .header-nav-wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 999;
        padding-top: 80px;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }

    .header-nav-wrapper.active {
        display: flex !important;
        flex-direction: column;
    }

    .header-nav {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }

    .header-nav li {
        width: 100%;
    }

    .header-nav a {
        font-size: 1.5rem;
        padding: 15px;
        width: 80%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
        border-radius: 12px;
    }

    .header-nav a.active::after {
        display: none;
    }
}


/* 8. SEÇÃO HOME (HERO) */
.hero-section {
    position: relative;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--background-primary);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(var(--brand-purple-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-purple-rgb), 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    --parallax-intensity: 20px;
    background-position:
        calc(50% + var(--mouse-x, 0) * var(--parallax-intensity))
        calc(50% + var(--mouse-y, 0) * var(--parallax-intensity));
    animation: background-pan 60s linear infinite;
    transition: transform 0.3s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 150%, rgba(var(--brand-purple-rgb), 0.4), transparent 60%);
    opacity: 0.6;
    z-index: 1;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 5rem);
    text-transform: uppercase;
    margin: 0;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 30px rgba(var(--brand-purple-rgb), 0.5);
    opacity: 0;
    animation: text-reveal 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem auto 3rem auto;
    max-width: 650px;
    opacity: 0;
    animation: text-reveal 1s ease-out 0.8s forwards;
}

.hero-section .hero-button {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}


/* 9. SEÇÃO DE DESTAQUES (FEATURES) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: #101015;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card .card-border-gradient {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-purple), transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
}

.feature-card:hover .card-border-gradient {
    opacity: 1;
    background-position: -100% 0;
}

.feature-card i {
    font-size: 2.8rem;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(var(--brand-purple-rgb), 0.4);
    transition: color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* 10. SEÇÃO COMO JOGAR */
.content-section-dark {
    min-height: 600px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.content-section-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.how-to-play-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    counter-reset: step-counter;
}

.how-to-play-card {
    background-color: #101015;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.how-to-play-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--brand-purple-rgb), 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.how-to-play-card::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: rgba(255, 255, 255, 0.04);
    z-index: 0;
}

.how-to-play-card > * {
    position: relative;
    z-index: 1;
}

.how-to-play-card .card-icon {
    font-size: 2.8rem;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(var(--brand-purple-rgb), 0.4);
}

.how-to-play-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.how-to-play-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* 11. SEÇÃO LOJA DE PATCHES (HOME PAGE) */
.store-item-card {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: visible;
    max-width: 800px;
    margin: 6rem auto 4rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.store-item-banner {
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.banner-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    animation: kenBurnsEffect 20s infinite alternate;
}

.store-item-content {
    padding: 2rem 2.5rem;
}

.item-thumbnail-wrapper {
    position: absolute;
    top: 220px;
    left: 2.5rem;
    transform: translateY(-50%);
    background-color: var(--background-secondary);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.item-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    display: block;
}

.item-details {
    padding-top: 50px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.item-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.25rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.promo-badge {
    background-color: var(--brand-purple);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.item-subtitle {
    color: var(--text-secondary);
    margin: 0.25rem 0 1.5rem 0;
    font-size: 1.1rem;
}

.item-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
}

.item-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.item-features-list .fas.fa-check-circle {
    color: var(--success-color);
}

.item-purchase-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.price-section {
    background: rgba(var(--brand-purple-rgb), 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-original, .price-current {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.price-original span, .price-current span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.price-original del {
    font-size: 1.2rem;
    color: var(--danger-color);
    opacity: 0.8;
}

.price-current strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--success-color);
    font-weight: 900;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-field {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}
.info-field i {
    font-size: 1.5rem;
    color: var(--brand-purple);
    width: 25px;
    text-align: center;
}
.info-field div {
    display: flex;
    flex-direction: column;
}
.field-name {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-secondary);
}
.field-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-primary);
}

/* Botão de Compra da Loja de Patch (específico) */
.store-buy-button {
    background: linear-gradient(45deg, var(--brand-purple), #8a2be2);
    box-shadow: 0 5px 15px rgba(var(--brand-purple-rgb), 0.4);
}
.store-buy-button::before {
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%);
}
.store-buy-button:hover {
    background: linear-gradient(45deg, #8a2be2, var(--brand-purple));
    box-shadow: 0 8px 25px rgba(var(--brand-purple-rgb), 0.6);
}


/* Responsividade para a Loja de Patches */
@media (max-width: 768px) {
    .item-purchase-info {
        grid-template-columns: 1fr;
    }
    .item-thumbnail-wrapper {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .item-details {
        text-align: center;
        padding-top: 60px;
    }
    .item-header {
        justify-content: center;
    }
    .item-features-list li {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .item-title {
        font-size: 1.8rem;
    }
    .item-header {
        flex-direction: column;
    }
    .store-item-content {
        padding: 1.5rem;
    }
    .price-current strong {
        font-size: 1.5rem;
    }
}

/* 13. ESTILOS DE PÁGINAS GERAIS */
/* STATUS BAR (homepage) */
.status-bar {
    background-color: var(--background-secondary);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.status-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-item i {
    font-size: 1.8rem;
    color: var(--brand-purple);
    min-width: 30px;
    text-align: center;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.status-value {
    font-family: 'Orbitron';
    font-weight: 600;
    color: var(--text-primary);
}

.status-value.online {
    color: var(--status-online);
}

/* FAQ (página faq.html) */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: 'Orbitron';
    font-weight: 600;
}

.accordion-header:hover {
    color: var(--brand-purple);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* TUTORIAIS (página tutoriais.html) */
.tutorials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}
.tutorial-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--brand-purple);
}
@media (min-width: 768px) {
    .tutorial-item {
        grid-template-columns: 320px 1fr;
    }
}
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.tutorial-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}
.tutorial-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SEARCH, FILTER, PAGINATION (usados em listagem de Patches no futuro) */
.filter-controls-container {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.filter-btn {
    background-color: var(--background-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: var(--brand-purple);
    color: white;
    border-color: var(--brand-purple);
}

.filter-btn.active {
    background-color: var(--brand-purple) !important;
    color: white !important;
    font-weight: bold !important;
    border-color: var(--brand-purple) !important;
}

.search-container {
    flex-grow: 1;
    min-width: 250px;
}

#search-input {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#page-info {
    font-weight: bold;
}

.spinner-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--brand-purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

/* 14. MODAIS E TOOLTIPS */
/* Modal de Imagem */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: 500px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.modal-close-btn {
    position: absolute;
    top: 15px; right: 20px;
    color: var(--text-glass-light);
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    z-index: 1001;
}

.modal-close-btn:hover {
    color: var(--brand-purple);
}

/* Tooltip (usado em botões de copiar, ícones sociais) */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
    pointer-events: none;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* Cursor Especial */
#nexus-ball {
    position: fixed;
    z-index: 9999;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, white, var(--brand-purple));
    box-shadow: 0 0 15px 5px rgba(var(--brand-purple-rgb), 0.5), 0 0 25px 10px rgba(var(--brand-purple-rgb), 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#nexus-ball.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Botão "Voltar ao Topo" */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--brand-purple);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#back-to-top.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

#back-to-top:hover {
    filter: brightness(1.2);
    transform: scale(1.1) !important;
}


/* 15. FOOTER */
.footer-wrapper {
    position: relative;
    background-color: var(--footer-background);
    color: var(--text-secondary);
    background-image:
        linear-gradient(rgba(var(--brand-purple-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-purple-rgb), 0.04) 1px, transparent 1px);
    background-size: 25px 25px;
}

.shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%);
}

.shape-divider-top svg {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
}

.shape-divider-top .shape-fill {
    fill: var(--footer-background);
}

.site-footer {
    padding: 2rem;
    position: relative;
    border-top: 1px solid var(--footer-border-color);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 1px;
    background: var(--brand-purple);
    filter: blur(5px);
}

.footer-container-nexus {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.nexus-left, .nexus-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
}

.nexus-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding-bottom: 5px;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s;
}

.nexus-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-purple);
    transition: width 0.3s ease-out;
}

.nexus-nav a:hover {
    color: white;
}

.nexus-nav a:hover::after {
    width: 100%;
}

.social-icons-footer {
    display: flex;
    gap: 1.2rem;
}

.social-icons-footer a {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons-footer a:hover {
    color: var(--brand-purple);
    transform: translateY(-3px);
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border-color);
    font-size: 0.85rem;
}

/* Responsividade do Footer */
@media (max-width: 820px) {
    .footer-container-nexus {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .nexus-left, .nexus-right {
        flex-direction: column;
        gap: 1.5rem;
    }
}