/* ==========================================================================
   GOOD GAME #1 - SISTEMA DE DISEÑO Y ESTILOS WEB PREMIUM (v4.5)
   ========================================================================== */

:root {
    --bg-dark: #04070d;
    --bg-card: rgba(14, 21, 35, 0.92);
    --bg-card-hover: rgba(22, 32, 52, 0.98);
    --gold-primary: #ffd700;
    --gold-secondary: #ff8c00;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    --purple-primary: #9d4edd;
    --purple-dark: #5a189a;
    --purple-gradient: linear-gradient(135deg, #c77dff 0%, #7b2cbf 100%);
    --cyan-primary: #00f2fe;
    --cyan-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: rgba(255, 215, 0, 0.22);
    --border-hover: rgba(255, 215, 0, 0.55);
    --shadow-glow: 0 0 35px rgba(255, 215, 0, 0.25);
    --shadow-purple: 0 0 35px rgba(157, 78, 221, 0.3);
}

/* Reset universal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Toast Notifications Floating */
.toast-container {
    position: fixed;
    top: 85px;
    right: 25px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(14, 21, 35, 0.96);
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    pointer-events: auto;
    animation: toastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast.success { border-color: #10B981; }
.toast.success i { color: #10B981; }
.toast.error { border-color: #EF4444; }
.toast.error i { color: #EF4444; }
.toast.info { border-color: var(--cyan-primary); }
.toast.info i { color: var(--cyan-primary); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Visibility Control */
@media (min-width: 993px) {
    .mobile-only { display: none !important; }
}

@media (max-width: 992px) {
    .desktop-only { display: none !important; }
}

/* Header Navbar Limpio y Elegante */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 10, 18, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 10px 0;
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.brand-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    transition: transform 0.3s ease;
}

.brand-logo-box:hover .nav-logo-img {
    transform: scale(1.08) rotate(3deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.brand-sub {
    font-size: 9px;
    font-weight: 700;
    color: var(--cyan-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.25s ease;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.12);
}

/* Staff Portal Dropdown */
.staff-portal-dropdown-wrapper {
    position: relative;
}

.staff-dropdown-trigger {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--gold-primary);

}

.staff-dropdown-trigger:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: var(--gold-primary);
}

.staff-dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    width: 240px;
    background: #090e17;
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    z-index: 1500;
}

.staff-dropdown-menu.open {
    display: flex;
}

.staff-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.staff-dropdown-item:hover {
    background: rgba(255, 215, 0, 0.12);
    color: #fff;
}

.staff-dropdown-item i {
    font-size: 18px;
}

.text-cyan { color: var(--cyan-primary); }
.text-gold { color: var(--gold-primary); }

.staff-dropdown-item strong {
    display: block;
    font-size: 13px;
}

.staff-dropdown-item small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-full { width: 100%; }

.btn-login-nav {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-login-nav:hover {
    background: var(--gold-gradient);
    color: #04070d;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
}

/* User Profile Menu & Dropdown */
.user-profile-menu {
    position: relative;
}

.btn-user-badge {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold-primary);
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    width: 220px;
    background: #090e17;
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    z-index: 1500;
}

.profile-dropdown.open {
    display: flex;
}

.dropdown-header {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 4px;
}

.dropdown-header strong {
    display: block;
    color: var(--gold-primary);
    font-size: 14px;
}

.badge-role {
    font-size: 11px;
    color: var(--cyan-primary);
    font-weight: 700;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.14);
    color: var(--gold-primary);
}

.dropdown-item.logout {
    color: #EF4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer Side Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    height: 100vh;
    background: #080c14;
    border-left: 2px solid var(--gold-primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
}

.mobile-drawer.open { right: 0; }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    color: var(--gold-primary);
    font-size: 17px;
}

.drawer-logo { width: 34px; height: 34px; }
.close-drawer-btn { color: var(--text-muted); font-size: 24px; cursor: pointer; }
.close-drawer-btn:hover { color: #fff; }

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    flex: 1;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold-primary);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active { opacity: 1; pointer-events: auto; }

/* Hero Section */
.hero-section {
    padding: 140px 20px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-description {
    font-size: 17.5px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-gold {
    background: var(--gold-gradient);
    color: #04070d;
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.4);
}

.btn-hero-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.6);
}

.btn-hero-cyan {
    background: var(--cyan-gradient);
    color: #04070d;
    box-shadow: 0 4px 25px rgba(0, 242, 254, 0.4);
}

.btn-hero-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 242, 254, 0.6);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #fff;
}

.btn-hero-outline:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold-primary);
}

/* Floating Hero Logo */
.hero-image-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-glow-aura {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, rgba(157, 78, 221, 0.35) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.floating-hero-logo {
    width: 340px;
    max-width: 100%;
    object-fit: contain;
    z-index: 2;
    animation: floatAnim 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, rgba(14, 21, 35, 0.95) 0%, rgba(6, 10, 18, 0.95) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 35px 20px;
    margin-bottom: 90px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-card {
    padding: 22px 18px;
    background: rgba(4, 7, 13, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.stat-icon {
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-subtitle {
    color: var(--cyan-primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    font-weight: 900;
    color: #fff;
}

.section-desc {
    font-size: 15.5px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 12px auto 0;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Forum Section */
.forum-section {
    max-width: 1250px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.forum-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.forum-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
    height: fit-content;
}

.forum-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forum-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.forum-cat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.forum-cat-btn:hover, .forum-cat-btn.active {
    background: rgba(255, 215, 0, 0.14);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.forum-feed-header { margin-bottom: 20px; }

.forum-search-box {
    position: relative;
    width: 100%;
}

.forum-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.forum-search-box input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: rgba(14, 21, 35, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
}

.forum-search-box input:focus { border-color: var(--cyan-primary); }

.forum-threads-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.forum-thread-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-thread-card:hover {
    border-color: var(--gold-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thread-author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thread-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    object-fit: cover;
}

.thread-author-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.thread-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan-primary);
}

.thread-badge.staff {
    background: rgba(255, 215, 0, 0.18);
    color: var(--gold-primary);
}

.thread-time { font-size: 12px; color: var(--text-muted); }

.thread-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
}

.thread-title:hover { color: var(--gold-primary); }

.thread-img-preview {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-top: 8px;
}

.thread-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.thread-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.thread-stats { display: flex; gap: 15px; }

.thread-stat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.thread-stat-btn:hover { color: var(--gold-primary); }
.thread-stat-btn.liked { color: #EF4444; }

/* Staff Team Section */
.staff-team-section {
    max-width: 1250px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

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

.staff-member-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-member-card.director {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-glow);
}

.staff-member-card.admin {
    border-color: var(--cyan-primary);
}

.staff-member-card.mod {
    border-color: var(--purple-primary);
}

.staff-member-card:hover {
    transform: translateY(-8px);
}

.staff-avatar-box {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
}

.staff-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
}

.staff-crown-icon, .staff-star-icon, .staff-mod-icon {
    position: absolute;
    top: -8px;
    right: -4px;
    font-size: 22px;
    color: var(--gold-primary);
}

.staff-star-icon { color: var(--cyan-primary); }
.staff-mod-icon { color: var(--purple-primary); }

.staff-member-name {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}

.staff-member-role {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 14px;
}

.staff-member-bio {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.staff-badge-pill {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.staff-badge-pill.gold { background: rgba(255, 215, 0, 0.15); border: 1px solid var(--gold-primary); color: var(--gold-primary); }
.staff-badge-pill.cyan { background: rgba(0, 242, 254, 0.15); border: 1px solid var(--cyan-primary); color: var(--cyan-primary); }
.staff-badge-pill.purple { background: rgba(157, 78, 221, 0.15); border: 1px solid var(--purple-primary); color: var(--purple-primary); }

/* Features Grid */
.features-section {
    max-width: 1250px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.feature-icon-box.cyan { background: rgba(0, 242, 254, 0.12); border-color: var(--cyan-primary); color: var(--cyan-primary); }
.feature-icon-box.purple { background: rgba(157, 78, 221, 0.12); border-color: var(--purple-primary); color: var(--purple-primary); }

.feature-card h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); }

/* OASIS Showcase */
.oasis-showcase-section {
    background: linear-gradient(135deg, rgba(10, 16, 26, 0.95) 0%, rgba(4, 7, 13, 0.95) 100%);
    border-top: 1px solid rgba(0, 242, 254, 0.25);
    border-bottom: 1px solid rgba(0, 242, 254, 0.25);
    padding: 80px 20px;
    margin-bottom: 100px;
}

.oasis-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.oasis-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-primary);
    font-weight: 800;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.oasis-info-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 18px;
}

.text-cyan-gradient {
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.oasis-info-box p { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 25px; }

.oasis-features-list { list-style: none; margin-bottom: 35px; }
.oasis-features-list li {
    font-size: 14.5px;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.oasis-features-list i { color: var(--cyan-primary); }

.oasis-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-oasis { background: var(--cyan-gradient); color: #04070d; box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4); }
.btn-oasis:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0, 242, 254, 0.6); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }

/* Discord Embed Mockup */
.discord-embed-mockup {
    background: #2b2d31;
    border-left: 4px solid var(--cyan-primary);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.embed-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.embed-avatar img { width: 28px; height: 28px; border-radius: 50%; }
.embed-author { font-size: 12px; font-weight: 700; color: #f2f3f5; }
.embed-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.embed-desc {
    font-size: 13px;
    color: #dbdee1;
    line-height: 1.6;
    margin-bottom: 15px;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
}
.embed-buttons { display: flex; gap: 8px; }
.embed-btn {
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.embed-btn.link { background: #4e5058; color: #fff; }
.embed-btn.secondary { background: #4e5058; color: #fff; }

/* Honor Section */
.honor-section { max-width: 1250px; margin: 0 auto 100px; padding: 0 20px; }
.founder-card-box { display: flex; justify-content: center; }
.founder-card {
    background: linear-gradient(145deg, rgba(14, 21, 35, 0.95) 0%, rgba(6, 10, 18, 0.95) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 750px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.founder-avatar-box { width: 100px; height: 100px; margin: 0 auto 15px; }
.founder-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)); }
.founder-name { font-family: 'Cinzel', serif; font-size: 28px; font-weight: 900; color: var(--gold-primary); letter-spacing: 2px; }
.founder-role { font-size: 12px; font-weight: 800; color: var(--cyan-primary); letter-spacing: 2px; margin-bottom: 16px; }
.founder-bio { font-size: 15px; color: var(--text-secondary); margin-bottom: 25px; }

.founder-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.f-badge {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
}
.f-badge.gold { background: rgba(255, 215, 0, 0.12); border-color: var(--gold-primary); color: var(--gold-primary); }

/* Modals estrictos (Hidden por defecto) */
.modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex !important; }

.modal-card {
    background: #090e17;
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), var(--shadow-glow);
}

.modal-card-large {
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

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

.modal-header { text-align: center; margin-bottom: 20px; }
.modal-logo { width: 48px; height: 48px; margin-bottom: 8px; }
.modal-icon-gold { font-size: 32px; color: var(--gold-primary); margin-bottom: 8px; }
.modal-header h2 { font-family: 'Cinzel', serif; font-size: 21px; color: var(--gold-primary); font-weight: 900; }
.modal-header p { font-size: 13px; color: var(--text-secondary); }

.oauth-section { margin-bottom: 18px; }
.btn-oauth { padding: 12px; font-size: 14px; }

.oauth-divider { text-align: center; margin: 15px 0; position: relative; }
.oauth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}
.oauth-divider span {
    position: relative;
    background: #090e17;
    padding: 0 10px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 18px;
}

.auth-tab {
    flex: 1;
    padding: 9px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active { background: var(--gold-primary); color: #04070d; }

.auth-form { display: none !important; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex !important; }

.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(4, 7, 13, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 13.5px;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: var(--gold-primary);
}

/* Thread Detail Modal Content */
.thread-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-header {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 15px;
}

.detail-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--gold-primary);
    font-weight: 900;
    margin-bottom: 10px;
}

.detail-full-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--gold-primary);
    margin: 15px 0;
}

.detail-text {
    font-size: 15.5px;
    color: var(--text-primary);
    line-height: 1.7;
}

.comments-section {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comments-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--cyan-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
}

.comment-author {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 13px;
    margin-bottom: 4px;
}

.comment-text {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.reply-input-box {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background: #020408;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 40px 20px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; }
.footer-title { font-family: 'Cinzel', serif; font-weight: 900; color: var(--gold-primary); font-size: 17px; }
.footer-sub { font-size: 11px; color: var(--text-muted); }

.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 13.5px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold-primary); }
.footer-copyright { font-size: 13px; color: var(--text-muted); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .forum-layout { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { justify-content: center; }
    .oasis-container { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 32px; }
    .hero-description { font-size: 14.5px; }
    .floating-hero-logo { width: 250px; }
    .btn { padding: 9px 15px; font-size: 13px; }
}

/* ==========================================================================
   MODAL RESPONSIVO Y SCROLL PERFECTO PARA CELULARES Y DESKTOP
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: linear-gradient(145deg, rgba(14, 21, 35, 0.98) 0%, rgba(6, 10, 18, 0.98) 100%);
    border: 1.5px solid var(--gold-primary);
    border-radius: 20px;
    padding: 30px 25px;
    width: 100%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.2);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-card::-webkit-scrollbar {
    width: 6px;
}
.modal-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
.modal-card::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--gold-primary);
    color: #000;
    transform: rotate(90deg);
}

/* ==========================================================================
   ESTRUCTURA DE EQUIPO STAFF COMPACTA EN UN SOLO CUADRO DE MANDO
   ========================================================================== */
.staff-unified-box {
    background: linear-gradient(145deg, rgba(14, 21, 35, 0.95) 0%, rgba(6, 10, 18, 0.95) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 35px 30px;
    max-width: 1200px;
    margin: 30px auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.staff-group-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.staff-group-title {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-owner { color: var(--gold-primary); }
.tier-admin { color: var(--cyan-primary); }
.tier-mod { color: #a855f7; }
.tier-helper { color: #22c55e; }

.staff-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.staff-mini-card {
    background: rgba(18, 26, 43, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.staff-mini-card:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(26, 38, 62, 0.95);
}

.staff-mini-card.owner { border-color: rgba(255, 215, 0, 0.4); }
.staff-mini-card.owner:hover { border-color: var(--gold-primary); box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }

.staff-mini-card.admin { border-color: rgba(0, 242, 254, 0.4); }
.staff-mini-card.admin:hover { border-color: var(--cyan-primary); box-shadow: 0 0 20px rgba(0, 242, 254, 0.3); }

.staff-mini-card.mod { border-color: rgba(168, 85, 247, 0.4); }
.staff-mini-card.mod:hover { border-color: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }

.staff-mini-card.helper { border-color: rgba(34, 197, 94, 0.4); }
.staff-mini-card.helper:hover { border-color: #22c55e; box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }

.staff-mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.owner .staff-mini-avatar { border-color: var(--gold-primary); }
.admin .staff-mini-avatar { border-color: var(--cyan-primary); }
.mod .staff-mini-avatar { border-color: #a855f7; }
.helper .staff-mini-avatar { border-color: #22c55e; }

.staff-mini-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.staff-mini-name {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-mini-badge {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.staff-mini-badge.owner { color: var(--gold-primary); }
.staff-mini-badge.admin { color: var(--cyan-primary); }
.staff-mini-badge.mod { color: #c084fc; }
.staff-mini-badge.helper { color: #4ade80; }
