/* ============================================================
   GLOBAL SETTINGS
============================================================ */
:root { --brand: #9d6df5; --bg-dark: #07080a; --text-main: #ffffff; --text-dim: rgba(255, 255, 255, 0.5); }
html { overflow-y: scroll; }
* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none !important; }
a, a:visited, a:hover, a:active { color: inherit; text-decoration: none !important; }

/* ============================================================
   HOME PAGE
============================================================ */
body { font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.top-nav { position: sticky; top: 0; z-index: 100; padding: 15px 0; background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 900; font-size: 1.5rem; }
.brand .tag { color: var(--brand); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-dim); font-weight: 700; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { background: var(--brand) !important; color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 800; font-size: 0.85rem; }
.hero-split { padding: 60px 0; }
.split-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-main h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.purple-glow { color: var(--brand); text-shadow: 0 0 20px rgba(157, 109, 245, 0.3); }
.hero-description { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 30px; }
.btn-main { background: #fff !important; color: #000 !important; padding: 14px 28px; border-radius: 10px; font-weight: 900; margin-right: 15px; display: inline-block; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.2); padding: 14px 28px; border-radius: 10px; font-weight: 900; display: inline-block; }
.hero-visual { position: relative; }
.main-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.featured-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 10px; display: block; font-weight: 700; }
.stats-anchor { margin-top: -30px; }
.floating-stats { background: rgba(15, 17, 20, 0.95); border: 1px solid rgba(255,255,255,0.05); padding: 30px; border-radius: 20px; display: flex; justify-content: space-around; align-items: center; }
.stat-box { text-align: center; }
.stat-box .num { display: block; font-size: 2.5rem; font-weight: 900; color: var(--brand); }
.stat-box .label { color: var(--text-dim); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }
.section { padding: 60px 0; }
.reasons-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; }
.reasons-header p { color: var(--text-dim); margin-bottom: 40px; }
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.reason-card { background: rgba(255,255,255,0.02); padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.reason-card i { color: var(--brand); font-size: 1.5rem; margin-bottom: 15px; display: block; }
.reason-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.reason-card p { color: var(--text-dim); font-size: 0.95rem; }
.main-footer { padding: 40px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); background: #040506; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-logo { font-size: 1.2rem; font-weight: 900; margin-bottom: 15px; display: block; }
.footer-logo .tag { color: var(--brand); }
.footer-bio { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; max-width: 250px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { font-size: 1.2rem; color: #fff !important; opacity: 0.7; transition: 0.3s; }
.footer-socials a:hover { opacity: 1; color: var(--brand) !important; }
.footer-nav h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; color: #fff; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a { font-size: 0.85rem; color: var(--text-dim) !important; transition: 0.3s; }
.footer-nav ul li a:hover { color: var(--brand) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; margin-top: 20px; }
.bottom-inner { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-dim); }

/* ============================================================
   PARTNERS PAGE
============================================================ */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.page-wrap { flex: 1 0 auto; }
.main-footer { flex-shrink: 0; }
.partners-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; margin-bottom: 50px; }
.p-card { background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 20px; transition: all 0.3s ease; backdrop-filter: blur(10px); }
.p-card:hover { border-color: var(--brand); background: rgba(157, 109, 245, 0.05); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.p-header { display: flex; align-items: center; gap: 15px; }
.p-logo-area { width: 64px; height: 64px; border-radius: 12px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; flex-shrink: 0; }
.p-logo-area img { width: 100%; height: 100%; object-fit: cover; }
.p-title-group h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.p-tag { font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brand); background: rgba(157, 109, 245, 0.1); padding: 2px 8px; border-radius: 4px; }
.p-actions { display: flex; gap: 10px; }
.p-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: 0.8rem; font-weight: 700; color: var(--text-dim) !important; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; transition: 0.2s; }
.p-btn:hover { background: var(--brand) !important; color: #fff !important; border-color: var(--brand); }
.page-header { padding: 20px 0 1px; text-align: left; }
.partners-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 400px)); gap: 15px; margin-bottom: 50px; justify-content: center; }
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.page-wrap { flex: 1 0 auto; }
.main-footer { flex-shrink: 0; }

/* ============================================================
   TEAMS PAGE
============================================================ */
.team-section-header { display: inline-block; background: rgba(255, 255, 255, 0.03); padding: 12px 24px; border-radius: 8px; margin-bottom: 30px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; border-left: 4px solid var(--brand); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.p-logo-area { border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--brand), transparent); box-shadow: 0 0 15px rgba(157, 109, 245, 0.2); }
.p-logo-area img { border-radius: 50%; border: 2px solid var(--bg-dark); }

/* ============================================================
   EVENTS CALENDAR PAGE
============================================================ */
.calendar-glass { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; padding: 30px; backdrop-filter: blur(10px); margin-bottom: 50px; }
.fc-theme-standard .fc-scrollgrid, .fc-theme-standard td, .fc-theme-standard th { border: 1px solid rgba(255, 255, 255, 0.1) !important; background-color: transparent !important; }
.fc .fc-scroller { background: transparent !important; }
.fc .fc-col-header-cell { background: rgba(157, 109, 245, 0.05) !important; padding: 15px 0 !important; }
.fc .fc-col-header-cell-cushion { color: #fff !important; font-weight: 800 !important; text-transform: uppercase; font-size: 0.8rem; text-decoration: none !important; }
.fc .fc-button-primary { background-color: var(--brand) !important; border: none !important; font-weight: 800 !important; text-transform: uppercase; font-size: 0.7rem !important; padding: 10px 18px !important; }
.fc .fc-button-primary:disabled { opacity: 0.5; }
.fc .fc-toolbar-title { font-weight: 900 !important; letter-spacing: 2px; color: #fff !important; }
.fc .fc-daygrid-day-number { color: var(--text-dim) !important; font-weight: 800; padding: 10px !important; font-size: 0.9rem; text-decoration: none !important; }
.fc-v-event, .fc-h-event { background-color: var(--brand) !important; border: 1px solid rgba(255,255,255,0.1) !important; display: block; }
.fc-event-title { font-weight: 700 !important; font-size: 0.75rem !important; padding: 2px 5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc .fc-day-today { background: rgba(157, 109, 245, 0.1) !important; }
.fc-view-harness { background: transparent !important; }
.fc-daygrid-event, .fc-v-event, .fc-h-event, .fc-event { background: var(--brand) !important; border: none !important; border-radius: 6px !important; padding: 4px 8px !important; margin: 2px 4px !important; display: block !important; cursor: pointer !important; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transition: transform 0.2s ease, filter 0.2s ease; }
.fc-daygrid-event:hover { transform: translateY(-2px); filter: brightness(1.2); }
.fc-event-title { color: #ffffff !important; font-weight: 800 !important; font-size: 0.7rem !important; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-daygrid-event-harness { margin: 2px 0 !important; }
.fc-daygrid-event-dot { display: none !important; }
.fc .fc-day-today { background: rgba(157, 109, 245, 0.15) !important; }
.fc-daygrid-day-frame { min-height: 100px !important; }
.fc-daygrid-day-events { padding-bottom: 5px !important; }
.fc-daygrid-more-link { color: var(--brand) !important; font-weight: 800 !important; font-size: 0.7rem !important; padding-left: 5px; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; text-align: center; padding: 40px 0; }
.contact-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 50px; max-width: 600px; width: 100%; transition: all 0.3s ease; position: relative; overflow: hidden; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 20px 40px rgba(157, 109, 245, 0.1); }
.discord-icon-large { font-size: 4rem; color: #5865F2; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.4)); transition: transform 0.3s ease; }
.contact-card:hover .discord-icon-large { transform: scale(1.1); }
.contact-text { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }
.btn-discord { background-color: #5865F2 !important; color: white !important; padding: 15px 40px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2); }
.btn-discord:hover { background-color: #4752c4 !important; transform: translateY(-2px); box-shadow: 0 15px 30px rgba(88, 101, 242, 0.4); }
.contact-spinner { margin-top: 20px; color: var(--text-dim); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.partners-grid-modern .reveal:nth-child(1) { transition-delay: 0.1s; }
.partners-grid-modern .reveal:nth-child(2) { transition-delay: 0.2s; }
.partners-grid-modern .reveal:nth-child(3) { transition-delay: 0.3s; }
.partners-grid-modern .reveal:nth-child(4) { transition-delay: 0.4s; }

/* ============================================================
   SPOTLIGHT EFFECT
============================================================ */
.p-card::before, .btn-main::before, .btn-ghost::before, .nav-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; padding: 2px; background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(157, 109, 245, 0.4), transparent 40%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask-composite: xor; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 10; }
.p-card:hover::before, .btn-main:hover::before, .btn-ghost:hover::before, .nav-cta:hover::before { opacity: 1; }

/* ============================================================
   NAVBAR EFFECTS
============================================================ */
.top-nav { background: rgba(7, 8, 10, 0.85) !important; backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); position: relative; z-index: 100; }
.nav-links { position: relative; }
.nav-links a { position: relative; transition: color 0.3s ease; }
.nav-links a::before { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--brand); box-shadow: 0 0 10px var(--brand); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1); }
.nav-links a:hover::before, .nav-links a.active::before { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
.nav-cta { background: var(--brand) !important; color: #fff !important; position: relative; overflow: visible; z-index: 1; transition: all 0.3s ease; }
.nav-cta::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: inherit; border-radius: inherit; z-index: -1; transform: translate(-50%, -50%); animation: pulse-glow 2s infinite; }
@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; box-shadow: 0 0 0 0 rgba(157, 109, 245, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; box-shadow: 0 0 0 10px rgba(157, 109, 245, 0); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }}
.nav-cta:hover { transform: scale(1.05) !important; box-shadow: 0 0 20px rgba(157, 109, 245, 0.6) !important; }
.nav-cta:hover::before { animation: none; opacity: 0; }

/* ============================================================
   STATS COMBINED SECTION
============================================================ */
.stat-numbers { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.online-stat { font-size: 0.9rem; color: var(--brand); font-weight: 700; text-shadow: 0 0 10px rgba(157, 109, 245, 0.4); margin-top: 2px; }

/* ============================================================
   SPACING BEFORE FOOTER
============================================================ */
.stats-anchor { margin-bottom: 20px; }

/* ============================================================
   ONLINE DISCORD USERS INDICATOR DOT 
============================================================ */
.online-dot { width: 8px; height: 8px; background-color: #57F287; border-radius: 50%; box-shadow: 0 0 0 0 rgba(87, 242, 135, 0.7); animation: pulse-green 2s infinite; }
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(87, 242, 135, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(87, 242, 135, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(87, 242, 135, 0); }}
.discord-online-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 0px; }
.online-stat { white-space: nowrap; }
.online-dot-wrapper { display: flex; align-items: center; opacity: 0; transition: opacity 0.5s ease; }
