/* ============================================
   YOUTUBE REWARDS - PREMIUM THEME
   ============================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #181818;
    --bg-card-hover: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #717171;
    --accent-red: #ff0000;
    --accent-red-hover: #cc0000;
    --accent-red-glow: rgba(255, 0, 0, 0.15);
    --green-success: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.2);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 30px rgba(255, 0, 0, 0.2);
    --shadow-glow-green: 0 0 30px rgba(34, 197, 94, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-primary);
    position: relative;
}

/* ============================================
   HEADER - Glassmorphism Premium
   ============================================ */
.header {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rewards-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.balance-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(74, 222, 128, 0.25);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.balance-badge:hover {
    box-shadow: 
        0 4px 20px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.balance-badge::before {
    content: '💰';
    font-size: 12px;
}

.balance-text {
    color: #4ade80;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
    flex: 1;
    padding: 20px 16px 100px;
    background: var(--bg-primary);
    overflow-y: auto;
    min-height: calc(100vh - 120px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.content {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   VIDEO CARD - Premium Design
   ============================================ */
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    animation: cardSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-card:hover {
    border-color: var(--border-hover);
    box-shadow: 
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.product-display {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .product-display {
        height: 280px;
    }
    
    .video-card {
        margin-bottom: 16px;
        border-radius: var(--radius-lg);
    }
    
    .main {
        padding-bottom: 160px;
    }
    
    .content {
        padding-bottom: 20px;
    }
}

/* Video Player */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 15;
    background: #000;
}

/* Play Button - Premium */
.play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 68px;
    height: 68px;
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(255, 0, 0, 0.4),
        0 0 60px rgba(255, 0, 0, 0.15);
    transition: all var(--transition-normal);
    z-index: 30;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.2);
    animation: playPulseRing 2s ease-out infinite;
}

@keyframes playPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
    box-shadow: 
        0 6px 30px rgba(255, 0, 0, 0.5),
        0 0 80px rgba(255, 0, 0, 0.2);
}

.play-btn:active {
    transform: translate(-50%, -50%) scale(0.95) !important;
}

.play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.play-btn.pulsing {
    animation: playBtnPulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes playBtnPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4), 0 0 60px rgba(255, 0, 0, 0.15);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5), 0 0 80px rgba(255, 0, 0, 0.2);
    }
}

/* Pause Button */
.pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 30;
}

.pause-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.pause-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.pause-btn svg {
    width: 26px;
    height: 26px;
}

.pause-btn.hidden {
    display: none;
}

/* ============================================
   VIDEO INFO BAR
   ============================================ */
.video-info {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.video-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timer {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    min-width: 52px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    transition: all var(--transition-normal);
}

.timer-value {
    color: white;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timer.complete {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

/* ============================================
   PROGRESS BAR - Premium
   ============================================ */
.video-progress-container {
    width: 100%;
    margin: 16px 0 12px 0;
    padding: 0;
}

.video-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.video-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ef4444, #f87171, #fca5a5);
    border-radius: 2px;
    transition: width 0.2s linear;
    position: relative;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.video-progress-fill::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-progress-fill[style*="width"]:not([style*="width: 0"])::after {
    opacity: 1;
}

/* ============================================
   ACTION BUTTON - Premium
   ============================================ */
.action-btn {
    width: 100%;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 5;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.action-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.action-btn.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.action-btn.success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Loading State */
.action-btn.loading {
    color: transparent;
    pointer-events: none;
    position: relative;
}

.action-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* ============================================
   BOTTOM NAVIGATION - YouTube Style
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 70px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-red);
    border-radius: 0 0 2px 2px;
    transition: width var(--transition-normal);
}

.nav-btn:hover {
    color: var(--text-primary);
}

.nav-btn.active {
    color: var(--text-primary);
}

.nav-btn.active::after {
    width: 24px;
}

.nav-btn svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-fast);
}

.nav-btn.active svg {
    transform: scale(1.1);
}

.nav-text {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================
   POPUPS - Premium Glassmorphism
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: overlayFadeIn 0.3s ease-out;
    padding: 16px;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay.hidden {
    display: none !important;
}

.popup-content {
    background: linear-gradient(180deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    max-width: 360px;
    width: 100%;
    position: relative;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-body {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
    font-size: 14px;
}

.popup-body p {
    margin: 0 0 10px 0;
}

.popup-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.popup-footer {
    text-align: center;
}

.popup-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    width: 100%;
    letter-spacing: 0.01em;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

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

/* ============================================
   REWARD POPUP - Special
   ============================================ */
.reward-popup-content {
    background: linear-gradient(180deg, #1a2e1a 0%, #0f1f0f 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    padding: 36px 24px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(34, 197, 94, 0.1);
    animation: rewardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rewardSlideIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reward-popup-content.closing {
    animation: rewardSlideOut 0.4s ease-in forwards;
}

@keyframes rewardSlideOut {
    to {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
}

.reward-icon {
    margin-bottom: 20px;
}

.dollar-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 8px 24px rgba(34, 197, 94, 0.3),
        0 0 40px rgba(34, 197, 94, 0.1);
    animation: dollarBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes dollarBounce {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.dollar-sign {
    color: white;
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.reward-text h2 {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.reward-amount {
    color: #4ade80;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
    font-variant-numeric: tabular-nums;
    animation: amountCount 0.4s ease-out 0.3s both;
}

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

.reward-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
}

/* ============================================
   LIMIT POPUP
   ============================================ */
.limit-popup {
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, #1f1010 0%, #150a0a 100%);
}

.limit-popup .popup-header h2 {
    background: linear-gradient(135deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.limit-icon {
    font-size: 44px;
    text-align: center;
    margin: 12px 0;
}

.limit-info {
    margin-top: 16px;
    padding: 14px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.info-item {
    color: #fbbf24;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 13px;
}

.info-item:last-child {
    margin-bottom: 0;
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-container {
    padding: 32px 16px;
    max-width: 480px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 28px;
    text-align: center;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.account-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 0 auto;
    max-width: 400px;
    border: 1px solid var(--border-color);
    animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #f87171;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.detail-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.detail-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.balance-value {
    color: #4ade80;
    font-weight: 700;
    font-size: 15px;
}

.status-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ade80;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   WITHDRAW PAGE
   ============================================ */
.withdraw-container {
    padding: 32px 16px;
    max-width: 480px;
    margin: 0 auto;
}

.withdraw-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.withdraw-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.withdraw-label {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

.withdraw-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.withdraw-value-green {
    color: #4ade80;
    font-size: 16px;
}

.withdraw-divider {
    border: none;
    height: 1px;
    margin: 8px 0;
    background: var(--border-color);
}

.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.withdraw-submit {
    margin-top: 8px;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    letter-spacing: 0.01em;
}

.withdraw-submit:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.withdraw-submit:active {
    transform: translateY(0);
}

/* ============================================
   WITHDRAW SECURITY POPUP
   ============================================ */
.withdraw-popup {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    max-width: 400px;
}

.withdraw-popup .popup-header {
    position: relative;
    padding-bottom: 16px;
}

.withdraw-popup .popup-header h2 {
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
}

.security-lock {
    background: rgba(239, 68, 68, 0.15);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.security-lock svg {
    color: #ef4444;
}

.connection-lines {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
}

.line {
    background: linear-gradient(90deg, #ef4444, #f87171);
    border-radius: 1px;
    width: 10px;
    height: 2px;
}

.youtube-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.youtube-logo {
    width: 22px;
    height: 22px;
    color: #ff0000;
}

.youtube-text {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.verify-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ============================================
   FADE IN ANIMATION
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PAGE MANAGEMENT
   ============================================ */
.page {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.page.hidden {
    display: none;
}

/* ============================================
   SCROLLBAR - Minimal
   ============================================ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .app {
        max-width: 100%;
    }
    
    .bottom-nav {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .app {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.hidden {
    display: none !important;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    margin-top: 16px;
    transition: all var(--transition-normal);
}

.option-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.option-card.active {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.option-card .label {
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}

/* Security Container */
.security-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 20px;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.security-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

.security-nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    min-width: 70px;
}

.security-nav-btn.security-active {
    color: var(--accent-red);
}

.security-nav-btn svg {
    width: 22px;
    height: 22px;
}

.security-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Blocked Content */
.blocked-content {
    text-align: center;
    color: var(--text-primary);
}

.blocked-content h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
    color: #ef4444;
}

.blocked-content p {
    margin: 4px 0;
    color: var(--text-muted);
    font-size: 14px;
}
