/* ================================
   Base Reset
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.7;
}

/* ================================
   FANCY NAVBAR
================================ */
.fancy-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    z-index: 10000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: #facc15;
    text-decoration: none;
    background: linear-gradient(45deg, #facc15, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
}

.nav-link {
    position: relative;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250,204,21,0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
    box-shadow: 0 5px 20px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #facc15;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ================================
   Page Layout - FIXED
================================ */
.page {
    max-width: 1200px;
    margin: 140px auto 0; /* Fixed for navbar + banners */
    padding: 20px;
}

/* ================================
   Ads
================================ */
.ads-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 24px 0;
}

.ad-box {
    width: 300px;
    height: 250px;
    background: #020617;
    border: 1px dashed #1e293b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
}

/* ================================
   Paste Content
================================ */
.content {
    display: flex;
    justify-content: center;
    margin: 40px 0; /* More breathing room */
}

.card {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 26px;
    animation: lights 3s infinite alternate;
}

/* Paste box base */
.paste-box {
    width: 100%;
    max-width: 900px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 17px;
    line-height: 1.8;
    box-shadow:
        0 0 18px rgba(255, 0, 0, 0.25),
        0 0 30px rgba(0, 255, 200, 0.15);
    border-color: rgba(255,255,255,0.15);
}

/* ================================
   Rainbow Animated Links
================================ */
.paste-box a {
    position: relative;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    background: linear-gradient(
        90deg,
        #ff0080,
        #ff8c00,
        #ffd500,
        #00ff88,
        #00cfff,
        #8a5cff,
        #ff0080
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowText 6s linear infinite;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.3),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6),
        0 0 30px rgba(0, 255, 200, 0.5);
}

.paste-box a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        #ff0080,
        #ff8c00,
        #ffd500,
        #00ff88,
        #00cfff,
        #8a5cff,
        #ff0080
    );
    background-size: 400% 100%;
    animation: rainbowGlow 6s linear infinite;
}

/* Animations */
@keyframes rainbowText {
    0%   { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

@keyframes rainbowGlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

@keyframes lights {
    0%,100% { box-shadow: 0 0 12px rgba(255,0,0,0.4); }
    50% { box-shadow: 0 0 22px rgba(0,255,200,0.6); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,136,204,0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0,136,204,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,136,204,0); }
}

/* ================================
   Notices
================================ */
.notice {
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.notice.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
}

.notice.warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
}

/* ================================
   Form Elements
================================ */
textarea {
    width: 100%;
    min-height: 180px;
    background: #020617;
    border: 1px solid #1e293b;
    color: #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
    resize: vertical;
}

button {
    background: #6366f1;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ================================
   Christmas Banner / Santa / Snow / Sound
================================ */
.xmas-banner {
    text-align: center;
    padding: 12px;
    background: linear-gradient(90deg, #16a34a, #dc2626);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.xmas-santa {
    position: fixed;
    bottom: 10px;
    left: -200px;
    width: 120px;
    z-index: 9999;
    pointer-events: none;
}

.xmas-snow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

.xmas-sound-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 10000;
}

/* ================================
   NEW YEAR THEME - FIXED SPACING
================================ */
:root {
    --ny-bg: #020617;
    --ny-card: #020617;
    --ny-border: #1e293b;
    --ny-accent: #facc15;
    --ny-accent-2: #22d3ee;
}

/* Banner - FIXED */
.ny-banner {
    text-align: center;
    margin: 90px auto 20px; /* Proper spacing below navbar */
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #facc15, #f97316, #22d3ee);
    color: #020617;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(250,204,21,.35);
    width: fit-content;
    position: relative;
    z-index: 10;
}

/* Countdown - FIXED */
.ny-countdown {
    text-align: center;
    margin: 10px auto 40px; /* More bottom space */
    padding: 10px 16px;
    background: rgba(250,204,21,.12);
    border: 1px solid rgba(250,204,21,.35);
    border-radius: 999px;
    color: #fde68a;
    font-weight: 700;
    font-size: 14px;
}

/* Paste Card Highlight (New Year theme) */
.theme-newyear .paste-box {
    border: 1px solid var(--ny-border);
    box-shadow: 0 0 0 1px rgba(250,204,21,.05),
                0 20px 60px rgba(0,0,0,.45);
}

/* Download Button Override */
.theme-newyear .download-btn {
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #020617;
    box-shadow: 0 10px 35px rgba(250,204,21,.45);
}

/* Sidebar Accent */
.theme-newyear .sidebar h3 {
    color: var(--ny-accent);
}

/* ================================
   Telegram Join Floating Button
================================ */
.tg-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0088cc;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,136,204,0.5);
    z-index: 9999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.tg-floating-btn:hover {
    transform: scale(1.1);
}
.site-footer {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #1e293b;
    background: #020617;
    text-align: center;
}

.site-footer .disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 900px;
    margin: 0 auto;
}
.unlock-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
    overflow: hidden;
}

/* subtle shine animation */
.unlock-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );
    transform: translateX(-100%);
    transition: transform .6s ease;
}

.unlock-btn:hover::before {
    transform: translateX(100%);
}

.unlock-btn:hover {
    transform: translateY(-2px);
}

/* LEFT SIDE */
.btn-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.provider {
    font-size: 16px;
}

.trust {
    font-size: 12px;
    opacity: .85;
}

/* RIGHT SIDE */
.btn-right {
    display: flex;
    align-items: center;
}

.reward {
    font-size: 14px;
    opacity: .95;
}

/* LINKVERTISE */
.lv-btn {
    background: linear-gradient(135deg, #5b5be6, #7c7cff);
    color: #fff;
    box-shadow: 0 10px 28px rgba(91,91,230,.35);
}

.lv-btn:hover {
    box-shadow: 0 16px 36px rgba(91,91,230,.55);
}

/* ADMAVEN */
.am-btn {
    background: linear-gradient(135deg, #34e0a1, #5af2bd);
    color: #02110b;
    box-shadow: 0 10px 28px rgba(52,224,161,.35);
}

.am-btn:hover {
    box-shadow: 0 16px 36px rgba(52,224,161,.55);
}

/* MOBILE TAP FEEL */
@media (max-width: 768px) {
    .unlock-btn {
        padding: 18px 18px;
    }
}

/* ================================
   Mobile Styles - FIXED
================================ */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 10px 0;
        padding: 15px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    /* Page content - FIXED */
    .page {
        margin-top: 130px; /* Adjusted for mobile navbar */
        padding: 15px;
    }
    
    .ny-banner {
        margin: 80px auto 20px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .ny-countdown {
        margin: 10px auto 30px;
    }
    
    .content {
        margin: 30px 0;
    }

    .ads-row {
        flex-direction: column;
        align-items: center;
    }

    .paste-box {
        font-size: 16px;
    }

    .paste-box a {
        font-size: 17px;
    }
}
