/* ========== SHORTCODES AVANÇADOS - ESTILOS ========== */

/* Prize Pool Shortcode */
.bg-prize-pool {
    background: linear-gradient(135deg, #002776 0%, #002776 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bg-prize-pool .prize-header {
    text-align: center;
    margin-bottom: 20px;
}

.bg-prize-pool .prize-header h4 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: bold;
}

.bg-prize-pool .prize-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.bg-prize-pool .prize-amount {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-prize-pool .prize-currency {
    font-size: 18px;
    opacity: 0.9;
}

.bg-prize-pool .prize-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-prize-pool .prize-distribution {
    margin-top: 25px;
}

.bg-prize-pool .prize-distribution h5 {
    margin: 0 0 15px 0;
    font-size: 18px;
    text-align: center;
}

.bg-prize-pool .prize-breakdown {
    display: grid;
    gap: 12px;
}

.bg-prize-pool .prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.bg-prize-pool .prize-item.prize-first {
    background: rgba(255, 215, 0, 0.2);
    border-left: 4px solid #FFD700;
}

.bg-prize-pool .prize-item.prize-second {
    background: rgba(192, 192, 192, 0.2);
    border-left: 4px solid #C0C0C0;
}

.bg-prize-pool .prize-item.prize-third {
    background: rgba(205, 127, 50, 0.2);
    border-left: 4px solid #CD7F32;
}

.bg-prize-pool .prize-item.prize-platform {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #FFA500;
    opacity: 0.8;
}

.bg-prize-pool .prize-position {
    font-weight: 600;
    font-size: 16px;
}

.bg-prize-pool .prize-value {
    font-weight: bold;
    font-size: 18px;
}

.bg-prize-pool .prize-percentage {
    font-size: 14px;
    opacity: 0.8;
}

.bg-prize-pool .prize-info {
    margin-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Stats Dashboard */
.bg-stats-dashboard {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.bg-stats-dashboard h3 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #007cba;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tournament Stats */
.bg-tournament-stats {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.bg-tournament-stats h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    text-align: center;
}

/* Player Level */
.bg-player-level {
    background: linear-gradient(135deg, #002776 0%, #002776 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.level-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.level-number {
    font-size: 48px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-info {
    flex: 1;
}

.level-info h4 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.xp-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Daily Challenges */
.bg-daily-challenges {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.bg-daily-challenges h4 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
}

.challenges-list {
    display: grid;
    gap: 15px;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.challenge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.challenge-item.completed {
    background: #d4edda;
    border-color: #c3e6cb;
}

.challenge-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.challenge-info {
    flex: 1;
}

.challenge-info h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.challenge-info p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.challenge-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.challenge-progress .reward {
    color: #007cba;
    font-weight: bold;
}

/* Calendar */
.bg-calendar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-header h4 {
    margin: 0;
    color: #333;
}

.month-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    background: #007cba;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.calendar-day {
    background: white;
    min-height: 80px;
    padding: 8px;
    position: relative;
}

.calendar-day.empty {
    background: #f8f9fa;
}

.day-number {
    font-weight: bold;
    color: #333;
}

.day-tournaments {
    margin-top: 5px;
}

.tournament-item {
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-bottom: 2px;
}

.tournament-item.tournament-free {
    background: #d4edda;
    color: #155724;
}

.tournament-item.tournament-premium {
    background: #fff3cd;
    color: #856404;
}

/* Countdown */
.bg-countdown {
    background: linear-gradient(135deg, #002776 0%, #002776 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-unit .number {
    font-size: 36px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    min-width: 60px;
    margin-bottom: 8px;
}

.time-unit .label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Credit Balance */
.bg-credit-balance {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.balance-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.balance-amount {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.balance-label {
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Player Profile */
.bg-player-profile {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.profile-avatar img {
    border-radius: 50%;
    border: 3px solid #007cba;
}

.profile-info h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.profile-info p {
    margin: 0;
    color: #666;
}

/* Notification Center */
.bg-notification-center {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.notification-item.unread {
    background: #e3f2fd;
    border-color: #007cba;
}

.notification-item.read {
    background: #f8f9fa;
    opacity: 0.8;
}

.notification-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.notification-content p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.notification-time {
    font-size: 12px;
    color: #999;
}

/* Share Buttons */
.bg-share-buttons {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* QR Code */
.bg-qr-code {
    text-align: center;
    padding: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.qr-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/* WhatsApp Status */
.bg-whatsapp-status {
    padding: 10px 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-connected .status-dot {
    background: #28a745;
}

.status-warning .status-dot {
    background: #ffc107;
}

.status-disconnected .status-dot {
    background: #dc3545;
}

.status-idle .status-dot {
    background: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-display {
        gap: 15px;
    }

    .time-unit .number {
        font-size: 24px;
        padding: 10px;
        min-width: 50px;
    }

    .level-display {
        flex-direction: column;
        text-align: center;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .bg-prize-pool .prize-breakdown {
        gap: 8px;
    }

    .bg-prize-pool .prize-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }

    .tournament-item {
        font-size: 9px;
    }
}