/* Spotify Opina - Design System 2026 */

:root {
    /* Spotify Theme Palette */
    --spotify-green: #1DB954;
    --spotify-green-hover: #1ED760;
    --spotify-black: #121212;
    --spotify-dark-grey: #181818;
    --spotify-light-grey: #282828;
    --text-main: #FFFFFF;
    --text-secondary: #B3B3B3;

    /* Accents & Gamification */
    --accent-gold: #FFD700;
    --error-red: #FF4444;
    --glass-bg: rgb(0, 0, 0);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* System Defaults */
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
}

body {
    background: radial-gradient(circle at center, #1e1e1e 0%, var(--spotify-black) 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Layout Containers */
.app-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gamified Elements */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 185, 84, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--spotify-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--spotify-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--spotify-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(29, 185, 84, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
    }
}

/* Typography Enhancements */
h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #FFF 0%, #AAA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Video Wrapper */
.premium-video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.premium-video-box:hover {
    border-color: var(--spotify-green);
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--spotify-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
    z-index: 2;
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid white;
    margin-left: 4px;
}

/* Hold To Unlock Gamification */
.gamified-btn-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hold-area {
    position: relative;
    height: 64px;
    background: #000000;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.hold-area:active {
    transform: scale(0.97);
}

.hold-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--spotify-green) 0%, var(--spotify-green-hover) 100%);
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
    z-index: 1;
}

.hold-label {
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.instruction-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Footer Section */
.premium-footer {
    padding: 40px 20px;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

/* Forms & Inputs */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus {
    border-color: var(--spotify-green);
    background: rgba(29, 185, 84, 0.05);
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.1);
}

.premium-btn:hover {
    background: var(--spotify-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.premium-btn:active {
    transform: translateY(0);
}

.form-footer-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

.form-footer-label b {
    color: var(--spotify-green);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    color: var(--spotify-green);
}

.copyright-text {
    font-size: 0.7rem;
    color: #444;
}

/* Social Proof Floating */
.proof-tag {
    position: fixed;
    bottom: 150px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--spotify-green);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Header Premium Components */
.premium-header {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-logo-img {
    height: 28px;
}

.balance-pill {
    background: var(--spotify-green);
    padding: 6px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 10px rgba(29, 185, 84, 0.3);
}

.balance-pill span {
    color: white;
}

/* Player Components */
.player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 25px;
}

.album-art-box {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.song-info {
    text-align: center;
}

.song-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.artist-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.play-pause-btn {
    width: 56px;
    height: 56px;
    background: var(--spotify-green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.play-pause-btn svg {
    fill: black;
    width: 24px;
    height: 24px;
}

/* Estado de Play/Pause via Classe (Ouro para Autoplay) */
.play-pause-btn #spPauseIcon {
    display: none !important;
}

.play-pause-btn.playing #spPlayIcon {
    display: none !important;
}

.play-pause-btn.playing #spPauseIcon {
    display: block !important;
}

/* Progress Slider */
.audio-progress-container {
    width: 100%;
    margin-top: 15px;
}

.progress-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--spotify-green);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Quiz Options */
.options-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.option-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.option-pill.selected {
    background: var(--spotify-green);
    color: black;
    border-color: var(--spotify-green);
}

/* Player Style - Solid & Colorful (User Preference) */
.song-player-solid {
    background: #952b00;
    /* Cor padrão desta música */
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.song-player-solid .sp-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
    display: block;
}

.song-player-solid .sp-artist {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.song-player-blue {
    background: #003b5c !important;
    /* Cor específica para a Página 03 */
}

.song-player-wine {
    background: #720000 !important;
    /* Cor específica para a Página 04 */
}

.song-player-magenta {
    background: #9b0050 !important;
    /* Cor específica para a Página 05 */
}

.song-player-sky {
    background: #702008 !important;
    /* Cor específica para a Página 06 */
}

.song-player-purple {
    background: #502860 !important;
    /* Cor específica para a Página 07 */
}

.song-player-teal {
    background: #004d4d !important;
    /* Cor específica para a Página 08 */
}

.song-player-pink {
    background: #ea1d5d !important;
    /* Cor específica para a Página 09 */
}

.option-pill-solid {
    background: #181818;
    border: 1.5px solid #333;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.option-pill-solid.selected {
    background: var(--spotify-green);
    border-color: var(--spotify-green);
    color: black;
    transform: scale(1.02);
}

.option-btn-original {
    flex: 1;
    background: #000;
    border: 1px solid rgba(29, 185, 84, 0.4);
    /* Destaque Verde Sutil */
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

/* GARANTIR QUE O VERDE APAREÇA NAS RESPOSTAS */
.options-group .option-btn-original.selected {
    background: var(--spotify-green) !important;
    border-color: var(--spotify-green) !important;
    color: white !important;
}

/* Novo Estilo para o Botão Premium Principal */
.premium-btn {
    background: #1DB954 !important;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.premium-btn:disabled {
    background: #ffffff !important;
    color: #1DB954 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.premium-btn:active {
    transform: scale(0.95);
}

.earning-card {
    border: 1.5px solid var(--spotify-green);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    margin: 15px auto;
    width: 100%;
    max-width: 380px;
    background: rgba(29, 185, 84, 0.05);
    animation: fadeInSlide 0.5s ease;
}

.earning-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.earning-card b {
    color: var(--spotify-green);
}

/* Estilos de Saque - Página 10 */
.option-pix {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
}

.option-pix.selected {
    border-color: var(--spotify-green);
    background: rgba(29, 185, 84, 0.1) !important;
    color: white;
}

.option-pix i {
    font-size: 20px;
    opacity: 0.7;
}

.option-pix.selected i {
    opacity: 1;
    color: var(--spotify-green);
}

.premium-input {
    width: 100%;
    background: #181818;
    border: 1.5px solid #282828;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.premium-input:focus {
    border-color: var(--spotify-green);
    background: #222;
}

.premium-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Popup de Processamento */
.premium-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.spinner-premium {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--spotify-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.payout-progress-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 20px;
}

.payout-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--spotify-green);
    transition: width 0.3s ease;
}

/* Página de Status */
.payout-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.5;
}

.status-step.completed {
    opacity: 1;
    color: var(--spotify-green);
}

.status-step.active {
    opacity: 1;
    color: white;
    font-weight: 600;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.premium-plan-card {
    background: linear-gradient(135deg, #ffffff, #fff4bd);
    /* Amarelo Ouro Vibrante */
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    color: #000;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border: 3px solid #FFF;
    /* Borda branca para dar brilho */
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    }

    to {
        box-shadow: 0 15px 60px rgba(255, 215, 0, 0.7);
    }
}

.scarcity-badge-hot {
    background: linear-gradient(90deg, #FF4500, #FF0000);
    /* Laranja para Vermelho */
    color: #FFF;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    animation: urgentPulse 1s infinite alternate;
}

@keyframes urgentPulse {
    from {
        transform: scale(1);
        filter: brightness(1);
    }

    to {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.countdown-red {
    color: #FF0000 !important;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.urgency-text {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    margin-top: 15px;
    display: block;
    background: rgb(255, 0, 0);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
}

.payout-btn-high {
    background: #1DB954 !important;
    /* Verde Spotify */
    color: #FFF !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 18px !important;
    border-radius: 50px !important;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    box-shadow: 0 0 0 rgba(29, 185, 84, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    animation: borderGlow 1.5s infinite alternate;
}

@keyframes borderGlow {
    from {
        box-shadow: 0 0 5px rgba(29, 185, 84, 0.6), 0 0 10px rgba(29, 185, 84, 0.4);
        transform: scale(1);
    }

    to {
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.8), 0 0 30px rgba(29, 185, 84, 0.2);
        transform: scale(1.02);
    }
}

.payout-btn-high:hover {
    background: #1ed760 !important;
    transform: scale(1.05);
}

.standard-plan-card {
    background: #121212;
    border: 1.5px solid #282828;
    border-radius: 20px;
    padding: 25px;
    color: var(--text-secondary);
}

.plan-price-tag {
    font-size: 24px;
    font-weight: 800;
    margin: 15px 0;
    display: block;
}

.faq-container {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.faq-item:last-child {
    border: none;
}

.faq-item h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: white;
}

.faq-item p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Página de Regras de Saque */
.rule-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

.rule-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.rule-card-premium:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
}

.rule-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spotify-green);
    font-size: 18px;
}

.rule-icon-box.highlight-yellow {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.rule-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.rule-content p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.compare-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.compare-mini-card {
    padding: 15px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.6;
}

.compare-mini-card.standard {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.compare-mini-card.premium-fast {
    background: rgba(29, 185, 84, 0.15);
    border: 1px solid var(--spotify-green);
    color: white;
}

/* Upsell UP1 / UP2 */
.video-wrapper-premium {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.payout-alert-box {
    background: rgba(255, 255, 0, 0.05);
    border: 1.5px dashed #FFD700;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #FFD700;
}

.timer-urgente {
    background: rgba(255, 0, 0, 0.1);
    color: #FF4d4d;
    font-weight: 800;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

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

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