:root {
    --header-height-desktop: 70px;
    --header-height-mobile: 60px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height-desktop); }
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f3f4f6; 
    line-height: 1.6;
    padding-top: var(--header-height-desktop);
}
.container { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
header { 
    background: linear-gradient(90deg, #fdfdfd, #fcfcfc); 
    color: #000000; 
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: var(--header-height-desktop);
    z-index: 10; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 1rem;
    width: 100%;
}
nav h1 { font-size: 1.8rem; font-weight: bold; }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { color: #fff; text-decoration: none; font-size: 1rem; }
nav a:hover { text-decoration: underline; }
main { padding: 1.5rem; }
section { margin-bottom: 2rem; }
.card { background: #ffffff; padding: 1.5rem; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.promo-button { background: #1e40af; color: #fff; padding: 0.75rem 2rem; border-radius: 0.5rem; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; display: inline-block; margin-top: 1rem;}
.promo-button:hover { background: #1d4ed8; text-decoration: none; }
h3 { font-size: 1.5rem; font-weight: bold; color: #1f2937; margin-bottom: 1.5rem; }
p { font-size: 1rem; color: #4b5563; margin-bottom: 1rem; }
.coupon-wrapper { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.coupon-code { background: #eef2ff; padding: 0.75rem; border-radius: 0.25rem; font-family: monospace; color: #1e40af; border: 1px solid #c7d2fe; }
.copy-btn { background: #1e40af; color: #fff; padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; }
.copy-btn:hover { transform: scale(1.05); background: #1d4ed8; }
.copy-btn.copied { background: #16a34a; }
.copy-btn span { margin-right: 0.5rem; }
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
footer { background: linear-gradient(90deg, #fcfcfc, #ffffff); color: #000000; text-align: center; padding: 1.5rem; margin-top: 2rem; }
footer p { font-size: 1rem; color: #000000; }
footer .social-links { margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
footer a { color: #000000; font-size: 1.2rem; }
footer a:hover { color: #000000; }
ol { list-style: decimal; padding-left: 1.5rem; }
ol li { margin-bottom: 0.75rem; font-size: 1rem; color: #4b5563; }
a { color: #1e40af; text-decoration: none; }
a:hover { text-decoration: underline; }
.hero-coupons { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.coupon-item { display: flex; align-items: center; background: #fff; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow: hidden; }
.coupon-item .coupon-code { border: none; border-radius: 0; }
.copy-btn-small { background: #1e40af; color: #fff; border: none; padding: 0.75rem 1rem; cursor: pointer; transition: background-color 0.3s ease; font-size: 0.9rem; font-family: 'Inter', sans-serif; }
.copy-btn-small:hover { background: #1d4ed8; }
.copy-btn-small.copied { background: #16a34a; }

/* Styles for Floating Contact Icons */
.floating-contact { position: fixed; top: 50%; right: 15px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.8rem; z-index: 1000; }
.float-link { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: #ffffff; color: #000000; text-decoration: none; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.3s ease; position: relative; }
.float-link:hover { transform: scale(1.15); color: #fff; }
.float-link i { font-size: 1.8rem; margin: 0; }
.float-link::after { content: attr(data-tooltip); position: absolute; right: 120%; top: 50%; transform: translateY(-50%); background-color: #333; color: #fff; padding: 6px 12px; border-radius: 6px; white-space: nowrap; font-size: 0.9rem; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity 0.2s ease; pointer-events: none; }
.float-link:hover::after { opacity: 1; visibility: visible; }
.float-link.telegram:hover { background-color: #0088cc; }
.float-link.youtube:hover { background-color: #FF0000; }
.float-link.whatsapp:hover { background-color: #25D366; }
.float-link.email:hover { background-color: #000000; }

/* Styles for Telegram Popup */
.telegram-popup { position: fixed; bottom: 20px; right: 20px; background-color: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); padding: 1rem; z-index: 1001; max-width: 320px; display: none; animation: slideIn 0.5s ease-out; }
@keyframes slideIn { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.popup-close-btn { position: absolute; top: 8px; right: 12px; background: transparent; border: none; font-size: 1.5rem; color: #9ca3af; cursor: pointer; line-height: 1; }
.popup-content { display: flex; align-items: center; gap: 1rem; }
.popup-content i { font-size: 2.5rem; color: #1a80df; }
.popup-content p { margin-bottom: 0; font-size: 0.9rem; color: #4b5563; }
.popup-join-btn { display: block; width: 100%; text-align: center; background-color: #0088cc; color: #fff; padding: 0.6rem; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 1rem; transition: background-color 0.3s ease; }
.popup-join-btn:hover { background-color: #0077b3; text-decoration: none; }

/* Styles for New Features */
.verified-date { font-size: 0.8rem; color: #6b7280; margin-top: -0.5rem; font-style: italic; }
#filter-container { margin-bottom: 2rem; text-align: center; padding: 0.5rem; background-color: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.filter-btn { background: #fff; border: 1px solid #d1d5db; padding: 0.5rem 1rem; margin: 0.25rem; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; font-weight: 600; font-family: 'Inter', sans-serif; }
.filter-btn:hover { background: #eef2ff; border-color: #a5b4fc; }
.filter-btn.active { background: #1e40af; color: #fff; border-color: #1e40af; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item h4 { font-size: 1.1rem; color: #1f2937; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    html { scroll-padding-top: var(--header-height-mobile); }
    body { padding-top: var(--header-height-mobile); }
    header { height: var(--header-height-mobile); }
    nav h1 { font-size: 1.2rem; }
    nav ul { gap: 1rem; }
    nav a { font-size: 0.9rem; }
    h3 { font-size: 1.25rem; }
    p, ol li { font-size: 0.9rem; }
    .copy-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
    .coupon-code { padding: 0.5rem; }
    .floating-contact { right: 10px; }
    .float-link { width: 45px; height: 45px; }
    .float-link i { font-size: 1.6rem; }
    .float-link:hover::after { display: none; }
    .telegram-popup { max-width: 280px; right: 10px; bottom: 10px; }
    #filter-container { display: flex; flex-wrap: wrap; justify-content: center; }
}

/* Styling for Header Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; 
}

.header-logo {
    height: 45px; 
    width: auto;  
}

@media (max-width: 768px) {
    .header-logo {
        height: 35px; 
    }
}

/* NEW: Minimal & Dynamic Universal Pop-up */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none; /* Allows clicks to go through the canvas */
}

.universal-coupon-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 200%); /* Start off-screen */
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth slide animation */
}

.universal-coupon-popup.show {
    transform: translate(-50%, 0); /* Slide into view */
}

.universal-coupon-popup h3 {
    font-size: 1.4rem;
    color: #25b800;
    margin-bottom: 0.5rem;
}

.universal-coupon-popup p {
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.universal-coupon-popup .coupon-wrapper {
    justify-content: center;
}