@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.fv-gw-page {
    --fv-font: 'Inter', -apple-system, sans-serif;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --fv-primary: #8b5cf6; 
    --fv-secondary: #ec4899;
    --fv-text-dark: #0f172a;
    --fv-text-muted: #475569;
    --fv-bg-white: #ffffff;
    --fv-bg-soft: #f8fafc;
    --fv-border: #e2e8f0;
    --fv-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --fv-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --fv-radius-lg: 24px;
    --fv-radius-md: 16px;

    width: 100%; max-width: 950px; margin: 0 auto; padding: 20px 0;
    font-family: var(--fv-font); color: var(--fv-text-dark); line-height: 1.6;
    box-sizing: border-box; transition: all 0.3s ease;
}

.fv-gw-page * { box-sizing: border-box; }

body.dark .fv-gw-page {
    --fv-text-dark: #f8fafc; --fv-text-muted: #94a3b8;
    --fv-bg-white: #1e293b; --fv-bg-soft: #0f172a; --fv-border: #334155;
}

/* Breadcrumb */
.fv-gw-page .fv-breadcrumb {
    width: 100%; max-width: 800px; margin: 0 auto 35px auto; padding: 10px 20px;
    background: rgba(241, 245, 249, 0.6); border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50px; backdrop-filter: blur(8px);
}
body.dark .fv-gw-page .fv-breadcrumb { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.8); }
.fv-gw-page .fv-bc-wrapper { display: flex; align-items: center; overflow-x: auto; gap: 10px; scrollbar-width: none; }
.fv-gw-page .fv-bc-wrapper::-webkit-scrollbar { display: none; }
.fv-gw-page .fv-bc-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--fv-text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.fv-gw-page .fv-bc-item svg { stroke: var(--fv-primary); }
.fv-gw-page .fv-bc-item:hover { color: var(--fv-primary); }
.fv-gw-page .fv-bc-item.active { color: var(--fv-text-dark); font-weight: 700; background: var(--fv-bg-white); padding: 6px 14px; border-radius: 20px; box-shadow: var(--fv-shadow-md); border: 1px solid var(--fv-border); }
body.dark .fv-gw-page .fv-bc-item.active { background: #0f172a; color: #f8fafc; border-color: #334155; }
.fv-gw-page .fv-bc-divider { font-size: 10px; color: #94a3b8; opacity: 0.6; }

/* Header */
.fv-gw-header { text-align: center; margin-bottom: 45px; padding: 0 20px; }
.fv-gw-header .fv-service-title { font-size: 34px; font-weight: 800; color: var(--fv-text-dark); margin: 0 0 15px 0; letter-spacing: -0.03em; line-height: 1.3; }
.fv-gw-header .fv-title-highlight { background: linear-gradient(45deg, var(--fv-primary), var(--fv-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; display: inline-block; padding: 0 4px; }
.fv-gw-header .fv-gw-subtitle { font-size: 16px; color: var(--fv-text-muted); font-weight: 500; max-width: 650px; margin: 0 auto; }

/* Widget Container */
.fv-gw-widget { width: 100%; margin-bottom: 60px; }
.fv-setup-section { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); padding: 40px; box-shadow: var(--fv-shadow-md); max-width: 800px; margin: 0 auto 30px; animation: fadeIn 0.5s ease; }
body.dark .fv-setup-section { background: var(--fv-bg-soft); }

.fv-search-box { position: relative; width: 100%; display: flex; align-items: center; background: var(--fv-bg-soft); border: 2px solid var(--fv-border); border-radius: 16px; padding: 5px; margin-bottom: 30px; transition: border-color 0.3s ease; }
body.dark .fv-search-box { background: #0f172a; }
.fv-search-box:focus-within { border-color: var(--fv-primary); }
.fv-gw-icon { font-size: 24px; margin-left: 15px; color: #cbd5e1; }
.fv-search-box input { flex: 1; padding: 18px 20px; background: transparent; border: none; font-family: var(--fv-font); font-size: 16px; color: var(--fv-text-dark); font-weight: 600; outline: none; }

/* Rules Section */
.fv-rules-container { background: rgba(139, 92, 246, 0.05); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px; padding: 25px; margin-bottom: 25px; }
.fv-rules-title { margin: 0 0 20px 0; font-size: 16px; font-weight: 800; color: var(--fv-text-dark); display: flex; align-items: center; gap: 8px;}
.fv-rules-title i { color: var(--fv-primary); }

.fv-rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.fv-rule-box { display: flex; flex-direction: column; gap: 8px; }
.fv-rule-box label { font-size: 13px; font-weight: 700; color: var(--fv-text-muted); }
.fv-rule-box input[type="number"] { padding: 12px 15px; border-radius: 10px; border: 1px solid var(--fv-border); background: var(--fv-bg-white); color: var(--fv-text-dark); font-weight: 600; font-family: var(--fv-font); outline: none;}
body.dark .fv-rule-box input[type="number"] { background: #0f172a; }

/* Custom Toggle Switch */
.toggle-box { align-items: flex-start; }
.toggle-box small { font-size: 11px; color: #94a3b8; }
.fv-switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.fv-switch input { opacity: 0; width: 0; height: 0; }
.fv-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.fv-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
.fv-switch input:checked + .fv-slider { background: linear-gradient(45deg, var(--fv-primary), var(--fv-secondary)); }
.fv-switch input:checked + .fv-slider:before { transform: translateX(24px); }

.fv-btn-track { background: linear-gradient(45deg, var(--fv-primary), var(--fv-secondary)); color: #fff; border: none; border-radius: 16px; padding: 18px; width: 100%; font-family: var(--fv-font); font-weight: 800; font-size: 16px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; margin-top: 15px;}
.fv-btn-track:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4); }
.fv-btn-track:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.fv-limit-text { text-align: center; font-size: 13px; color: #10b981; font-weight: 600; margin-top: 15px; margin-bottom: 0;}

.fv-turnstile-container { margin: 15px 0; display: flex; justify-content: center; }

/* Empty State */
.fv-empty-state { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; animation: fadeIn 0.5s ease; }
.empty-state-card { background: var(--fv-bg-white); border: 1px solid var(--fv-border); padding: 25px 20px; border-radius: var(--fv-radius-md); box-shadow: var(--fv-shadow-md); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s; }
body.dark .empty-state-card { background: var(--fv-bg-soft); }
.empty-state-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.3); }
.empty-state-card .es-icon { width: 50px; height: 50px; background: rgba(139, 92, 246, 0.1); color: var(--fv-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 15px; }
.empty-state-card h3 { margin: 0 0 10px 0; font-size: 16px; color: var(--fv-text-dark); font-weight: 700; }
.empty-state-card p { margin: 0; font-size: 13.5px; color: var(--fv-text-muted); line-height: 1.5; }

/* Loader Area */
.fv-loader-area { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); padding: 50px 20px; text-align: center; max-width: 800px; margin: 0 auto; box-shadow: var(--fv-shadow-md); animation: fadeIn 0.5s ease;}
body.dark .fv-loader-area { background: var(--fv-bg-soft); }
.fv-spinner { width: 50px; height: 50px; border: 4px solid var(--fv-border); border-top-color: var(--fv-primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
.fv-loader-area h3 { color: var(--fv-text-dark); margin: 0 0 10px 0; font-size: 20px;}
.fv-loader-area p { color: var(--fv-text-muted); font-size: 14px; margin: 0 0 20px 0;}
.fv-progress-bar { width: 80%; max-width: 400px; height: 8px; background: var(--fv-border); border-radius: 10px; margin: 0 auto; overflow: hidden;}
.fv-progress-fill { width: 0%; height: 100%; background: linear-gradient(45deg, var(--fv-primary), var(--fv-secondary)); transition: width 0.3s ease; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ⚡ CANLI YORUM AKIŞI (LIVE STREAM) EFEKTLERİ ⚡ */
.fv-live-stream { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; height: 110px; overflow: hidden; mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); }
.fv-stream-item { display: flex; align-items: center; background: var(--fv-bg-soft); border: 1px solid var(--fv-border); border-radius: 30px; padding: 4px 14px 4px 4px; gap: 8px; animation: streamPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; opacity: 0; transform: translateY(20px) scale(0.8); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
body.dark .fv-stream-item { background: #0f172a; }
.fv-stream-item img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--fv-primary); }
.fv-stream-item span { font-size: 13px; font-weight: 700; color: var(--fv-text-dark); }
@keyframes streamPop { to { opacity: 1; transform: translateY(0) scale(1); } }

/* Result Area & Animations */
.fv-result-area { max-width: 800px; margin: 0 auto; animation: fadeIn 0.5s ease; }
.fv-animation-box { background: linear-gradient(145deg, #09090b 0%, #1e1b4b 100%); border-radius: var(--fv-radius-lg); padding: 60px 20px; text-align: center; color: #fff; box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.4); }
.fv-animation-box h4 { margin: 0 0 20px 0; font-size: 18px; color: #a78bfa; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;}
.fv-slot-machine { font-family: 'Roboto Mono', monospace; font-size: 55px; font-weight: 800; letter-spacing: 1px; color: #fff; text-shadow: 0 0 25px rgba(255,255,255,0.4); }

/* Winner Cards */
.fv-winners-list { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); padding: 40px; box-shadow: var(--fv-shadow-md); text-align: center;}
body.dark .fv-winners-list { background: var(--fv-bg-soft); }
.fv-success-title { font-size: 32px; font-weight: 900; color: #10b981; margin: 0 0 10px 0; text-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);}
.fv-stats-text { font-size: 14px; color: var(--fv-text-muted); margin: 0 0 35px 0; font-weight: 600; background: rgba(16, 185, 129, 0.1); padding: 8px 15px; border-radius: 20px; display: inline-block;}

/* ⚡ ALTIN BİLET (GOLDEN TICKET) TASARIMI ⚡ */
.fv-winner-card { background: linear-gradient(135deg, #ffedd5 0%, #fef3c7 100%); border: 3px solid #fbbf24; border-radius: var(--fv-radius-md); padding: 30px; margin-bottom: 25px; display: flex; align-items: center; gap: 25px; text-align: left; box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.4); position: relative; overflow: hidden; animation: winnerReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; transform: scale(0.8); opacity: 0; }
body.dark .fv-winner-card { background: linear-gradient(135deg, #422006 0%, #78350f 100%); border-color: #f59e0b; box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.2); }
@keyframes winnerReveal { to { transform: scale(1); opacity: 1; } }

.fv-winner-badge { position: absolute; top: 0; right: 0; background: linear-gradient(45deg, #f59e0b, #fbbf24); color: #fff; font-size: 13px; font-weight: 800; padding: 8px 25px; border-bottom-left-radius: 16px; text-transform: uppercase; letter-spacing: 1px; box-shadow: -2px 2px 10px rgba(0,0,0,0.1); }
body.dark .fv-winner-badge { background: linear-gradient(45deg, #d97706, #b45309); }

.fv-winner-avatar { width: 95px; height: 95px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.fv-sub-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }

.fv-w-info h3 { margin: 0 0 8px 0; font-size: 26px; color: var(--fv-text-dark); font-weight: 900; }
.fv-w-info a { color: #fff; background: var(--fv-primary); text-decoration: none; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 12px; transition: transform 0.2s; margin-top: 5px; box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);}
.fv-w-info a:hover { transform: translateY(-2px); }

/* Subs Card */
.fv-sub-card { background: var(--fv-bg-soft); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-md); padding: 20px; margin-bottom: 15px; display: flex; align-items: center; gap: 15px; text-align: left; }
body.dark .fv-sub-card { background: #0f172a; }
.fv-sub-badge { position: absolute; top: 0; right: 0; background: #94a3b8; color: #fff; font-size: 11px; font-weight: 800; padding: 5px 15px; border-bottom-left-radius: 12px; text-transform: uppercase;}

.fv-btn-outline { background: transparent; border: 2px solid var(--fv-border); color: var(--fv-text-dark); border-radius: 12px; padding: 15px 30px; font-family: var(--fv-font); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.2s; margin-top: 20px;}
.fv-btn-outline:hover { border-color: var(--fv-primary); color: var(--fv-primary); }

/* SEO & FAQ */
.fv-dynamic-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 50px auto 60px; }
.fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 40px; }
.fv-dynamic-seo h2 { font-size: 20px; color: var(--fv-text-dark); margin-top: 0; margin-bottom: 20px; font-weight: 800; border-bottom: 2px solid var(--fv-primary); padding-bottom: 10px; display: inline-block;}
.fv-dynamic-seo p { color: var(--fv-text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.fv-dynamic-seo ul { padding-left: 20px; color: var(--fv-text-muted); font-size: 15px; line-height: 1.7; }
.fv-dynamic-seo li { margin-bottom: 10px; }
.fv-dynamic-seo strong { color: var(--fv-text-dark); }

.faq-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 40px; margin-bottom: 50px;}
.faq-title { text-align: center; margin-top:0; margin-bottom: 30px; color: var(--fv-text-dark); font-size: 24px; font-weight: 800;}
.faq-item { margin-bottom: 15px; border: 1px solid var(--fv-border); border-radius: 12px; overflow: hidden; }
.faq-item h3 { background: var(--fv-bg-soft); padding: 18px 20px; margin: 0; font-size: 15px; font-weight: 700; color: var(--fv-text-dark); cursor: pointer; display: flex; justify-content: space-between; }
.faq-item h3:hover { background: #f1f5f9; color: var(--fv-primary); }
body.dark .faq-item h3:hover { background: #1e293b; color: var(--fv-primary); }
.faq-item h3::after { content: '+'; font-size: 20px; font-weight: 400; color: #94a3b8; }
.faq-answer { padding: 20px; margin: 0; font-size: 14.5px; color: var(--fv-text-muted); border-top: 1px solid var(--fv-border); display: none; line-height: 1.7; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Confetti */
.fv-confetti { position: fixed; width: 10px; height: 10px; top: -10px; z-index: 99999; border-radius: 2px; animation: fall 3s linear forwards; pointer-events: none;}
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media screen and (max-width: 768px) {
    .fv-gw-page { padding: 15px 5px; }
    .fv-empty-state, .fv-dynamic-seo, .fv-rules-grid { grid-template-columns: 1fr; }
    .fv-search-box { padding: 0; background: transparent; border: none; }
    .fv-search-box input { border: 2px solid var(--fv-border); border-radius: 16px; padding: 18px; text-align: center; background: var(--fv-bg-white);}
    .fv-gw-icon { display: none; }
    .fv-setup-section, .fv-loader-area, .fv-winners-list { padding: 25px 15px; border-radius: 20px;}
    .fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container, .faq-container { padding: 20px; }
    .fv-winner-card { flex-direction: column; text-align: center; }
    .fv-slot-machine { font-size: 40px; }
}

/* YÜKSEK ÖNCELİKLİ (HIGH SPECIFICITY) KUSURSUZ SWAL2 POPUP STİLLERİ */
body.swal2-shown:not(.swal2-no-backdrop) .swal2-container { background-color: rgba(15, 23, 42, 0.85) !important; backdrop-filter: blur(8px) !important; z-index: 999999 !important; }
div.swal2-popup.fv-modal__popup { background-color: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 24px !important; padding: 40px 30px 30px !important; font-family: 'Inter', -apple-system, sans-serif !important; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5) !important; }
h2.swal2-title.fv-modal__title { font-size: 22px !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 15px !important; }
div.swal2-html-container.fv-modal__html { color: #475569 !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.6 !important; margin: 0 0 20px 0 !important; }
button.swal2-confirm.fv-btn-confirm { background: linear-gradient(45deg, #8b5cf6, #ec4899) !important; background-color: #8b5cf6 !important; color: #ffffff !important; padding: 16px 30px !important; border-radius: 14px !important; font-weight: 800 !important; font-size: 16px !important; width: 100% !important; margin-top: 15px !important; border: none !important; outline: none !important; box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4) !important; cursor: pointer !important; transition: transform 0.2s !important; }
button.swal2-confirm.fv-btn-confirm:hover { transform: translateY(-3px) !important; }