/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: auto;
}

#web-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.seo-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ============================================================
   BACKGROUND
   ============================================================ */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    opacity: 1.0;
    filter: grayscale(0.2) contrast(1.2);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 60%, #000 100%);
    z-index: -1;
    pointer-events: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: none; /* Hidden by default, shown via JS */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    backdrop-filter: blur(5px);
    animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navSlideDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.nav-inner {
    display: flex;
    gap: 30px;
    padding: 10px 0;
    align-items: center;
}

nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #fff;
}

/* Translate Button Styles */
#translate-wrapper { position: relative; margin-left: 10px; }
#translate-btn {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s;
}
#translate-btn:hover { border-color: #fff; color: #fff; }
#lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    z-index: 1001;
}
#lang-menu.hidden { display: none; }
#lang-menu button {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 10px 15px;
    text-align: left;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s;
}
#lang-menu button:hover { background: #111; color: #fff; }

/* ============================================================
   MAIN CONTENT & PAGES
   ============================================================ */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 25px 40px;
    display: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
}

.visible {
    display: block !important;
    opacity: 1 !important;
}

.page-container {
    position: relative;
    width: 100%;
}

.page {
    display: none;
    animation: pageReveal 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page.active-page {
    display: block;
}

@keyframes pageReveal {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HOME SLIDER STYLES
   ============================================================ */
.home-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none; 
    width: 100%;
    border-radius: 10px;
}
.home-slider-container::-webkit-scrollbar { display: none; }

.home-slide {
    min-width: 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.intro-text {
    text-align: center;
    line-height: 1.8;
    font-size: 0.95rem;
    color: #ddd;
    margin-bottom: 20px;
    max-width: 600px;
}

.intro-highlight {
    color: #fff;
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
}

.swipe-hint {
    font-size: 0.75rem;
    color: #888;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 2px;
    margin-top: 15px;
    animation: pulse 1.5s infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

.swipe-hint-margin { margin-top: 20px; }

@keyframes pulse {
    0% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 0.4; transform: translateX(0); }
}

/* ============================================================
   LEADERS GRID (PYRAMID LAYOUT)
   ============================================================ */
.leaders-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.leader-row {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
}

/* Founder Top Row Specifics */
.leader-top {
    margin-bottom: 10px;
}

.leader-top .leader-item {
    transform: scale(1.15); /* Slightly larger */
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1)); /* Subtle glow */
}

.leader-item img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(80%) brightness(0.95);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.leader-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.5);
}

.leader-tag {
    font-family: 'Share Tech Mono', monospace;
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 12px;
    letter-spacing: 2px;
    text-align: center;
    transition: color 0.3s;
}

.leader-item:hover .leader-tag {
    color: #fff;
}

.leader-names-container {
    text-align: center;
    margin-top: 40px;
    font-family: 'Share Tech Mono', monospace;
    opacity: 0.3;
}

.leader-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 1px;
    user-select: none;
}

/* ============================================================
   CONTENT BLOCKS & POLICY
   ============================================================ */
.content-block {
    background: transparent;
    padding: 10px 0 30px 0;
    animation: fadeUp 0.8s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 2px solid #fff;
    padding-left: 15px;
    font-family: 'Share Tech Mono', monospace;
}

.about-text {
    color: #eee;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-highlight {
    color: #fff;
    font-weight: 700;
}

.about-secondary {
    color: #ccc;
    margin-top: 15px;
    line-height: 1.6;
}

.policy-block {
    text-align: justify;
    line-height: 1.6;
    font-size: 0.9rem;
}

.policy-date {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.policy-heading {
    margin-top: 20px;
    font-size: 1rem;
    color: #fff;
    font-family: 'Share Tech Mono';
}

/* ============================================================
   IMAGE MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid #333;
}

.modal-close,
.modal-nav {
    position: absolute;
    color: #888;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.modal-close {
    top: 15px;
    right: 35px;
    font-size: 40px;
    z-index: 99;
}

.modal-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    padding: 20px;
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }

.modal-close:hover,
.modal-nav:hover { color: #fff; }

/* ============================================================
   INTEL MODAL
   ============================================================ */
#intelModal {
    display: none;
    position: fixed;
    z-index: 10005;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border: 1px solid #333;
    padding: 30px 25px;
    width: 85%;
    max-width: 350px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.intel-header {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    color: #fff;
}

.intel-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.intel-label { color: #888; letter-spacing: 1px; }
.intel-val { color: #fff; font-weight: 700; text-align: right; letter-spacing: 0.5px; }

.intel-details {
    margin-top: 15px;
    border-top: 1px dashed #333;
    padding-top: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intel-details strong { color: #fff; }

.intel-btn {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intel-btn:active { background: #fff; color: #000; }

/* ============================================================
   FORUM CSS
   ============================================================ */
.forum-loading {
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.post-card {
    background: transparent;
    padding: 0;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
    user-select: none;
}

.post-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.post-text-content {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
    font-family: 'Inter', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s;
}

.post-text-content.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.post-link {
    color: #00d2ff;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.post-link:hover { color: #fff; }

.read-more-btn {
    color: #888;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    display: inline-block;
}

.read-more-btn:hover { color: #fff; }

/* POLLING */
.poll-wrapper { margin-top: 15px; padding: 0; background: transparent; }

.poll-header {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.poll-option-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: transparent;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.2s;
}

.poll-option-row:hover { border-color: #666; }

.poll-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #888;
    margin-right: 15px;
    flex-shrink: 0;
}

.poll-text { flex-grow: 1; font-size: 14px; color: #ccc; font-family: 'Inter', sans-serif; }

.poll-result-row {
    position: relative;
    margin-bottom: 8px;
    background: transparent;
    border: 1px solid #333;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.poll-progress-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #111;
    z-index: 1;
    transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.poll-result-text {
    z-index: 2;
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.poll-result-pct {
    z-index: 2;
    font-size: 13px;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.ig-check {
    background: #333;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    flex-shrink: 0;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.reactions-display { display: flex; gap: 8px; flex-wrap: wrap; }

.react-badge {
    background: transparent;
    padding: 4px 10px;
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
}

.react-badge:hover { color: #fff; }

.share-btn {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 0;
    font-family: 'Share Tech Mono', monospace;
    transition: 0.2s;
}

.share-btn:hover { color: #fff; }

#reaction-menu {
    position: absolute;
    background: #000;
    padding: 10px 15px;
    border: 1px solid #333;
    display: none;
    gap: 15px;
    z-index: 1000;
    transform: translateY(-40px);
    border-radius: 30px;
}

#reaction-menu span {
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: color 0.2s;
}

#reaction-menu span:hover { color: #fff; }

/* ============================================================
   MEMBERS & PARTNERS
   ============================================================ */
.member-container { padding: 20px; }

.member-list { list-style: none; padding: 0; margin: 0; line-height: 1.8; }
.loading-text { color: #aaa; font-style: italic; }
.member-section-margin { margin-top: 35px; }

.swipe-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.swipe-wrapper::-webkit-scrollbar { display: none; }
.swipe-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; }

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.partner-item { text-align: center; width: 70px; }

.partner-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background-color: #111;
    border: 1px solid #333;
}

.partner-name {
    font-size: 11px;
    color: #ccc;
    word-wrap: break-word;
    line-height: 1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    margin-top: auto;
    padding: 20px 10px;
    background: transparent;
    text-align: center;
    user-select: none;
    position: relative;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-socials { display: flex; gap: 15px; justify-content: center; align-items: center; }

.footer-link { color: #888; text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: #fff; }

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    flex-wrap: wrap;
}

.footer-nav-link {
    color: #666;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav-link:hover { color: #fff; }

.footer-nav-separator { color: #444; }

.footer-copyright {
    font-size: 0.65rem;
    color: #555;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Share Tech Mono', monospace;
    margin: 0;
}

/* ============================================================
   COOKIE BANNER PRO
   ============================================================ */
#cookie-banner-pro {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #333;
    border-radius: 12px;
    color: #ddd;
    padding: 25px;
    z-index: 9999;
    display: none;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

#cookie-banner-pro h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#cookie-banner-pro p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #999;
    text-align: justify;
}

.cookie-buttons { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.cookie-btn {
    cursor: pointer;
    padding: 10px 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-accept { background: #fff; color: #000; }
.btn-accept:hover { background: #aaa; }

.btn-reject { background: transparent; color: #888; border: 1px solid #444; }
.btn-reject:hover { background: #222; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
    .leader-item img { width: 120px; height: 120px; }
    .leader-top .leader-item { transform: scale(1.1); } /* Adjust scale for mobile */
    
    .nav-inner { gap: 15px; padding: 6px 0; }
    nav a { font-size: 0.75rem; letter-spacing: 1px; }
    
    #intro h1 { font-size: 2.5rem; letter-spacing: 4px; }
    
    .floating-game-btn { 
        font-size: 12px; 
        padding: 10px 15px; 
        bottom: 20px; 
        right: 20px; 
    }
    
    .footer-nav { gap: 8px; font-size: 0.6rem; }
}

#forum-container {
    transition: opacity 0.3s ease-in-out;
}
.comment-preview-list { margin-top: 8px; }
.comment-preview-item { display:flex; gap:6px; font-size:12px; color:#ccc; padding:3px 0; }
.comment-preview-item .comment-id { color:#00d2ff; font-weight:bold; flex-shrink:0; }
.comment-preview-text { color:#ccc; }
.view-all-comments { color:#888; font-size:12px; margin-top:4px; }

.comment-btn, .share-btn { background:none; border:1px solid #333; color:#aaa; font-size:11px; padding:6px 10px; border-radius:4px; cursor:pointer; font-family:'Share Tech Mono', monospace; }
.comment-item { margin-bottom:12px; border-left:2px solid #222; padding-left:10px; }
.comment-head { display:flex; gap:8px; align-items:center; margin-bottom:4px; }
.comment-id { color:#00d2ff; font-weight:bold; font-size:12px; font-family:'Share Tech Mono', monospace; }
.comment-time { color:#666; font-size:10px; }
.comment-text { color:#ddd; font-size:13px; line-height:1.4; }
.comment-actions { margin-top:4px; }
.reply-trigger { color:#888; font-size:11px; cursor:pointer; }
.reply-trigger:hover { color:#fff; }
.reply-input-row { display:none; gap:6px; margin-top:6px; }
.replies-wrap { margin-top:8px; margin-left:14px; }
.reply-item { border-left:1px solid #222; padding-left:10px; margin-bottom:8px; }
.comment-input-row { display:flex; gap:6px; }
.comment-input { flex:1; background:#0a0a0a; border:1px solid #333; color:#fff; padding:8px 10px; border-radius:4px; font-size:13px; }
.no-comment { color:#666; font-size:12px; text-align:center; padding:10px 0; }
.load-more-comments { text-align:center; color:#00d2ff; font-size:12px; padding:10px 0; cursor:pointer; font-family:'Share Tech Mono', monospace; }
.load-more-comments:hover { color:#fff; }

.post-modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.85); z-index:9999; align-items:flex-end; justify-content:center; }
.post-modal-box { background:#0a0a0a; width:100%; max-width:600px; max-height:90vh; border-radius:16px 16px 0 0; display:flex; flex-direction:column; border:1px solid #222; }
.post-modal-header { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid #222; color:#fff; font-family:'Share Tech Mono', monospace; font-size:13px; }
.post-modal-close { cursor:pointer; font-size:20px; color:#888; }
.post-modal-close:hover { color:#fff; }
.post-modal-scroll { overflow-y:auto; padding:16px; flex:1; }
.post-modal-user { display:flex; align-items:center; margin-bottom:12px; }
.post-avatar-mini { width:32px; height:32px; border-radius:50%; margin-right:10px; display:flex; justify-content:center; align-items:center; background:#111; border:1px solid #fff; color:#fff; font-size:11px; font-family:'Share Tech Mono', monospace; font-weight:bold; }
.post-modal-username { font-size:13px; font-weight:bold; color:#fff; }
.post-modal-date { font-size:10px; color:#888; }
.post-modal-post { border-bottom:1px solid #222; padding-bottom:14px; margin-bottom:14px; }
.post-modal-input-row { padding:12px 16px; border-top:1px solid #222; }
