*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins','Noto Sans Devanagari',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    min-height:100vh;
    padding:12px;
    color:white;
    overflow-x:hidden;
}

.container{
    max-width:700px;
    margin:auto;
}

.card{
    background:rgba(255,255,255,0.08);
    padding:18px;
    border-radius:24px;
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,0.12);
    transition:0.4s ease;
}

/* NEW: Logo aur Heading eksath */
.header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.header-main h1 {
    font-size: 26px;
    font-weight: 700;
    text-align: right;
    margin: 0;
}

.logo-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.subtitle{
    text-align:center;
    margin-top:4px;
    font-size:13px;
    color:#d1d5db;
}

.top-tag{
    margin-top:14px;
    margin-bottom:16px;
    background:#dc2626;
    padding:12px;
    border-radius:16px;
    text-align:center;
    font-weight:700;
    font-size:17px;
    box-shadow:0 0 20px rgba(220,38,38,0.35);
    animation:pulseTag 2s infinite;
}

@keyframes pulseTag{
    50%{ transform:scale(1.01); }
}

select,
button{
    width:100%;
    padding:13px 14px;
    margin-top:12px;
    border:none;
    border-radius:15px;
    font-size:14px;
    outline:none;
    transition:0.35s ease;
}

select{
    background:white;
    color:black;
}

select:disabled{
    opacity:0.45;
    cursor:not-allowed;
}

button{
    background:#2563eb;
    color:white;
    font-weight:700;
    cursor:pointer;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(37,99,235,0.35);
}

button:disabled{
    opacity:0.5;
    cursor:not-allowed;
}

/* NEW: Button Blink Animation */
.btn-blink {
    background: #10b981 !important; 
    animation: ccsBtnFlash 0.8s infinite alternate;
}

@keyframes ccsBtnFlash {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
    100% { transform: scale(1.02); box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

#loader{
    margin-top:14px;
    text-align:center;
}

.loader-spinner{
    width:36px;
    height:36px;
    border:4px solid rgba(255,255,255,0.2);
    border-top:4px solid white;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

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

/* NEW: Scroll Wrapper */
#resultActionWrapper {
    margin-top: 14px;
    scroll-margin-top: 15px;
}

#result{
    margin-top: 0px;
}

.result-main {
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.35s ease;
}

.compact-res-row {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-res-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compact-res-row:first-child {
    padding-top: 0;
}

.compact-res-row h3 {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compact-res-row p {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
    line-height: 1.4;
}

.center-highlight { color: #facc15 !important; }
.date-highlight { color: #38bdf8 !important; }

.compact-box{
    padding:10px 12px !important;
    margin-top:8px !important;
    border-radius:12px !important;
}

.pending-box{
    background:rgba(245,158,11,0.16);
    border:1px solid rgba(251,191,36,0.28);
}

.notify-section {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.notify-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.notify-input:focus { border-color: #2563eb; }

.notify-btn {
    background: #059669;
    color: white;
    padding: 12px;
    margin-top: 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: background 0.3s;
}

.notify-btn:hover { background: #047857; }

.whatsapp-alert-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
}

.whatsapp-alert-link:hover { background: rgba(37, 211, 102, 0.25); }

.notice-btn{
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: #ffffff;
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    transition: 0.3s;
}

.notice-btn:hover{ transform: scale(1.03); }

.fade-in{
    animation:fadeIn 0.4s ease;
}

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

.alert-heading{
    margin-bottom:10px;
    text-align:center;
    font-size:18px;
    font-weight:700;
    color:#facc15;
    animation:blinkAlert 1s infinite;
}

@keyframes blinkAlert{
    50%{ opacity:0.4; }
}

.single-slider{
    overflow:hidden;
    margin-bottom:10px;
    position:relative;
    border-radius:18px;
}

.single-track{
    display:flex;
    transition:transform 0.65s cubic-bezier(0.22,1,0.36,1);
    touch-action:pan-y;
}

.single-card{
    min-width:100%;
    padding:12px 14px;
    border-radius:18px;
    background:rgba(239,68,68,0.15);
    border:1px solid rgba(239,68,68,0.35);
    text-align:left;
    backdrop-filter:blur(8px);
}

.single-title{
    font-size:14px;
    font-weight:700;
    line-height:1.4;
}

.single-sub{
    margin-top:3px;
    font-size:12px;
    color:#fee2e2;
    line-height:1.5;
}

.mini-notice-btn{
    display:inline-block;
    margin-top:8px;
    padding:7px 11px;
    background:white;
    color:#dc2626;
    border-radius:10px;
    font-size:11px;
    font-weight:700;
    text-decoration:none;
    transition:0.3s;
}

.slider-dots{
    margin-top:8px;
    display:flex;
    justify-content:center;
    gap:6px;
}

.slider-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:rgba(255,255,255,0.25);
    cursor:pointer;
    transition:0.3s;
}

.slider-dot.active{
    background:white;
    transform:scale(1.25);
}

/* NEW: Review Block CSS */
.review-section-card {
    margin-top: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-align: center;
}

.review-section-card h4 {
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
}

.review-btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.review-btn {
    width: 46% !important; 
    min-width: 110px;
    margin-top: 0 !important;
    padding: 8px 10px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease !important;
}

.review-btn:hover { transform: translateY(-1px) !important; }
.review-btn.thumb-up:hover { background: rgba(34, 197, 94, 0.15); border-color: #22c55e; color: #22c55e; }
.review-btn.thumb-down:hover { background: rgba(239, 68, 68, 0.15); border-color: #ef4444; color: #ef4444; }

.review-btn.voted-active { pointer-events: none; opacity: 0.4; }
.review-btn.voted-active.thumb-up-voted { background: #22c55e !important; color: #0f172a !important; border-color: #22c55e !important; opacity: 1 !important; }
.review-btn.voted-active.thumb-down-voted { background: #ef4444 !important; color: white !important; border-color: #ef4444 !important; opacity: 1 !important; }
.review-icon { font-size: 14px; }

/* NEW: Compact Powerful Coffee Section */
.support-box-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 14px;
    gap: 10px;
}

.support-text {
    text-align: left;
    flex: 1;
}

.support-text h3 {
    color: #facc15;
    font-size: 14px;
    margin-bottom: 2px;
}

.support-text p {
    font-size: 11px;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.3;
}

.support-text p strong {
    color: #f59e0b;
}

.coffee-btn-compact {
    background: linear-gradient(135deg, #ff5722, #f44336);
    color: white !important;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    transition: 0.3s;
}

.coffee-btn-compact:hover {
    transform: scale(1.05);
}

.channel-buttons{
    margin-top:14px;
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap;
}

.small-btn{
    padding:9px 12px;
    border-radius:10px;
    text-decoration:none;
    color:white;
    font-size:12px;
    font-weight:600;
}

.telegram-small { background:#229ED9; }
.whatsapp-small { background:#25D366; }

.counter-box{
    margin-top:14px;
    padding:12px;
    border-radius:14px;
    background:rgba(255,255,255,0.08);
    line-height:1.7;
    font-size:13px;
}

.footer{
    margin-top:18px;
    font-size:12px;
    line-height:1.7;
    text-align:center;
    color:#d1d5db;
}

.ts-control{
    border-radius:14px !important;
    padding:10px !important;
    min-height:auto !important;
    border:none !important;
}

.ts-dropdown{
    border-radius:14px !important;
    overflow:hidden;
}

@media(max-width:768px){
    .card{ padding:15px; border-radius:20px; }
    .header-main h1 { font-size:22px; }
    .logo-small { width:38px; height:38px; }
    .subtitle{ font-size:12px; }
    .top-tag{ font-size:15px; padding:11px; }
    select, button{ padding:12px; font-size:13px; }
    .review-section-card h4 { font-size: 13px; }
    .review-btn { min-width: 95px; font-size: 12px !important; padding: 7px 8px !important; }
}

@media(max-width:400px){
    .support-box-compact { flex-direction: column; text-align: center; }
    .support-text { text-align: center; margin-bottom: 8px; }
    .coffee-btn-compact { width: 100%; display: block; text-align: center; }
}
