:root {
    --bg: #09090b;
    --card: rgba(20, 20, 20, 0.9);
    --neon: #39ff14;
    --neon-dim: rgba(57, 255, 20, 0.15);
    --danger: #ff0055;
    --gold: #ffd700;
    --zap: #25D366;
    --pix: #20c997;
    --mp: #009ee3;
    --input-bg: #111;
    --text: #eee;
}

body {
    background-color: var(--bg);
    background-image: radial-gradient(circle at 50% 0%, #1a2a1a 0%, #000 80%);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 90px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

input,
select,
textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
}

.hidden {
    display: none !important;
}

/* Screen Reader Only - Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Utility Classes */
.text-white {
    color: #fff !important;
}

.text-gray {
    color: #888 !important;
}

.text-dim {
    color: #666 !important;
}

.text-center {
    text-align: center !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.font-bold {
    font-weight: bold !important;
}

.m-0 {
    margin: 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.p-0 {
    padding: 0 !important;
}

.p-20 {
    padding: 20px !important;
}

.flex {
    display: flex !important;
}

.flex-col {
    display: flex !important;
    flex-direction: column !important;
}

.flex-between {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.flex-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.gap-5 {
    gap: 5px !important;
}

.gap-8 {
    gap: 8px !important;
}

.gap-10 {
    gap: 10px !important;
}

.w-auto {
    width: auto !important;
}

.w-full {
    width: 100% !important;
}

.no-shadow {
    box-shadow: none !important;
}

.no-border {
    border: none !important;
}

.no-decoration {
    text-decoration: none !important;
}

.text-neon {
    color: var(--neon);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

button {
    background: var(--neon);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 0 15px var(--neon-dim);
    width: 100%;
    margin-bottom: 10px;
}

button:active {
    transform: scale(0.98);
}

button.secondary {
    background: transparent;
    border: 1px solid var(--neon);
    color: var(--neon);
    box-shadow: none;
}

button.danger {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    box-shadow: none;
}

button.zap {
    background: var(--zap);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: none;
}

button.pix {
    background: var(--pix);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: none;
}

button.mp {
    background: var(--mp);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 158, 227, 0.3);
}

input,
select {
    background: var(--input-bg);
    border: 1px solid #444;
    color: white;
    padding: 14px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 10px var(--neon-dim);
}

.admin-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-name {
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    color: #eee;
}

.admin-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-input {
    width: 50px !important;
    padding: 5px !important;
    height: 32px !important;
    margin: 0 !important;
    font-size: 14px !important;
    background: #000 !important;
    border: 1px solid #333 !important;
    color: var(--neon) !important;
    font-weight: bold;
}

.admin-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    box-shadow: none !important;
}

#landing-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a2a1a 0%, #000 90%);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.lp-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

.lp-logo {
    font-size: 24px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.btn-nav {
    width: auto;
    margin: 0;
    padding: 8px 15px;
    font-size: 12px;
    border: 1px solid var(--neon);
    background: transparent;
    color: var(--neon);
    box-shadow: none;
}

.lp-hero {
    padding: 100px 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-title {
    font-size: 42px;
    line-height: 1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-weight: 900;
}

.lp-p {
    color: #888;
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.lp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media(min-width: 600px) {
    .lp-features {
        grid-template-columns: 1fr 1fr;
    }
}

.feat-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feat-box:hover {
    border-color: var(--neon);
    transform: translateY(-8px);
    background: rgba(57, 255, 20, 0.05);
}

.feat-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
    background: var(--neon-dim);
    padding: 10px;
    border-radius: 12px;
}

.feat-title {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.feat-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Tabela Comparativa */
.lp-pricing {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    margin-top: 30px;
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    border-bottom: 1px solid #222;
    text-align: center;
}

.pricing-table th {
    background: #111;
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
}

.pricing-table .premium-col {
    background: rgba(57, 255, 20, 0.05);
    color: var(--neon);
    font-weight: bold;
}

/* Glimpse Section */
.lp-glimpse {
    padding: 40px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.glimpse-img {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    border: 2px solid #333;
    box-shadow: 0 0 50px rgba(0, 0, 0, 1);
    margin-top: 20px;
    transition: 0.5s;
}

.glimpse-img:hover {
    border-color: var(--neon);
    transform: scale(1.02);
    box-shadow: 0 0 50px var(--neon-dim);
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.login-box {
    background: #111;
    border: 1px solid #333;
    border-top: 4px solid var(--neon);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-login {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
    line-height: 1;
    box-shadow: none;
    transition: color 0.2s ease;
}

.close-login:hover {
    color: #fff;
}

.close-login:active {
    transform: none;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.container {
    padding: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: var(--card);
    border: 1px solid #333;
    border-left: 4px solid var(--neon);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #444;
    color: #888;
    margin-left: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.gk {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.badge.paid {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(57, 255, 20, 0.1);
}

.badge.debt {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(255, 0, 85, 0.1);
}

/* Ranking Styles */
.ranking-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 35px 1fr 45px 35px 35px 35px 35px;
    align-items: center;
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.ranking-row.header {
    font-size: 10px;
    text-transform: uppercase;
    color: #666;
    font-weight: bold;
    border-bottom: 1px solid #444;
}

.pos {
    font-weight: 900;
    color: #888;
    font-size: 14px;
}

.pos-1 {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.pos-2 {
    color: #C0C0C0;
}

.pos-3 {
    color: #CD7F32;
}

.rank-name {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-nota {
    color: var(--neon);
    font-weight: 900;
    text-align: center;
}

.rank-stat {
    text-align: center;
    color: #888;
    font-size: 11px;
}

.rank-stat.highlight {
    color: #fff;
    font-weight: bold;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #888;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: rgba(57, 255, 20, 0.2);
    border-color: var(--neon);
}

input:checked+.slider:before {
    transform: translateX(20px);
    background-color: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}

.fab-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 100;
    background: #0f0f0f;
    border-top: 1px solid #333;
    padding-bottom: env(safe-area-inset-bottom);
}

.fab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    color: #666;
    border: none;
    font-size: 11px;
    text-align: center;
    border-top: 2px solid transparent;
    letter-spacing: 1px;
    font-weight: bold;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.fab-btn.active {
    color: var(--neon);
    border-top: 2px solid var(--neon);
    background: rgba(57, 255, 20, 0.05);
}

.vote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 24px;
    color: #444;
    cursor: pointer;
    padding: 0 2px;
    transition: 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover~label {
    color: var(--gold);
    transform: scale(1.1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border-radius: 12px;
}

.modal-title {
    color: var(--neon);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: 0;
}

#qr-container img {
    width: 200px;
    border-radius: 8px;
    border: 4px solid white;
    margin-bottom: 15px;
}

.pix-code-box {
    background: #000;
    padding: 10px;
    border: 1px dashed #444;
    font-family: monospace;
    font-size: 10px;
    color: #888;
    word-break: break-all;
    border-radius: 6px;
    margin-bottom: 10px;
    max-height: 60px;
    overflow-y: auto;
}

#timer-display {
    color: var(--danger);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
}

.lp-roadmap {
    text-align: left;
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 12px;
    margin: 40px 20px;
}

.lp-roadmap h3 {
    color: #fff;
    margin-bottom: 15px;
}

.lp-roadmap ul {
    list-style: none;
    padding: 0;
}

.lp-roadmap li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    color: #888;
    font-size: 14px;
}

.donate-box {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 2px solid var(--neon-dim);
    padding: 40px 20px;
    border-radius: 24px;
    margin: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.1);
}

.donate-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--neon-dim) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.pro-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.ea-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ea-card {
    width: 220px;
    height: 320px;
    border-radius: 18px;
    /* Formato mais arredondado */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Mudado para top */
    padding-top: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.2);
    border: 2px solid #ffd700;
    background-size: cover;
    overflow: hidden;
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Rajdhani', sans-serif;
    margin: 10px;
}

/* Shine Effect */
.ea-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ea-card.gold {
    background: linear-gradient(135deg, #a67c00 0%, #bf9b30 40%, #ffcf40 100%);
    color: #1a1a1a;
}

.ea-card.gold .ea-rating {
    color: #1a1a1a;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.ea-card.gold .ea-photo-placeholder {
    font-size: 80px;
    margin-top: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3));
}

.ea-card.shame {
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    border-color: #555;
    color: #eee;
}

.ea-card.shame .ea-rating {
    color: #eee;
}

.ea-card.shame .ea-photo-placeholder {
    font-size: 80px;
    margin-top: 20px;
    opacity: 0.7;
}

.ea-rating {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.ea-name {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: auto;
    margin-bottom: 5px;
}

.ea-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    opacity: 0.8;
    margin-bottom: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 5px;
    width: 80%;
    text-align: center;
}

.ea-stats-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: bold;
}

.upsell-banner {
    background: linear-gradient(90deg, #111, #222);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upsell-text {
    font-size: 12px;
    color: var(--gold);
    font-weight: bold;
}

.upsell-btn {
    width: auto;
    padding: 5px 15px;
    font-size: 10px;
    background: var(--gold);
    color: black;
    margin: 0;
    box-shadow: none;
}
/* Toast System */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(57, 255, 20, 0.2);
    transition: 0.4s ease;
    text-align: center;
    min-width: 200px;
}

.toast.error {
    border-color: #ff4444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 68, 68, 0.2);
}

.toast.zap {
    border-color: #25D366;
    color: #25D366;
}
.donate-box { flex-shrink: 0 !important; min-height: 200px; }

/* Goalkeeper Toggle - Discrete */
.gk-toggle {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 1px solid #333 !important;
    color: #444 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gk-toggle.active {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: rgba(255, 215, 0, 0.05) !important;
}
