/* * Solana Premium Video - Theme Match v5.3 (Neon Upload)
 * Visuals: Matches 'Solana Video Theme' (NeonWave)
 * Colors: Pink #E52E99, Purple #9945FF, White #FFF
 */

:root {
    --sol-pink: #E52E99;
    --sol-purple: #9945FF;
    --sol-text: #111111;
    --sol-muted: #666666;
    --sol-surface: #FAFAFA;
    --sol-border: rgba(229, 46, 153, 0.1);
    --sol-radius: 2.5rem; /* Matches Theme rounded-[2.5rem] */
    --sol-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --sol-font-head: 'Outfit', sans-serif;
    --sol-shadow: 0 20px 40px -15px rgba(229, 46, 153, 0.15);
}

/* --- PLAYBACK & CONTAINER --- */
.sol-player-container {
    position: relative; width: 100%; margin-bottom: 60px;
    background: #ffffff; 
    border-radius: var(--sol-radius);
    overflow: hidden; 
    border: 1px solid var(--sol-border);
    box-shadow: var(--sol-shadow);
    font-family: var(--sol-font);
}

.sol-video-area {
    position: relative; width: 100%; background: #000;
    aspect-ratio: 16 / 9; overflow: hidden; display: flex;
}

video.sol-pv-video {
    width: 100%; height: 100%; object-fit: contain; display: block;
}

/* --- THEATER MODE --- */
.sol-theater-backdrop {
    display: none; position: fixed !important; inset: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(15px);
    z-index: 99998 !important; opacity: 0; transition: opacity 0.3s ease !important;
}
.sol-theater-backdrop.active { display: block !important; opacity: 1 !important; }

.sol-player-container.theater-mode {
    position: fixed !important; top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important; width: auto !important; height: auto !important;
    max-width: calc(100vw - 40px) !important; max-height: calc(100vh - 40px) !important;
    margin: 0 !important; z-index: 99999 !important;
    box-shadow: 0 0 100px rgba(229, 46, 153, 0.3) !important;
    display: flex !important; flex-direction: column !important;
    border-color: #fff !important;
}
.sol-player-container.theater-mode .sol-video-area { flex-grow: 1 !important; }

/* --- PLAYER UI --- */
.sol-top-bar {
    background: linear-gradient(135deg, #ffffff 0%, #FDF4FF 100%) !important;
    border-bottom: 1px solid rgba(229, 46, 153, 0.08) !important;
    padding: 12px 24px !important; height: 60px !important;
    display: flex !important; align-items: center !important; justify-content: space-between !important;
}
.sol-id-left { display: flex !important; align-items: center !important; gap: 12px !important; }
.sol-site-icon { width: 32px !important; height: 32px !important; border-radius: 8px !important; }
.sol-site-name { font-weight: 700 !important; color: var(--sol-text) !important; font-size: 14px !important; font-family: var(--sol-font-head) !important; }

/* --- BUTTONS (Theme Inheritance Match) --- */
/* We mimic the .btn-liquid class from the theme exactly */
.sol-btn-hero, .sol-get-solana-btn, .sol-fz-btn, .sol-drop-btn {
    background: linear-gradient(135deg, var(--sol-pink) 0%, var(--sol-purple) 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px; /* Rounded Full */
    padding: 0.85rem 2.5rem;
    font-family: var(--sol-font);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 46, 153, 0.3);
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
}

.sol-btn-hero:hover, .sol-get-solana-btn:hover, .sol-fz-btn:hover, .sol-drop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
    filter: brightness(1.1);
    color: #fff;
}

/* --- INPUTS (Theme Match) --- */
.sol-input-hero, .sol-cp-input, .sol-fz-input, .sol-lookup-input, .sol-login-input {
    width: 100%; padding: 14px 18px;
    background: #FAFAFA; 
    border: 2px solid #F0F0F0; 
    border-radius: 12px;
    font-family: var(--sol-font);
    font-size: 1rem; color: var(--sol-text);
    outline: none; transition: all 0.2s;
}

.sol-input-hero:focus, .sol-cp-input:focus, .sol-fz-input:focus, .sol-lookup-input:focus, .sol-login-input:focus {
    border-color: var(--sol-pink);
    background: #fff;
    box-shadow: 0 5px 15px rgba(229, 46, 153, 0.05);
}

/* --- POSTER & OVERLAY --- */
.sol-poster-fallback {
    position: absolute !important; inset: 0 !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
    z-index: 15 !important; cursor: pointer !important; background-size: cover !important;
    background-color: #FCE7F3 !important; /* Fallback color */
}
.sol-poster-play-btn {
    width: 90px !important; height: 90px !important; 
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px); border-radius: 50% !important; display: flex !important;
    align-items: center !important; justify-content: center !important; transition: transform 0.3s !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
.sol-poster-fallback:hover .sol-poster-play-btn { transform: scale(1.1) !important; background: #fff !important; color: var(--sol-pink) !important; }
.sol-poster-play-btn svg { fill: var(--sol-text) !important; width: 32px !important; height: 32px !important; margin-left: 4px; }
.sol-poster-fallback:hover svg { fill: var(--sol-pink) !important; }

.sol-pv-overlay {
    position: absolute; inset: 0; 
    background: rgba(255,255,255,0.95); /* Heavy blur bg */
    backdrop-filter: blur(20px); 
    display: none; justify-content: center; align-items: center; z-index: 20; 
    padding: 20px;
}
.sol-pv-overlay.active { display: flex; animation: solFadeIn 0.5s ease; }

.sol-step-card, .sol-checkout-wrapper {
    background: #fff; border: 1px solid var(--sol-border);
    border-radius: 2rem; padding: 40px; 
    width: 100%; max-width: 800px;
    box-shadow: var(--sol-shadow);
    text-align: left;
}

.sol-prompt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.sol-prompt-title { font-size: 36px; font-weight: 800; color: var(--sol-text); margin-bottom: 15px; font-family: var(--sol-font-head); line-height: 1.1; }
.sol-prompt-desc { font-size: 18px; color: var(--sol-muted); line-height: 1.6; margin-bottom: 30px; font-weight: 500; }
.sol-price-hero { 
    font-size: 64px; font-weight: 800; font-family: var(--sol-font-head);
    background: linear-gradient(135deg, var(--sol-pink), var(--sol-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px; text-align: center;
    letter-spacing: -2px;
    line-height: 1;
}

/* --- ACCESS BAR --- */
.sol-access-bar {
    background: #ffffff !important; border-top: 1px solid var(--sol-border) !important;
    padding: 12px 24px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 20px !important; flex-wrap: wrap !important; border-radius: 0 0 1.5rem 1.5rem !important;
}
.sol-text-btn {
    background: transparent !important; border: none !important; color: var(--sol-muted) !important;
    cursor: pointer !important; font-size: 13px !important; font-weight: 600 !important;
    text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s;
}
.sol-text-btn:hover { color: var(--sol-pink) !important; }

/* Login Drawer */
.sol-login-drawer {
    display: none !important; align-items: center !important; gap: 8px !important;
    animation: solFadeIn 0.3s ease !important;
    background: #fff !important; padding: 15px !important;
    border-radius: 16px !important; border: 1px solid var(--sol-border) !important;
    position: absolute !important; bottom: 70px !important;
    box-shadow: var(--sol-shadow) !important; z-index: 50 !important;
}
.sol-login-drawer.active { display: flex !important; }
.sol-login-go { 
    background: var(--sol-text) !important; color: #fff !important; border: none !important; 
    padding: 14px 20px !important; font-size: 13px !important; border-radius: 12px !important; 
    font-weight: bold !important; cursor: pointer !important; 
}

/* --- CREATOR PORTAL --- */
.sol-cp-card {
    background: #fff; border: 1px solid var(--sol-border);
    border-radius: 2.5rem; padding: 50px;
    max-width: 700px; margin: 0 auto;
    box-shadow: var(--sol-shadow);
}

/* Vibrant Neon Upload Box (Your Preferred Version) */
.sol-cp-upload-box {
    border: 3px dashed rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 80px 20px; 
    text-align: center; 
    cursor: pointer;
    background: linear-gradient(135deg, var(--sol-pink) 0%, var(--sol-purple) 100%);
    transition: all 0.3s ease;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(229, 46, 153, 0.2);
}
.sol-cp-upload-box:hover {
    border-color: #ffffff;
    box-shadow: 0 15px 40px rgba(153, 69, 255, 0.4);
    transform: translateY(-2px);
}
/* Ensure inner text is white */
.sol-cp-upload-box h3 { color: #ffffff !important; margin: 0 0 5px 0; }
.sol-cp-upload-box p { color: rgba(255, 255, 255, 0.9) !important; font-size: 13px; margin: 0; }
.sol-cp-upload-box .sol-icon { font-size: 40px; margin-bottom: 15px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }


.sol-cp-label { font-size: 12px; text-transform: uppercase; font-weight: 700; color: #999; margin-bottom: 8px; display: block; letter-spacing: 0.5px; }
.sol-cp-hero { text-align: center; margin-bottom: 50px; }
.sol-cp-hero h1 { font-family: var(--sol-font-head); font-weight: 800; font-size: 48px; color: #111; margin-bottom: 15px; letter-spacing: -1px; }
.sol-cp-hero span { background: linear-gradient(135deg, var(--sol-pink), var(--sol-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sol-cp-hero p { color: var(--sol-muted); font-size: 18px; }

/* --- FAN ZONE (White Mode) --- */
.sol-fz-wrapper {
    margin-top: 80px; font-family: var(--sol-font); color: #111; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.sol-fz-title {
    font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 50px; font-family: var(--sol-font-head);
    color: #111;
}

/* PODIUM */
.sol-podium { display: flex; justify-content: center; align-items: flex-end; gap: 30px; margin-bottom: 80px; }
.sol-podium-card {
    background: #fff; border-radius: 24px; padding: 25px; text-align: center;
    width: 100%; max-width: 220px; box-shadow: 0 15px 30px rgba(0,0,0,0.03);
    border: 2px solid transparent; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform 0.3s;
}
.sol-podium-card:hover { transform: translateY(-5px); }
.sol-podium-card.gold { height: 280px; border-color: #FFD700; order: 2; z-index: 2; transform: scale(1.1); box-shadow: 0 25px 50px rgba(255, 215, 0, 0.15); }
.sol-podium-card.silver { height: 240px; border-color: #C0C0C0; order: 1; }
.sol-podium-card.bronze { height: 200px; border-color: #CD7F32; order: 3; }
.sol-medal { font-size: 40px; margin-bottom: 10px; }
.sol-p-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; color: #111; font-family: var(--sol-font-head); }
.sol-p-amt { font-size: 13px; color: var(--sol-pink); font-weight: 700; background: #FFF0F5; padding: 4px 12px; border-radius: 99px; display: inline-block; }

/* DONATION FORM */
.sol-fz-form {
    background: #ffffff; border: 1px solid var(--sol-border); border-radius: 2.5rem; padding: 50px;
    max-width: 700px; margin: 0 auto 80px; box-shadow: var(--sol-shadow);
}
.sol-fz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

/* COMMENTS LIST */
.sol-fz-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.sol-fz-item {
    display: flex; gap: 20px; padding: 30px; border: 1px solid #F0F0F0; border-radius: 24px;
    align-items: flex-start; background: #fff; transition: all 0.3s;
}
.sol-fz-item:hover { border-color: var(--sol-pink); box-shadow: 0 10px 30px rgba(0,0,0,0.03); transform: translateX(5px); }
.sol-fz-av {
    width: 50px; height: 50px; background: #FAFAFA; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    font-weight: 800; color: var(--sol-purple); border: 2px solid #F0F0F0;
}
.sol-fz-content { flex: 1; }
.sol-fz-head { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: center; }
.sol-fz-user { font-weight: 800; font-size: 16px; font-family: var(--sol-font-head); color: #111; }
.sol-fz-badge {
    background: #FCE7F3; color: var(--sol-pink);
    padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700;
}
.sol-fz-txt { font-size: 15px; color: #555; line-height: 1.6; }

/* --- UTILS --- */
.sol-hidden { display: none !important; }
@keyframes solFadeIn { from {opacity:0} to {opacity:1} }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .sol-prompt-grid { grid-template-columns: 1fr; gap: 30px; }
    .sol-player-container { border-radius: 1.5rem; margin-bottom: 40px; }
    .sol-price-hero { font-size: 3rem; }
    .sol-cp-card { padding: 30px 20px; }
    .sol-podium { height: auto; flex-direction: column; align-items: center; gap: 30px; }
    .sol-podium-card.gold { transform: none; }
    .sol-podium-card { max-width: 100%; height: auto !important; order: unset !important; }
    .sol-fz-row { grid-template-columns: 1fr; }
}