@import url('fonts.css');

:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #141a22;
    --bg-card: #1a222d;
    --bg-card-hover: #222c3a;
    --accent: #c8f542;
    --accent-hover: #b8e032;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #5a6474;
    --border: #2a3444;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --max-width: 480px;
    --max-width-desktop: 600px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Layout */
.app-container {
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
}

@media (min-width: 768px) {
    .app-container {
        max-width: var(--max-width-desktop);
        box-shadow: var(--shadow);
    }
    body {
        background: #060810;
    }
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    background: transparent;
 
    top: 0;
    z-index: 100;
    border-bottom: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--bg-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.logo.has-image,
.logo:has(img) {
    background: transparent;
}

.logo.logo-loading {
    background: linear-gradient(
        90deg,
        var(--bg-card) 0%,
        var(--bg-card-hover) 50%,
        var(--bg-card) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
    color: transparent;
    user-select: none;
}

.logo.logo-loading img {
    opacity: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-support-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.header-support-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.header-support-btn svg {
    display: block;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    margin-top: 8px;
   
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--bg-card);
    border-radius: 16px 16px 0 0;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 48px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Meus títulos bar */
.meus-titulos-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.meus-titulos-bar:hover {
    color: var(--accent);
}

.meus-titulos-bar svg {
    width: 18px;
    height: 18px;
}

/* Sorteio */
.sorteio-banner {
    margin: 12px 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(200, 245, 66, 0.12), rgba(200, 245, 66, 0.04));
    border: 1px solid rgba(200, 245, 66, 0.35);
    border-radius: 12px;
}

.sorteio-banner.hidden {
    display: none;
}

.sorteio-banner-title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.sorteio-banner-detail {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkout-section.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.packs-section.is-disabled,
.pricing-section.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Pricing */
.pricing-section {
    padding: 7px 16px 16px;
    text-align: center;
}

.price-label {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price-value {
    display: inline-block;
    background: var(--accent);
    padding: 2px 4px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    margin-left: 2px;
}
.price-hint {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

/* Pack grid */
.packs-section {
    padding: 5px 16px 1px;
}
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 8px 12px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
}

.pack-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.pack-card.popular {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.pack-card.popular .pack-price,
.pack-card.popular .pack-select {
    color: var(--bg-primary);
}

.pack-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-qty {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.pack-price {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.pack-select {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Quantity selector */
.checkout-section {
    padding: 8px 16px 24px;
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.qty-btn {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.qty-input {
    width: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: transparent;
    border: none;
    color: var(--text-primary);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-participar {
    flex: 1;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-weight: 700;
    transition: background 0.2s;
    min-height: 52px;
}

.btn-participar:hover {
    background: var(--accent-hover);
}

.btn-participar .btn-label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-participar .btn-total {
    font-size: 16px;
    font-weight: 800;
}

/* Accordion */
.accordion-section {
    padding: 0 16px 16px;
}

.accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.accordion-btn:hover {
    background: var(--bg-card-hover);
}

.accordion-btn svg {
    transition: transform 0.3s;
}

.accordion-btn.open svg {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 14px;
    color: white;
    line-height: 1.7;
    white-space: pre-wrap;
}

.accordion-content.open {
    display: block;
}

/* Vencedores da Roleta Premiada */
.roleta-vencedores-section {
    padding: 0 16px 20px;
}

.roleta-vencedores-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.roleta-vencedores-icon {
    font-size: 22px;
    line-height: 1;
}

.roleta-vencedores-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roleta-vencedor-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #2a3038;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.roleta-vencedor-row.is-winner {
    background: var(--accent);
    color: #0a0e14;
}

.roleta-vencedor-valor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 8px 16px;
    border-radius: 999px;
    background: #3d4450;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    word-break: break-word;
}

.roleta-vencedor-row.is-winner .roleta-vencedor-valor {
    background: #fff;
    color: #0a0e14;
}

.roleta-vencedor-premio,
.roleta-vencedor-numero {
    display: none;
}

.roleta-vencedor-status {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.roleta-vencedor-row.is-winner .roleta-vencedor-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.roleta-vencedor-trophy {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 480px) {
    .roleta-vencedor-row {
       
        text-align: center;
        gap: 8px;
    }

    .roleta-vencedor-valor {
        margin: 0 auto;
    }

    .roleta-vencedor-status {
        text-align: center;
        justify-content: center;
    }
}

/* Botão flutuante — Roleta Premiada */
.roleta-fab {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    border: 2px solid rgba(250, 204, 21, 0.55);
    border-radius: 16px;
    background: linear-gradient(145deg, #4c0519 0%, #7f1d1d 42%, #450a0a 100%);
    color: #fff;
    box-shadow:
        0 8px 28px rgba(127, 29, 29, 0.55),
        0 0 24px rgba(250, 204, 21, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: visible;
}

.roleta-fab-glow {
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    background: radial-gradient(circle at 30% 50%, rgba(250, 204, 21, 0.35) 0%, transparent 58%),
        radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.28) 0%, transparent 55%);
    filter: blur(8px);
    z-index: -1;
    animation: roletaFabGlow 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes roletaFabGlow {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

.roleta-fab:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(253, 224, 71, 0.85);
    box-shadow:
        0 12px 36px rgba(127, 29, 29, 0.65),
        0 0 32px rgba(250, 204, 21, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.roleta-fab:hover .roleta-fab-wheel {
    animation-duration: 4s;
}

.roleta-fab:active {
    transform: translateY(0) scale(0.98);
}

.roleta-fab-machine {
    position: relative;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
}

.roleta-fab-pointer {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 16px;
    z-index: 5;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.roleta-fab-pointer::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 45%, #b45309 100%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    border-radius: 2px 2px 0 0;
}

.roleta-fab-rim {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #991b1b 0%, #7f1d1d 100%);
    box-shadow:
        inset 0 0 0 3px #ca8a04,
        inset 0 0 0 5px #7f1d1d,
        0 4px 14px rgba(0, 0, 0, 0.45);
}

.roleta-fab-lights {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.roleta-fab-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: #fde047;
    box-shadow: 0 0 5px #fde047, 0 0 9px #facc15;
    animation: roletaFabBlink 1.1s ease-in-out infinite;
}

.roleta-fab-light:nth-child(even) {
    animation-delay: 0.55s;
}

@keyframes roletaFabBlink {
    0%, 100% {
        opacity: 0.4;
        transform: rotate(var(--angle)) translateY(calc(-50% - 22px)) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: rotate(var(--angle)) translateY(calc(-50% - 22px)) scale(1.1);
    }
}

.roleta-fab-wheel-wrap {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    overflow: hidden;
}

.roleta-fab-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        #84cc16 0deg 45deg,
        #475569 45deg 90deg,
        #eab308 90deg 135deg,
        #475569 135deg 180deg,
        #db2777 180deg 225deg,
        #475569 225deg 270deg,
        #5b21b6 270deg 315deg,
        #475569 315deg 360deg
    );
    animation: roletaFabSpin 7s linear infinite;
    transform-origin: center center;
}

@keyframes roletaFabSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.roleta-fab-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fde68a, #d97706);
    border: 2px solid #fef3c7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    z-index: 4;
}

.roleta-fab-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    text-align: left;
    min-width: 0;
}

.roleta-fab-text-line {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}

.roleta-fab-text-line.is-accent {
    font-size: 12px;
    color: #fde047;
}

@media (max-width: 480px) {
    .roleta-fab {
        right: 10px;
        bottom: 14px;
        padding: 7px 10px 7px 7px;
        gap: 8px;
    }

    .roleta-fab-machine {
        width: 48px;
        height: 48px;
    }

    .roleta-fab-text-line {
        font-size: 10px;
    }

    .roleta-fab-text-line.is-accent {
        font-size: 11px;
    }

    @keyframes roletaFabBlink {
        0%, 100% {
            opacity: 0.4;
            transform: rotate(var(--angle)) translateY(calc(-50% - 19px)) scale(0.8);
        }
        50% {
            opacity: 1;
            transform: rotate(var(--angle)) translateY(calc(-50% - 19px)) scale(1.1);
        }
    }
}

/* Modal informativo — Roleta Premiada */
.roleta-info-overlay {
    z-index: 1050;
}

.roleta-info-modal {
    max-width: 480px;
}

.roleta-info-title-icon {
    font-size: 24px;
    line-height: 1;
}

.roleta-info-lead {
    margin: 0 0 18px;
    font-size: 14px;
    color: #b8c0cc;
    line-height: 1.55;
}

.roleta-info-body {
    padding-bottom: 8px;
}

.roleta-info-section {
    margin-bottom: 18px;
}

.roleta-info-section h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.roleta-info-steps {
    margin: 0;
    padding: 0 0 0 20px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.65;
}

.roleta-info-steps li {
    margin-bottom: 8px;
}

.roleta-info-steps li:last-child {
    margin-bottom: 0;
}

.roleta-info-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: rgba(200, 245, 66, 0.08);
    border: 1px solid rgba(200, 245, 66, 0.25);
    border-radius: 10px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
}

.roleta-info-highlight strong {
    color: var(--accent);
}

.roleta-info-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
}

.roleta-info-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #0a0e14;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.roleta-info-btn:hover {
    opacity: 0.92;
}

@media (max-width: 480px) {
    .roleta-info-modal {
        max-width: 100%;
    }
}

/* Social */
.social-section {
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 32px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.telegram { background: #0088cc; }
.social-btn.whatsapp { background: #25d366; }

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Modal / Checkout */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.checkout-modal {
    background: #1e252b;
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    animation: fadeInModal 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.checkout-login-hint {
    padding: 5px;
    margin: 0;
    font-size: 13px;
    color: #8b95a5;
    text-align: center;
}
svg.MuiSvgIcon-root.MuiSvgIcon-fontSizeMedium.css-10dohqv {
    width: 20px;
    fill: #20b6d3;
}

.checkout-login-hint a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.checkout-login-hint a:hover {
    text-decoration: underline;
}

.login-overlay {
    z-index: 1100;
}

.login-modal-desc {
    font-size: 14px;
    color: #8b95a5;
    margin-bottom: 18px;
    line-height: 1.5;
}

.login-pedidos-wrap {
    margin-top: 4px;
}

.login-pedidos-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
}

.login-pedidos-wrap .pedido-card {
    margin-bottom: 12px;
}

.login-pedidos-wrap .pedido-card:last-child {
    margin-bottom: 0;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #2a323c;
}

.checkout-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.checkout-title h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.checkout-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.checkout-body {
    padding: 20px;
}

.checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.checkout-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.checkout-alert-info {
    background: #1a3a5c;
    color: #ffffff;
    border: 1px solid #234a70;
    font-size: 12px;
}

.checkout-alert-info strong {
    font-weight: 800;
}

.checkout-alert-warning {
    background: #3d2e1a;
    color: #f5d9a8;
    border: 1px solid #5c4520;
    margin-top: 4px;
    margin-bottom: 16px;
}

.checkout-alert-warning.hidden {
    display: none;
}

.checkout-field {
    margin-bottom: 14px;
}

.checkout-field label {
    display: block;
    font-size: 13px;
    color: #8b95a5;
    margin-bottom: 8px;
    font-weight: 500;
}

.checkout-field input {
    width: 100%;
    padding: 14px 16px;
    background: #141a22;
    border: 1px solid #2a3444;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.checkout-field input:focus {
    border-color: var(--accent);
}

.checkout-field input::placeholder {
    color: #5a6474;
}

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #5a6474;
    line-height: 1.4;
}

.btn-logout {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-logout:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.phone-input-wrap {
    display: flex;
    align-items: center;
    background: #141a22;
    border: 1px solid #2a3444;
    border-radius: 10px;
    overflow: hidden;
}

.phone-input-wrap:focus-within {
    border-color: var(--accent);
}

.phone-flag {
    padding: 14px 12px 14px 16px;
    font-size: 18px;
    line-height: 1;
    border-right: 1px solid #2a3444;
    flex-shrink: 0;
    width: 50px;
}
.phone-input-wrap input {
    border: none;
    background: transparent;
    border-radius: 0;
}

.phone-input-wrap input[readonly] {
    cursor: default;
    color: var(--text-primary);
}

.password-input-wrap {
    position: relative;
    display: block;
}

.password-input-wrap input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    background: #141a22;
    border: 1px solid #2a3444;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.password-input-wrap input:focus {
    border-color: var(--accent);
}

.password-input-wrap input::placeholder {
    color: #5a6474;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    color: #8b95a5;
    cursor: pointer;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #ffffff;
}

.password-toggle svg {
    display: block;
}

.password-toggle .icon-eye {
    display: none;
}

.password-toggle .icon-eye-off {
    display: block;
}

.password-toggle.is-visible .icon-eye {
    display: block;
}

.password-toggle.is-visible .icon-eye-off {
    display: none;
}

.checkout-step {
    animation: fadeInModal 0.25s ease;
}

.checkout-step-error {
    color: #f5d9a8;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}

.checkout-welcome {
    margin-bottom: 12px;
}

.checkout-change-phone {
    display: inline-block;
    margin-bottom: 16px;
    padding: 0;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.checkout-change-phone:hover {
    text-decoration: underline;
}

.checkout-terms {
    font-size: 12px;
    color: #8b95a5;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 18px;
}

.checkout-terms a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.checkout-terms a:hover {
    text-decoration: underline;
}

.checkout-btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn-submit:hover {
    background: var(--accent-hover);
}

.checkout-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.checkout-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
}

.checkout-btn-icon svg {
    stroke: #ffffff;
}

.checkout-btn-cancel {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.checkout-btn-cancel:hover {
    text-decoration: underline;
}

.checkout-success {
    text-align: center;
    padding: 24px 0;
}

.checkout-success .success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #000;
}

/* Legacy modal (meus-titulos etc) */
.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

/* Meus títulos page */
.page-header {
    padding: 20px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 20px;
    margin-bottom: 8px;
}

.page-header-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.auth-gate {
    padding: 24px 16px 40px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.auth-desc,
.auth-hint {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.auth-desc {
    margin-bottom: 20px;
}

.auth-hint {
    margin-top: 16px;
    font-size: 12px;
}

.auth-form,
.account-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-field label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.account-field input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.account-field input:focus {
    border-color: var(--accent);
}

.account-field input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-btn:hover {
    background: var(--accent-hover);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.auth-btn-secondary:hover {
    background: rgba(200, 245, 66, 0.08);
}

.auth-error {
    color: var(--danger, #ef4444);
    font-size: 13px;
    text-align: center;
}

.account-panel {
    margin: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.account-panel-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.account-panel-toggle svg {
    transition: transform 0.2s;
}

.account-panel-toggle.open svg {
    transform: rotate(180deg);
}

.account-panel-body {
    padding: 0;
    border-top: 1px solid var(--border);
}

.profile-fields {
    display: flex;
    flex-direction: column;
}

.profile-field {
    border-bottom: 1px solid var(--border);
}

.profile-field:last-child {
    border-bottom: none;
}

.profile-field-view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
}

.profile-field-info {
    min-width: 0;
    flex: 1;
}

.profile-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.profile-field-editor .profile-field-label {
    margin-top: 12px;
    margin-bottom: 8px;
}

.profile-field-editor .profile-field-label:first-child {
    margin-top: 0;
}

.profile-field-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.profile-field-value-muted {
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.12em;
}

.profile-field-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.profile-field-btn:hover {
    background: rgba(200, 245, 66, 0.08);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.profile-field--readonly .profile-field-view {
    padding-right: 18px;
}

.profile-field-editor {
    padding: 0 18px 16px;
    background: color-mix(in srgb, var(--bg-secondary) 55%, transparent);
    border-top: 1px dashed var(--border);
}

.profile-field-editor .profile-input,
.profile-field-editor .phone-input-wrap input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.profile-field-editor .profile-input:focus,
.profile-field-editor .phone-input-wrap input:focus {
    border-color: var(--accent);
}

.profile-field-editor .phone-input-wrap {
    margin-bottom: 0;
}

.profile-field-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.profile-btn {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.profile-btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.profile-btn-primary:hover:not(:disabled) {
    filter: brightness(1.05);
}

.profile-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.profile-btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.profile-field-msg {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.profile-field-msg.is-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.profile-field-msg.is-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.profile-field.is-editing .profile-field-btn {
    display: none;
}

.profile-msg {
    font-size: 13px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.profile-msg.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.profile-msg.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
}

.search-form button {
    padding: 12px 20px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.pedido-card {
    margin: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.pedido-header {
    display: flex;
    gap: 12px;
    padding: 14px;
    align-items: center;
}

.pedido-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-secondary);
}

.pedido-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.pedido-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

.pedido-status.pendente { background: #f59e0b33; color: #f59e0b; }
.pedido-status.pago { background: #10b98133; color: #10b981; }
.pedido-status.cancelado { background: #ef444433; color: #ef4444; }
.pedido-status.expirado { background: #64748b33; color: #94a3b8; }

.pedido-body {
    padding: 0 14px 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pedido-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pedido-meta-sub {
    margin-top: 4px;
}

.btn-ver-cotas {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--accent);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-ver-cotas:hover {
    border-color: var(--accent);
    background: var(--bg-card);
}

.btn-ver-cotas:active {
    transform: scale(0.96);
}

.pedido-pending-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-pagar-pix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-pagar-pix:hover {
    opacity: 0.92;
}

.btn-pagar-pix:active {
    transform: scale(0.98);
}

.btn-pagar-pix--link {
    display: inline-flex;
    width: auto;
    margin-top: 16px;
}

.pagar-modal {
    padding: 0;
    max-width: 420px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius);
    animation: fadeInModal 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pagar-modal-loading,
.pagar-modal-unavailable {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.pagar-modal-content {
    padding: 0 20px 20px;
}

.pagar-modal-timer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pagar-modal-timer strong {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.pagar-modal-timer.is-expired strong {
    color: #ef4444;
}

.pagar-qr-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
}

.pagar-qr-wrap img {
    display: block;
    width: 200px;
    height: 200px;
}

.pagar-pix-wrap {
    margin-bottom: 12px;
}

.pagar-modal-hint {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}

.pagar-modal-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #f59e0b22;
    color: #f59e0b;
    font-size: 13px;
    line-height: 1.45;
}

.pedido-numeros {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cotas-modal {
    padding: 0;
    max-width: 480px;
    animation: fadeInModal 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cotas-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.cotas-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.cotas-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cotas-modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.cotas-modal-subtitle {
    padding: 14px 20px 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.cotas-modal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px 20px;
    max-height: min(60vh, 420px);
    overflow-y: auto;
}

.cotas-modal-grid .numero-badge {
    padding: 8px 12px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.numero-badge {
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.back-link:hover {
    color: var(--accent);
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    color: var(--text-muted);
    text-align: center;
    padding: 24px;
}

.hidden {
    display: none !important;
}

/* Skeleton */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-block {
    background: linear-gradient(
        90deg,
        var(--bg-card) 0%,
        var(--bg-card-hover) 50%,
        var(--bg-card) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

#app.is-loading #pageContent {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.skeleton-screen {
    padding: 0 0 24px;
}

.skeleton-screen.hidden {
    display: none;
}

#app:not(.is-loading) .skeleton-screen {
    display: none;
}

.skeleton-hero {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px 16px 0 0;
}

.skeleton-line {
    height: 14px;
    border-radius: 6px;
}

.skeleton-line-lg { width: 70%; height: 18px; }
.skeleton-line-md { width: 55%; }
.skeleton-line-sm { width: 45%; height: 12px; }
.skeleton-line-xs { width: 35%; height: 12px; }

.skeleton-bar {
    height: 36px;
    margin: 0 16px 16px;
    border-radius: 0;
}

.skeleton-pricing {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skeleton-packs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px 16px;
}

.skeleton-pack {
    height: 96px;
    border-radius: var(--radius);
}

.skeleton-checkout {
    display: flex;
    gap: 10px;
    padding: 0 16px 24px;
}

.skeleton-qty {
    width: 138px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius);
}

.skeleton-btn {
    flex: 1;
    height: 52px;
    border-radius: var(--radius);
}

.skeleton-accordion {
    height: 48px;
    margin: 0 16px 16px;
    border-radius: var(--radius);
}

.skeleton-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
}

.skeleton-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.skeleton-campanhas-header {
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-campanhas-list {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-campanha-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.skeleton-campanha-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

.skeleton-campanha-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* Campanhas */
.campanhas-section {
    padding: 16px;
}

.campanhas-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.campanhas-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.campanhas-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campanha-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: background 0.2s, border-color 0.2s;
}

.campanha-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.campanha-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.campanha-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-size: 28px;
}

.campanha-info h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.campanha-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.campanha-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* Menu drawer */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 200;
}

.drawer-overlay.open {
    display: block;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #000000;
    z-index: 201;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    flex-shrink: 0;
}

.drawer-logo {
    width: 44px;
    height: 44px;
}

.drawer-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.drawer-menu {
    flex: 1;
    padding: 0;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #1a1a1a;
    transition: background 0.2s;
}

.drawer-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.drawer-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: #ffffff;
}

.drawer-footer {
    padding: 24px 20px 32px;
    flex-shrink: 0;
}

.drawer-btn-entrar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: #000000;
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    transition: background 0.2s;
}

.drawer-btn-entrar:hover {
    background: var(--accent-hover);
    color: #000000;
}

.drawer-btn-entrar svg {
    width: 20px;
    height: 20px;
    stroke: #000000;
}

.drawer-version {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .drawer {
        width: 360px;
        max-width: 90vw;
        right: -360px;
    }
}
