/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #050816;
    color: #e0e0e0;
    overflow-x: hidden;
    max-width: 100vw;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4,
.logo, .tagline,
.register-btn, .hero-buttons button,
.mini-title, .member-title,
.nav-links a, .submit-btn {
    font-family: 'Orbitron', sans-serif;
}

/* ========================================
   GLOWING BLOBS (background)
   ======================================== */
body::before {
    content: '';
    position: fixed;
    width: 600px; height: 600px;
    background: #00e5ff;
    filter: blur(220px);
    top: -150px; left: -150px;
    opacity: 0.08; z-index: -1;
}
body::after {
    content: '';
    position: fixed;
    width: 600px; height: 600px;
    background: #8a2eff;
    filter: blur(220px);
    bottom: -150px; right: -150px;
    opacity: 0.1; z-index: -1;
}

/* ========================================
   PARTICLES
   ======================================== */
#particles-js {
    position: fixed;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: -2;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    width: 100%;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(5, 8, 22, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #00e5ff;
    text-shadow: 0 0 18px rgba(0,229,255,0.5);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}
.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: #00e5ff; text-shadow: 0 0 10px #00e5ff; }

.register-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}
.register-btn:hover { transform: scale(1.05); box-shadow: 0 0 22px rgba(0,229,255,0.5); }

/* HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle span {
    width: 26px; height: 2.5px;
    background: white;
    border-radius: 10px;
    transition: 0.4s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 60px;
    background: radial-gradient(ellipse at top left, #0d1f3c, #050816 65%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.018),
        rgba(255,255,255,0.018) 1px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.5;
    pointer-events: none;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
}

.hero-content::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: #00e5ff;
    filter: blur(180px);
    opacity: 0.06;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.mini-title {
    color: #8a2eff;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}

.tagline {
    color: #00e5ff;
    margin-bottom: 16px;
    letter-spacing: 4px;
    font-size: 13px;
}

.hero h1 {
    font-size: clamp(38px, 9vw, 100px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}
.hero h1 span {
    color: #00e5ff;
    text-shadow: 0 0 30px rgba(0,229,255,0.5);
}

.hero h2 {
    font-size: clamp(20px, 4.5vw, 44px);
    color: #8a2eff;
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(138,46,255,0.5);
}

.hero-subtext {
    margin-top: 14px;
    color: #888;
    letter-spacing: 1px;
    font-size: clamp(13px, 1.8vw, 16px);
}

.description {
    margin-top: 12px;
    font-size: clamp(13px, 1.8vw, 17px);
    color: #bcbcbc;
    letter-spacing: 1px;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.time-box {
    width: 90px;
    padding: 16px 10px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 18px rgba(0,229,255,0.08);
    transition: 0.35s;
    text-align: center;
}
.time-box:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 0 25px rgba(0,229,255,0.25);
    border-color: rgba(0,229,255,0.3);
}
.time-box h3 {
    font-size: clamp(22px, 4vw, 36px);
    color: #00e5ff;
    font-family: 'Orbitron', sans-serif;
}
.time-box span {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

/* HERO BUTTONS */
.hero-buttons {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-buttons button, .btn-primary {
    padding: 14px 32px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
    color: white;
    min-width: 160px;
    font-family: 'Orbitron', sans-serif;
}
.hero-buttons button:hover, .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 28px rgba(0,229,255,0.4);
}
.btn-secondary, .discord-btn {
    background: rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138,46,255,0.6) !important;
}
.btn-secondary:hover, .discord-btn:hover {
    background: rgba(138,46,255,0.1) !important;
    box-shadow: 0 6px 28px rgba(138,46,255,0.35) !important;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
section { padding: 90px 8%; }

section h2 {
    text-align: center;
    font-size: clamp(26px, 4.5vw, 46px);
    margin-bottom: 50px;
}

/* ========================================
   ABOUT
   ======================================== */
.about { text-align: center; }
.about h2 { color: #00e5ff; }
.about p {
    max-width: 760px;
    margin: auto;
    line-height: 1.9;
    color: #aaa;
    font-size: clamp(14px, 1.8vw, 16px);
}

/* ========================================
   DOMAINS / CARDS
   ======================================== */
.domains h2 { color: #8a2eff; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.card {
    position: relative;
    padding: 36px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    z-index: 1;
    transition: 0.35s;
    text-align: center;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0,229,255,0.2);
    border-color: rgba(0,229,255,0.2);
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, #00e5ff, #8a2eff, #00e5ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 5s linear infinite;
    opacity: 0.6;
}
@keyframes borderRotate { 100% { filter: hue-rotate(360deg); } }

.card-icon { font-size: 38px; margin-bottom: 14px; display: block; }

.card h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    color: white;
    margin-bottom: 10px;
}

.card-desc {
    color: #888;
    font-size: 13px;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline h2 { color: #00e5ff; }

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.timeline-box {
    padding: 32px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}
.timeline-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
}
.timeline-box:hover {
    transform: scale(1.03);
    box-shadow: 0 0 28px rgba(138,46,255,0.3);
}
.timeline-box h3 { color: #8a2eff; margin-bottom: 10px; font-size: clamp(14px, 2vw, 18px); }
.timeline-box p { color: #aaa; font-size: 14px; }

/* ========================================
   STATS
   ======================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 80px 8%;
}

.stat-box {
    padding: 40px 20px;
    text-align: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.35s;
}
.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 28px rgba(0,229,255,0.25);
}
.stat-box h2 {
    font-size: clamp(28px, 4vw, 46px);
    color: #00e5ff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0,229,255,0.3);
}
.stat-box p { color: #888; font-size: 14px; letter-spacing: 0.5px; }

/* ========================================
   SPONSORS
   ======================================== */
.sponsors { text-align: center; }
.sponsors h2 { color: #8a2eff; }

.sponsor-box {
    max-width: 640px;
    margin: auto;
    padding: 40px 32px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
.sponsor-box h3 { font-size: clamp(20px, 3vw, 30px); color: #00e5ff; margin-bottom: 16px; }
.sponsor-box p { color: #999; margin-bottom: 28px; font-size: 15px; }
.sponsor-box button {
    padding: 13px 30px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
    color: white;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}
.sponsor-box button:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,229,255,0.4); }

/* ========================================
   FAQ
   ======================================== */
.faq h2 { color: #00e5ff; }

.faq-box { max-width: 860px; margin: auto; }

.faq-item {
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(0,229,255,0.2); }

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: white;
    text-align: left;
    font-size: clamp(14px, 2vw, 16px);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after { content: '+'; color: #00e5ff; font-size: 20px; font-family: monospace; }
.faq-item.active .faq-question::after { content: '−'; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    transition: 0.4s;
    color: #999;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 200px; padding: 16px 22px; }

/* ========================================
   ORGANIZERS / FEATURE GRID
   ======================================== */
.organizers h2 { color: #8a2eff; }

.organizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.organizer-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.35s;
}
.organizer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 28px rgba(0,229,255,0.2);
}
.organizer-card h3 { color: #00e5ff; margin-bottom: 12px; font-size: clamp(13px, 2vw, 16px); }
.organizer-card p { color: #888; font-size: 13px; }

/* ========================================
   FEATURED EVENT BANNER
   ======================================== */
.featured-banner {
    padding: 80px 8%;
    text-align: center;
}
.banner-glass {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    backdrop-filter: blur(20px);
}
.banner-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0,229,255,0.1);
    color: #00e5ff;
    border: 1px solid rgba(0,229,255,0.25);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.banner-glass h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(24px, 5vw, 36px);
    color: white;
    margin-bottom: 15px;
}
.banner-desc {
    color: #aaa;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 25px auto;
    line-height: 1.7;
}
.banner-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    margin-top: 20px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 40px 6%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: #777;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
footer p { margin-bottom: 6px; }

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.socials a {
    color: #00e5ff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: 0.3s;
}
.socials a:hover { text-shadow: 0 0 16px #00e5ff; }

/* ========================================
   SCROLL ANIMATION
   ======================================== */
.hidden { opacity: 0; transform: translateY(50px); transition: all 0.9s ease; }
.show { opacity: 1; transform: translateY(0); }

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
#sq-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.sq-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: white;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.sq-toast-show {
    opacity: 1;
    transform: translateX(0);
}

.sq-toast-hide {
    opacity: 0;
    transform: translateX(100%);
}

.sq-toast-success {
    background: rgba(0, 214, 143, 0.12);
    border-color: rgba(0, 214, 143, 0.3);
}
.sq-toast-success .sq-toast-icon { color: #00d68f; }

.sq-toast-error {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.3);
}
.sq-toast-error .sq-toast-icon { color: #ff6b6b; }

.sq-toast-info {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.25);
}
.sq-toast-info .sq-toast-icon { color: #00e5ff; }

.sq-toast-warning {
    background: rgba(255, 165, 0, 0.12);
    border-color: rgba(255, 165, 0, 0.3);
}
.sq-toast-warning .sq-toast-icon { color: #ffa500; }

.sq-toast-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.sq-toast-msg {
    flex: 1;
    line-height: 1.4;
}

.sq-toast-close {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
}
.sq-toast-close:hover { color: white; }

/* ========================================
   SKELETON LOADERS
   ======================================== */
.sq-skeleton-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.sq-skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite ease-in-out;
}

.sq-skeleton-card {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   EMPTY STATES
   ======================================== */
.sq-empty-state {
    text-align: center;
    padding: 60px 30px;
}

.sq-empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.sq-empty-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sq-empty-subtitle {
    color: #555;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.sq-empty-cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.sq-empty-cta:hover {
    box-shadow: 0 0 20px rgba(0,229,255,0.4);
    transform: translateY(-2px);
}

/* ========================================
   BG GRID (auth pages)
   ======================================== */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ========================================
   MOBILE NAV (≤900px)
   ======================================== */
@media(max-width: 900px) {
    .menu-toggle { display: flex; }
    .register-btn { display: none; }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 75vw; max-width: 300px;
        height: 100vh;
        background: rgba(5,8,22,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 36px 40px;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255,255,255,0.06);
        z-index: 999;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 16px; }

    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons button { width: 240px; }
}

/* ========================================
   TABLET (≤768px)
   ======================================== */
@media(max-width: 768px) {
    section { padding: 70px 5%; }
    .stats { padding: 60px 5%; }

    .cards { grid-template-columns: 1fr 1fr; gap: 16px; }
    .card { padding: 28px 18px; }

    .timeline-container { grid-template-columns: 1fr 1fr; gap: 16px; }
    .timeline-box { padding: 24px 18px; }

    .organizer-grid { grid-template-columns: 1fr; max-width: 420px; margin: auto; }

    .sponsor-box { padding: 28px 20px; }

    .hero-buttons button { min-width: 150px; padding: 13px 24px; }
}

/* ========================================
   PHONE (≤480px)
   ======================================== */
@media(max-width: 480px) {
    .navbar { padding: 16px 5%; }
    .logo { font-size: 18px; }

    .hero { padding: 90px 16px 50px; }
    .mini-title { font-size: 10px; letter-spacing: 3px; }
    .tagline { font-size: 11px; letter-spacing: 2px; }
    .hero-subtext { font-size: 12px; }
    .description { font-size: 13px; }

    .countdown { gap: 10px; margin-top: 28px; }
    .time-box { width: 72px; padding: 12px 8px; }
    .time-box h3 { font-size: 22px; }
    .time-box span { font-size: 10px; }

    .hero-buttons { gap: 12px; margin-top: 28px; }
    .hero-buttons button { width: 100%; max-width: 260px; font-size: 13px; padding: 13px 20px; }

    section h2 { margin-bottom: 32px; }
    .cards { grid-template-columns: 1fr; gap: 14px; }
    .card { padding: 28px 20px; }
    .card-icon { font-size: 32px; }

    .timeline-container { grid-template-columns: 1fr; gap: 14px; }

    .stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 50px 5%; }
    .stat-box { padding: 28px 14px; }

    .faq-question { font-size: 13px; padding: 16px 16px; }
    .faq-answer { padding: 0 16px; font-size: 13px; }
    .faq-item.active .faq-answer { padding: 14px 16px; }

    footer { padding: 30px 16px; }
    .socials { gap: 16px; }
    .socials a { font-size: 12px; }

    #sq-toast-container { right: 10px; left: 10px; max-width: none; }
}

/* ========================================
   AUTH GUARD OVERLAY
   ======================================== */
#sq-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #050816;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.sq-auth-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 229, 255, 0.15);
    border-top-color: #00e5ff;
    border-radius: 50%;
    animation: sq-spin 0.8s linear infinite;
}

@keyframes sq-spin {
    to { transform: rotate(360deg); }
}

/* Embedded login form for staff dashboards */
.sq-embedded-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.sq-login-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 48px 44px;
    width: 100%;
    max-width: 460px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.sq-login-card:hover {
    border-color: rgba(0, 229, 255, 0.18);
    transition: border-color 0.4s;
}

.sq-login-card .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #00e5ff;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sq-login-card .logo-sub {
    color: #555;
    font-size: 11px;
    margin-bottom: 36px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.sq-login-card .auth-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
    margin-bottom: 20px;
}

.sq-login-card .auth-input:focus {
    outline: none;
    border-color: #8a2eff;
    box-shadow: 0 0 16px rgba(138, 46, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.sq-login-card label {
    display: block;
    font-size: 11px;
    color: #00e5ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 500;
}

.sq-login-card .auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #00e5ff, #8a2eff);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    margin-top: 10px;
}

.sq-login-card .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.sq-login-card .auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sq-auth-msg {
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

.sq-auth-msg.error {
    display: block;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff6b6b;
}

.sq-auth-msg.success {
    display: block;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #00e5ff;
}