@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #2d3436;
    --border-color: rgba(203, 213, 225, 0.6);
    --nav-bg: rgba(255, 255, 255, 0.65);
    --card-bg: rgba(255, 255, 255, 0.85);
    --info-text: #64748b;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --border-color: rgba(51, 65, 85, 0.6);
    --nav-bg: rgba(15, 23, 42, 0.65);
    --card-bg: rgba(30, 41, 59, 0.85);
    --info-text: #94a3b8;
}

body {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Bricolage Grotesque', sans-serif;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #31103f 100%);
    background-attachment: fixed;
}

.topNav {
    height: 65px;
    width: 100%;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
}

.logoLink img {
    height: 38px;
    width: 38px;
    display: block;
}

#themeToggleBtn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-color);
    padding: 10px;
    border-radius: 10px;
}

#themeToggleBtn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px 20px;
}

.hero {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.hero h1 {
    font-weight: 800;
    font-size: 3.8rem;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.hero h1 span {
    color: #f52b2b;
}

.hero p {
    font-weight: 500;
    font-size: 26px;
    line-height: 32px;
    padding: 15px 0;
}

.heroSubtext {
    font-size: 1rem;
    opacity: 0.8;
}

#totalPleaseCounterDisplay {
    margin-top: 15px; 
    font-size: 15px; 
    font-weight: 600; 
    color: var(--info-text);
}

#pleaseClicksCount {
    color: hsl(210deg 100% 44%);
}

.pleaseBtn {
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: relative;
    padding: 0 40px;
    font-size: 20px;
    text-transform: uppercase;
    border: 0;
    box-shadow: hsl(210deg 87% 26%) 0px 8px 0px 0px;
    background-color: hsl(210deg 100% 44%);
    border-radius: 12px;
    cursor: pointer;
}

.pleaseBtn:before {
    content: attr(data-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    font-size: 18px;
    font-weight: bold;
    color: white;
    letter-spacing: 4px;
}

.pleaseBtn:active {
    box-shadow: none;
    transform: translateY(8px);
}

.pleaseBtn i {
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    font-style: normal;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.2s ease;
}

.pleaseBtn:hover i {
    transform: translateY(0px);
    opacity: 1;
}

/* ==========================================
   Popup Iframe Browser Styling
   ========================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeInPopup 0.2s ease forwards;
}

@keyframes fadeInPopup {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    width: 75vw;
    height: 75vh;
    max-width: 1400px;
    max-height: 900px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.popup-container.fullscreen-mode {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
}

.popup-header {
    height: 65px;
    padding: 0 20px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.popup-title-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    max-width: 60%;
}

.popup-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

#popupVisitCountEl {
    font-size: 12px;
    color: var(--info-text);
    font-weight: 600;
    margin-top: 2px;
}

.popup-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.popup-action-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.popup-action-btn:hover {
    background-color: rgba(0, 119, 255, 0.1);
    color: hsl(210deg 100% 44%);
    border-color: hsl(210deg 100% 44%);
}

.popup-action-btn.close-btn:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.popup-body {
    flex: 1;
    width: 100%;
    background: #000;
}

.popup-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .popup-container {
        width: 95vw;
        height: 85vh;
    }
}

/* ==========================================
   SEO-Friendly Modern Footer Styling
   ========================================== */
.siteFooter {
    width: 100%;
    margin-top: 60px;
    background-color: var(--nav-bg);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    color: var(--text-color);
    font-size: 14px;
}

.footerContainer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px 30px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footerCol {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footerLogoLink {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 800;
}

.footerLogoLink img {
    height: 32px;
    width: 32px;
    display: block;
}

.footerDesc {
    color: var(--info-text);
    line-height: 1.6;
    font-size: 14px;
    max-width: 320px;
}

.footerTitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.footerLinks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footerLinks a {
    color: var(--info-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footerLinks a:hover {
    color: hsl(210deg 100% 44%);
}

.footerStatsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footerStatCard {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.statLabel {
    font-size: 11px;
    color: var(--info-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.statValue {
    font-size: 18px;
    font-weight: 800;
    color: hsl(210deg 100% 44%);
}

.footerBottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--info-text);
    font-size: 13px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footerContainer {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================
   About Page Specific Styling Additions
   ========================================== */
.about-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px 20px;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 850px;
    width: 100%;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-color);
}

.about-card header h1 span {
    color: #f52b2b;
}

.about-card section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 10px;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--info-text);
    font-weight: 400;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
}

.faq-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    border-radius: 12px;
}

.faq-item h3 {
    margin-bottom: 6px;
    color: var(--text-color);
}

.about-btn-wrapper {
    text-align: center;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .about-card {
        padding: 20px;
    }
    .about-card header h1 {
        font-size: 2rem;
    }
}


/* ==========================================
   About Page Normal Button Styling Fix
   ========================================== */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 35px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background-color: hsl(210deg 100% 44%);
    box-shadow: hsl(210deg 87% 26%) 0px 6px 0px 0px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.about-btn:active {
    box-shadow: none;
    transform: translateY(6px);
}