@charset "UTF-8";

:root {
    --primary-green: #14fc09;
    --dark-bg: #0f1113;
    --dark-card: #1b1d1f;
    --text-light: #e4e6eb;
    --text-muted: #b0b3b8;
}

/* html {
    font-size: 16px;
}

@media (max-width: 1600px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 10px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
} */

html {
    font-size: clamp(9px, 0.9vw, 16px);
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    padding-top: 100px;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h5 {
    color: var(--primary-green);
}

.text-green {
    color: var(--primary-green);
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-light-green {
    background-color: #67FA00 !important;
}

/* --- Sections --- */
.fullscreen-section {
    --fs-height: calc(100vh - 100px);
    min-height: var(--fs-height);
    padding-top: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1600px) {
    .fullscreen-section {
        --fs-height: calc(95vh - 100px);
    }
}

@media (max-width: 1400px) {
    .fullscreen-section {
        --fs-height: calc(90vh - 100px);
    }
}

@media (max-width: 1200px) {
    .fullscreen-section {
        --fs-height: calc(80vh - 100px);
    }
}

@media (max-width: 992px) {
    .fullscreen-section {
        --fs-height: calc(60vh - 100px);
    }
}

@media (max-width: 768px) {
    .fullscreen-section {
        min-height: calc(var(--vh) * 100);
    }
}

.bg-pc {
    display: block;
}

.bg-mb {
    display: none;
}

@media (max-width: 768px) and (orientation: portrait) {
    .bg-pc {
        display: none;
    }

    .bg-mb {
        display: block;
    }
}

.notification-bar {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: 35px !important;
    background-color: #0f895b;
    color: var(--dark-bg);
    padding: 2px 0;
    z-index: 1040;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.notification-track {
    display: flex;
    white-space: nowrap;
    margin-right: 100px;
}

/* Endless animation */
@keyframes marqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .notification-track {
        animation: marqueeLoop 40s linear infinite;
    }

    .notification-text {
        font-size: 0.8rem;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 992px) {
    .notification-track {
        animation: marqueeLoop 35s linear infinite;
    }

    .notification-text {
        font-size: 0.9rem;
    }
}

/* Desktop */
@media (min-width: 993px) {
    .notification-track {
        animation: marqueeLoop 30s linear infinite;
    }

    .notification-text {
        font-size: 1rem;
    }
}

/* Pause on hover */
.notification-bar:hover .notification-track {
    animation-play-state: paused;
}

/* --- Navbar --- */
.navbar {
    top: 0 !important;
    height: 65px !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1050 !important;
    background-color: var(--dark-bg) !important;
    padding: 0.2rem 1rem !important;
}

.navbar-nav .nav-link {
    font-size: 1.2rem;
    color: white !important;
    font-weight: 400;
    margin-left: 1.2rem;
    margin-right: 1.2rem;
    transition: color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

.navbar-brand img {
    height: 50px;
}

.nav-logo2 {
    width: auto;
    height: 22px !important;
}

@media (max-width: 768px) {
    .navbar-fix {
        padding: 0.2rem 1rem !important;
    }

    .navbar-nav .nav-link {
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .navbar-brand img {
        height: 30px;
    }

    .nav-logo2 {
        height: 15px !important;
    }
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

.navbar .dropdown-menu {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.navbar .dropdown-item {
    font-size: 1rem;
    color: white;
    padding: 0.6rem 1.2rem;
    transition: color 0.3s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--primary-green);
}

/* Mega Dropdown Container */
.mega-dropdown {
    min-width: 450px;
    background: #0d0d0d;
    border-radius: 14px;
    border: 1px solid #1f1f1f;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}

/* Section Title */
.mega-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #f0f0f0;
}

/* Links */
.mega-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-item i {
    font-size: 1.1rem;
    margin-right: 10px;
    opacity: 0.85;
}

/* Hover */
.mega-item:hover {
    color: #96fd1a;
}

.mega-item:hover i {
    color: #96fd1a;
    opacity: 1;
}

.loading-overlay {
    position: fixed;
    z-index: 99999;
    /* Very high to appear above modals */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.signup-btn {
    background-color: #00C805 ;
    color: #000 !important;
    border-color: #00C805;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 700;
    border: none !important;
}

.signup-btn:hover {
    box-shadow: 0 0 15px #00C805 !important;
    color: #FFF !important;
    transform: scale(1.05);
    transition: all 0.3s ease; 
}

.onboard-btn {
    color: #14fc09 !important;
}

/* --- 3 Dots Toggle Button --- */
.menu-toggle {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transition: 0.3s ease;
}

/* Offcanvas Background */
.offcanvas {
    top: 40px !important;
    height: calc(100% - 40px) !important;
    background-color: var(--dark-card);
}

/* Offcanvas Nav Links */
.offcanvas .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.6rem 0;
    transition: color 0.3s ease;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus,
.offcanvas .nav-link.active {
    color: var(--primary-green) !important;
}

/* --- Dropdown inside Offcanvas --- */
.offcanvas .dropdown-menu {
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: 1rem;
    margin-top: 0.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.offcanvas .dropdown-item {
    color: white;
    font-size: 1rem;
    padding: 0.55rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.offcanvas .dropdown-item:hover,
.offcanvas .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--primary-green);
}

/* Existing */
#signupModal .modal-content {
    border-radius: 18px;
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.75);
}

#signupModal input.form-control {
    border: 1px solid #444;
}

#header-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

#signupModal .btn-success {
    background-color: var(--primary-green);
    color: #000 !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 600;
    letter-spacing: 0.1rem;
    border: none;
}

/* ✅ Added New CSS: Align widths + Recaptcha styling */
#signupModal .form-control,
#signupModal .recaptcha-box,
#signupModal #createBtn {
    width: 100%;
}

.input-group {
    flex-wrap: unset;
}

.recaptcha-box {
    width: 100%;
    max-width: 302px;
    /* official widget width */
    overflow: hidden;
}

.recaptcha-box>div {
    transform: scale(0.95);
    /* visually smaller */
    transform-origin: left top;
}

@media(max-width: 360px) {
    .recaptcha-box>div {
        transform: scale(0.85);
        /* auto-resize */
    }
}

/* Ensure small white notes are readable */
#signupModal small.text-white {
    opacity: .85;
}

.footer-section {
    background: linear-gradient(180deg, #1b1c1b 0%, #222421 70%, #374733 100%);
    color: #d5d5d5;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.footer-section h4,
.footer-section h6 {
    color: #aef77a;
    text-shadow: 0 0 4px rgba(118, 250, 0, 0.15);
}

.footer-section p {
    color: #c8c8c8;
    line-height: 1.7;
}

.footer-link {
    color: #cfcfcf;
    text-decoration: none;
    display: inline-block;
    margin: 4px 0;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #9efb4e;
    transform: translateX(3px);
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 0.4;
}

.footer-section i {
    color: #9efb4e;
}

.footer-section .text-secondary {
    color: #a0a0a0 !important;
}

.footer-section small {
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .footer-section .text-md-end {
        text-align: center !important;
    }

    .footer-section h4,
    .footer-section h6 {
        text-align: center;
    }
}