/* Reset e Base - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-base: #f5f5f5;
    --bg-card: #ffffff;
    --bg-gray: #f0f0f0;
    --text-title: #151515;
    --text-body: #666666;
    --text-muted: #999999;
    --primary-red: #da1c1c;
    --primary-red-dark: #8c1515;
    --border-color: rgba(0, 0, 0, 0.08);
    --green-check: #22c55e;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-base);
    background-image: url('images/bg-pc.png');
    background-repeat: repeat;
    color: var(--text-title);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px;
    max-width: 100vw;
    overflow-x: hidden;
}

#root {
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
}

/* Header - Mobile */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    background-image: url('images/topbar-pc.png');
    background-size: cover;
    background-position: right center;
}

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

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

.garena-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.garena-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.garena-icon-svg {
    width: 28px;
    height: 30px;
}

.garena-text {
    font-size: 7px;
    font-weight: 600;
    color: #E41E26;
    letter-spacing: 0.3px;
    margin-top: -2px;
}

.garena-icon {
    height: 28px;
    width: auto;
    flex-shrink: 0;
}

.garena-logo-full {
    height: 24px;
    width: auto;
    flex-shrink: 0;
}

.header-separator {
    color: #ccc;
    font-size: 28px;
    font-weight: 100;
    margin: 0 6px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-title-line {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    display: block;
}

.header-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.header-divider {
    width: 1px;
    height: 16px;
    background-color: var(--border-color);
}

.header-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-title);
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.profile-icon {
    width: 36px;
    height: 36px;
}

/* Banner Carousel - Mobile */
.banner-section {
    background: transparent;
    padding: 0;
}

.carousel-wrapper {
    position: relative;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0;
    background: transparent;
}

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.carousel-gradient-left,
.carousel-gradient-right {
    display: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dot.active {
    background-color: #da1c1c;
    width: 8px;
    border-radius: 50%;
}

/* Content Wrapper - Mobile */
.content-wrapper {
    padding: 0 12px;
}

/* Section Labels */
.section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-title);
    margin-bottom: 10px;
}

/* Game Selection - Mobile */
.game-selection-section {
    padding: 16px 0 12px;
}

.games-container {
    display: flex;
    gap: 8px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.game-card.selected {
    border-color: var(--primary-red);
}

.game-check-icon {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
}

.game-check-icon svg {
    width: 12px;
    height: 12px;
}

.game-card.selected .game-check-icon {
    display: flex;
}

.game-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}

.game-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-title);
    margin-top: 6px;
}

/* Free Fire Bar - Mobile igual ao print */
.freefire-bar-section {
    margin: 8px 0;
}

.freefire-bar-content {
    background: transparent;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    min-height: 64px;
}

.ff-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.ff-icon-wrapper {
    position: relative;
}

.ff-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.hot-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #ff6b00;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
}

.ff-bar-info {
    position: relative;
    z-index: 2;
}

.ff-bar-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.ff-bar-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.check-icon {
    width: 14px;
    height: 14px;
    fill: var(--green-check);
}

.ff-bar-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
    border-radius: 10px;
}

/* Free Item Section - Mobile igual ao print */
.free-item-section {
    margin: 8px 0;
}

.free-item-container {
    background: var(--bg-gray);
    background-image: url('images/item-gratis-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.free-item-left {
    flex: 1;
}

.free-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 2px;
}

.free-item-desc {
    font-size: 11px;
    color: var(--text-body);
    margin-bottom: 10px;
}

.btn-resgatar {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.free-item-right {
    margin-left: 12px;
}

.item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.item-image-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-mystery {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.item-label-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.item-label {
    font-size: 10px;
    color: var(--text-body);
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.item-info-icon {
    font-size: 12px;
    color: var(--text-muted);
}

/* Events Section - Mobile */
.events-section {
    margin: 16px 0 12px;
}

.event-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.event-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.event-caption {
    display: none;
}

/* Login Section - Mobile igual ao print */
.login-section {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px 16px;
    margin: 12px 0;
    position: relative;
}

.section-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.step-badge {
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.section-title-main {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-title);
}

.login-form-container {
    display: flex;
    flex-direction: column;
}

.input-label-main {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-title);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.help-icon {
    color: var(--text-muted);
    font-size: 14px;
}

.login-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.input-wrapper-main {
    flex: 1;
}

.player-input-main {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.player-input-main:focus {
    border-color: var(--primary-red);
}

.player-input-main::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.btn-login-main {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Social Login Row */
.social-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.social-login-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.social-btn.google {
    background: #fff;
    border: 1px solid #e0e0e0;
}

.social-btn.twitter {
    background: #000;
    color: #fff;
}

.social-btn.vk {
    background: #4c75a3;
    color: #fff;
}

/* Recharge Section - Mobile igual ao print */
.recharge-section {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px 16px;
    margin: 12px 0;
    position: relative;
}

.tabs-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tab-btn {
    padding: 8px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    color: var(--text-body);
}

.tab-btn.active {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: #fff;
}

/* Diamonds Grid - 3 colunas igual ao print */
.diamonds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.diamond-card-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    background: var(--bg-card);
    position: relative;
    transition: all 0.2s;
}

.diamond-card-main:hover {
    border-color: #ccc;
}

.diamond-card-main.selected {
    border-color: var(--primary-red);
    background: rgba(218, 28, 28, 0.02);
}

.diamond-icon-card {
    width: 20px;
    height: 20px;
}

.diamond-value-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-title);
}

/* Offers Section - Mobile - Grid 2 colunas */
.offers-section {
    margin: 12px 0;
}

.offers-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.offer-card-new {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.offer-card-new.selected {
    box-shadow: 0 0 0 2px var(--primary-red);
}

.offer-card-new.hidden-offer {
    display: none;
}

.offer-card-new.show-offer {
    display: block;
}

.offer-img-new {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.offer-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fff;
}

.offer-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-title);
    line-height: 1.3;
}

.offer-info-btn-new {
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.offer-info-btn-new:hover {
    opacity: 0.8;
}

.ver-mais-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ver-mais-btn svg {
    transition: transform 0.3s;
}

.ver-mais-btn.expanded svg {
    transform: rotate(180deg);
}

/* Payment Section - Mobile - Grid 2 colunas */
.payment-section {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px 16px;
    margin: 12px 0;
    position: relative;
}

.payment-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.payment-card-new {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    position: relative;
}

.payment-card-new.selected {
    border-color: var(--primary-red);
    border-width: 2px;
}

.promo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.promo-badge.promo-novo {
    right: 50px;
}

.novo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.payment-logo-container {
    height: 45px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.payment-logo-new {
    height: 55px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.payment-price-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 4px;
}

.payment-bonus-new {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--primary-red);
}

.bonus-diamond-new {
    width: 14px;
    height: 14px;
}

/* Footer */
.footer-main {
    text-align: center;
    padding: 20px 12px;
    margin-bottom: 10px;
}

.footer-links-main {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links-main a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 11px;
}

.copyright-main {
    font-size: 10px;
    color: var(--text-muted);
}

/* Fixed Footer - Responsivo Mobile e Desktop */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 12px;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow: hidden;
}

.fixed-footer.visible {
    display: block;
    transform: translateY(0);
}

.footer-bg-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 70px;
    width: auto;
    object-fit: contain;
    z-index: 0;
    opacity: 1;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.footer-diamond-display {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-diamond-icon {
    width: 16px;
    height: 16px;
}

.footer-diamond-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-title);
}

.footer-message {
    font-size: 10px;
    color: var(--text-body);
    line-height: 1.2;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.footer-top-row {
    display: flex;
    align-items: center;
}

.footer-logo-collab {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
}

.logo-freefire {
    color: #ff5722;
    font-weight: 700;
    font-style: italic;
    font-size: 8px;
}

.logo-x {
    color: #666;
    font-weight: 400;
    font-size: 8px;
}

.logo-jujutsu {
    color: #333;
    font-weight: 600;
    font-style: italic;
    font-size: 8px;
}

.btn-comprar {
    background: #EFA39E;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none;
    transition: background 0.3s ease;
}

.btn-comprar.ready {
    background: #D81A0D;
}

.btn-comprar .check-circle {
    width: 14px;
    height: 14px;
}

.footer-copyright {
    font-size: 6px;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: right;
}

/* Desktop - tela maior que 768px */
@media (min-width: 768px) {
    .fixed-footer {
        padding: 10px 20px;
    }
    
    .footer-bg-image {
        left: 0;
        transform: translateY(-50%);
        height: 120%;
    }
    
    .footer-content {
        max-width: 1200px;
        gap: 20px;
    }
    
    .footer-left {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-left: 200px;
    }
    
    .footer-diamond-display {
        gap: 6px;
    }
    
    .footer-diamond-icon {
        width: 20px;
        height: 20px;
    }
    
    .footer-diamond-value {
        font-size: 18px;
    }
    
    .footer-message {
        font-size: 13px;
    }
    
    .footer-right {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .footer-logo-collab {
        font-size: 11px;
    }
    
    .logo-freefire, .logo-x, .logo-jujutsu {
        font-size: 11px;
    }
    
    .btn-comprar {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .btn-comprar .check-circle {
        width: 18px;
        height: 18px;
    }
    
    .footer-copyright {
        font-size: 8px;
    }
}

.btn-comprar .check-circle {
    width: 18px;
    height: 18px;
}


/* Painel de detalhes expansível */
.footer-details-panel {
    display: none;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.footer-details-panel.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.details-row.details-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.details-label {
    font-size: 13px;
    color: #333;
}

.details-row.details-header .details-label {
    font-weight: 700;
}

.details-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.details-diamond-icon {
    width: 14px;
    height: 14px;
}

/* Footer diamond row com bônus */
.footer-diamond-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-bonus {
    font-size: 14px;
    font-weight: 700;
    color: #D81A0D;
}

.expand-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.expand-btn svg {
    width: 16px;
    height: 16px;
    fill: #666;
}

.expand-btn.rotated {
    transform: rotate(180deg);
}

/* Footer total row */
.footer-total-row {
    display: none;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.footer-total-row.visible {
    display: flex;
}

.footer-total-label {
    font-size: 11px;
    color: #D81A0D;
    font-weight: 600;
}

.footer-total-value {
    font-size: 11px;
    color: #333;
    font-weight: 700;
}

/* Esconder mensagem quando pagamento selecionado */
.footer-message {
    display: block;
}

.footer-message.hidden {
    display: none;
}


/* ===== Player Profile Styles ===== */
.player-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    animation: fadeInProfile 0.3s ease;
}

@keyframes fadeInProfile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-avatar-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.player-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.player-name span {
    color: #111827;
}

.player-id {
    font-size: 12px;
    color: #6b7280;
}

.player-id span {
    color: #9ca3af;
}

/* Logout Button */
.btn-logout {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 12px;
    color: #dc2626;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-logout:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.login-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    color: #6b7280;
    font-size: 14px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

/* Error Message */
.login-error {
    padding: 10px 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 13px;
    margin-top: 10px;
}

/* Section Header Row with Logout */
.section-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}


/* Texto do evento BÔNUS NAS TENTATIVAS */
.event-title-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Ajuste para 3 jogos na seleção */
.games-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.game-card {
    flex: 0 0 auto;
    min-width: 70px;
}


/* Avatar do jogador no header */
.profile-icon-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}



/* ===== ÍCONE DE INTERROGAÇÃO E MODAL ===== */

/* Botão do ícone de interrogação */
.offer-info-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* Círculo vermelho com interrogação - estilo exato do site original */
.info-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #D81A0D;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    transition: background-color 0.2s ease;
}

/* Círculo cinza com interrogação - para o Pacote de Armas */
.info-icon-circle-gray {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #9ca3af;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.item-info-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.item-info-btn:hover .info-icon-circle-gray {
    background-color: #6b7280;
}

/* Tamanho original mantido para referência */
.info-icon-circle-original {
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #D81A0D;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.offer-info-btn:hover .info-icon-circle {
    background-color: #b81509;
}

/* ===== MODAL/POPUP STYLES ===== */

/* Overlay do modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Container do modal */
.modal-container {
    background: #fff;
    border-radius: 12px;
    max-width: 320px;
    width: 90%;
    margin: 20px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

/* Imagem do modal */
.modal-image-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.modal-image {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
}

/* Conteúdo do modal */
.modal-content {
    padding: 20px;
    text-align: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #151515;
    margin-bottom: 12px;
}

.modal-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Botão OK do modal */
.modal-btn-ok {
    width: 100%;
    padding: 14px 24px;
    background-color: #D81A0D;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-btn-ok:hover {
    background-color: #b81509;
}

.modal-btn-ok:active {
    transform: scale(0.98);
}


/* Ícone de diamante na tag PROMO - estilo igual ao site original */
.promo-diamond-icon {
    width: 12px;
    height: 12px;
    margin-right: 3px;
    vertical-align: middle;
    display: inline-block;
    background-color: #fff;
    border-radius: 2px;
    padding: 1px;
    object-fit: contain;
}


/* ===== MODAL DE RESGATADO COM SUCESSO ===== */
.modal-resgatado {
    text-align: center;
    padding: 30px;
}

.modal-success-icon {
    margin-bottom: 20px;
}

.modal-success-icon svg {
    width: 64px;
    height: 64px;
    fill: #22c55e;
}

.modal-resgatado .modal-title {
    color: #22c55e;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-resgatado .modal-text {
    color: #666;
    margin-bottom: 20px;
}

/* ===== MODAL DE LOGIN ===== */
.modal-login {
    padding: 0;
    max-width: 380px;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

.modal-close-btn:hover {
    color: #333;
}

.modal-login-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-login-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.modal-login-header .modal-title {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}

.modal-login .modal-content {
    padding: 20px;
}

.modal-login .modal-text {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.modal-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-login-label {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-login-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.modal-login-input:focus {
    outline: none;
    border-color: #D81A0D;
}

.modal-btn-login {
    background: #D81A0D;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

.modal-btn-login:hover {
    background: #b81509;
}

.modal-login-divider {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 20px 0 15px;
    position: relative;
}

.modal-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: background 0.2s;
}

.social-icon-link:hover {
    background: #e5e5e5;
}

.social-icon-link img {
    width: 24px;
    height: 24px;
}

/* ===== BOTÃO RESGATAR DESABILITADO ===== */
.btn-resgatar.disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-resgatar.disabled:hover {
    background: #9ca3af !important;
}


/* ===== MODAL DISPONÍVEL EM BREVE ===== */
.modal-em-breve {
    text-align: center;
    padding: 30px;
}

.modal-em-breve-icon {
    margin-bottom: 20px;
}

.modal-em-breve-icon svg {
    width: 64px;
    height: 64px;
    fill: #f59e0b;
}

.modal-em-breve .modal-title {
    color: #f59e0b;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-em-breve .modal-text {
    color: #666;
    margin-bottom: 20px;
}

/* ===== BANNER CAROUSEL FULL HD ===== */
.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
}

.carousel-container {
    background: transparent;
}

.carousel-wrapper {
    background: transparent;
}


/* ===== MENU LATERAL DE PERFIL ===== */
.profile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.profile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.profile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.profile-sidebar.active {
    right: 0;
}

.profile-sidebar-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-sidebar-header {
    background: linear-gradient(135deg, #da1c1c 0%, #8c1515 100%);
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.profile-avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.profile-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.profile-hot-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b00;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.profile-username {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.profile-sidebar-menu {
    padding: 20px;
    flex: 1;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: background 0.2s;
    border-radius: 8px;
}

.profile-menu-item:hover {
    background: #f5f5f5;
}

.profile-menu-icon {
    width: 24px;
    height: 24px;
    color: #666;
}

.profile-menu-logout {
    color: #da1c1c;
}

.profile-menu-logout .profile-menu-icon {
    color: #da1c1c;
}

.profile-menu-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}


/* ===== TOAST NOTIFICATIONS ===== */

/* Container dos toasts */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 90%;
    width: 360px;
}

/* Toast individual */
.toast {
    background: #333;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s ease-out;
    pointer-events: auto;
}

.toast.toast-hide {
    animation: toastSlideOut 0.3s ease-in forwards;
}

/* Tipos de toast */
.toast.toast-error {
    background: linear-gradient(135deg, #D81A0D 0%, #b5160b 100%);
}

.toast.toast-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.toast.toast-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast.toast-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Ícone do toast */
.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Mensagem do toast */
.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

/* Botão de fechar */
.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}

/* Animações */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsivo */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
    
    .toast {
        padding: 12px 16px;
    }
    
    .toast-message {
        font-size: 13px;
    }
}
