/* ===========================
   ROOT & VARIABLES
   =========================== */
:root {
    --primary-red: #c41e3a;
    --dark-red: #8b1528;
    --light-red: #e84e5f;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --surface: #1a1a1a;
    --surface-light: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-gold: #ffd700;
    --accent-cyan: #00d9ff;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 80px rgba(196, 30, 58, 0.3);
}

/* ===========================
   GLOBAL STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 30, 58, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: rgba(196, 30, 58, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(196, 30, 58, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--light-red));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-up 8s infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

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

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.5);
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-ip-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.ip-text {
    background: var(--surface-light);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(196, 30, 58, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.copy-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.copy-btn:hover {
    background: var(--light-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.copy-btn:active {
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: white;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-4px);
}

.btn-icon {
    font-size: 1.2rem;
    animation: spin 2s linear infinite;
}

.btn-primary:hover .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.scroll-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-glow {
        width: 300px;
        height: 300px;
    }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    position: relative;
    padding: 5rem 2rem;
    background: var(--dark-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gems-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), transparent);
    pointer-events: none;
    border-radius: 12px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(196, 30, 58, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.feature-item:hover {
    background: rgba(196, 30, 58, 0.1);
    transform: translateX(10px);
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ===========================
   CONNECTION SECTION
   =========================== */
.connection {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.connection-container {
    max-width: 1200px;
    margin: 0 auto;
}

.connection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.connection-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.connection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
    transition: left 0.5s ease;
}

.connection-card:hover::before {
    left: 100%;
}

.connection-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.card-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.card-ip code {
    background: var(--surface-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--accent-gold);
    flex: 1;
    min-width: 200px;
}

.card-ip .copy-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.card-status {
    background: rgba(196, 30, 58, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    color: var(--light-red);
    margin: 1.5rem 0;
    font-weight: 600;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.discord-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(196, 30, 58, 0.05);
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    margin-top: 2rem;
}

.discord-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.discord-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.discord-widget-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.discord-widget-container iframe {
    border-radius: 12px;
    border: 1px solid rgba(196, 30, 58, 0.3);
}

/* ===========================
   GEMS PAGE - HERO
   =========================== */
.gems-hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.gems-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

.doc-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.doc-link:hover {
    color: var(--light-red);
    text-decoration: underline;
}

/* ===========================
   GEMS SECTION
   =========================== */
.gems-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.gems-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.gem-card {
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gem-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.4);
}

.gem-card-inner {
    padding: 2rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gem-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gem-icon.red-gem { text-shadow: 0 0 20px rgba(196, 30, 58, 0.8); }
.gem-icon.blue-gem { text-shadow: 0 0 20px rgba(0, 150, 200, 0.8); }
.gem-icon.green-gem { text-shadow: 0 0 20px rgba(34, 177, 76, 0.8); }
.gem-icon.purple-gem { text-shadow: 0 0 20px rgba(155, 89, 182, 0.8); }
.gem-icon.yellow-gem { text-shadow: 0 0 20px rgba(241, 196, 15, 0.8); }
.gem-icon.cyan-gem { text-shadow: 0 0 20px rgba(52, 211, 153, 0.8); }
.gem-icon.orange-gem { text-shadow: 0 0 20px rgba(230, 126, 34, 0.8); }
.gem-icon.pink-gem { text-shadow: 0 0 20px rgba(236, 112, 158, 0.8); }

.gem-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.gem-tier {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gem-short-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.gem-toggle {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.gem-toggle:hover {
    background: var(--light-red);
    transform: scale(1.05);
}

.gem-details {
    padding: 0 2rem 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.gem-ability {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(196, 30, 58, 0.1);
    border-left: 3px solid var(--primary-red);
    border-radius: 6px;
    text-align: left;
}

.gem-ability h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.gem-ability p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===========================
   GEMS PAGE - ENERGY SYSTEM
   =========================== */
.energy-system-info {
    padding: 4rem 2rem;
    background: rgba(196, 30, 58, 0.05);
}

.energy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.energy-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.energy-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.energy-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.energy-level {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid rgba(196, 30, 58, 0.2);
}

.energy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.energy-level strong {
    display: block;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.energy-level p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.energy-mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mechanic {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.mechanic h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mechanic p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   GEMS PAGE - ABILITY ACTIVATION
   =========================== */
.ability-activation {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.activation-container {
    max-width: 1000px;
    margin: 0 auto;
}

.activation-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-red);
}

.activation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.method {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.method:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.method h4 {
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.method p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.activation-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   GEMS PAGE - GEM CARDS UPDATED
   =========================== */
.gem-card {
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gem-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.4);
}

.gem-card.expanded {
    max-height: 1000px;
}

.gem-card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid rgba(196, 30, 58, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gem-card-header .gem-icon {
    font-size: 2.5rem;
}

.gem-card-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.astra-header {
    background: rgba(155, 89, 182, 0.1);
    border-bottom-color: #9b59b6;
}

.fire-header {
    background: rgba(230, 126, 34, 0.1);
    border-bottom-color: #e67e22;
}

.flux-header {
    background: rgba(52, 211, 153, 0.1);
    border-bottom-color: #34d399;
}

.life-header {
    background: rgba(236, 112, 158, 0.1);
    border-bottom-color: #ec709e;
}

.puff-header {
    background: rgba(173, 216, 230, 0.1);
    border-bottom-color: #add8e6;
}

.speed-header {
    background: rgba(255, 193, 7, 0.1);
    border-bottom-color: #ffc107;
}

.strength-header {
    background: rgba(220, 20, 60, 0.1);
    border-bottom-color: #dc143c;
}

.wealth-header {
    background: rgba(255, 215, 0, 0.1);
    border-bottom-color: #ffd700;
}

.gem-theme {
    padding: 0.75rem 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.gem-card-inner {
    display: none;
    padding: 1.5rem;
}

.gem-card.expanded .gem-card-inner {
    display: block;
}

.tier-section {
    margin-bottom: 1.5rem;
}

.tier-title {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.ability {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(196, 30, 58, 0.05);
    border-left: 3px solid var(--primary-red);
    border-radius: 4px;
}

.ability strong {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.ability p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.passives-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 30, 58, 0.2);
}

.passives-title {
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.passives-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.passives-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.passives-list li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.gem-toggle {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.gem-toggle:hover {
    background: var(--light-red);
}

/* ===========================
   GEMS PAGE - TIER PROGRESSION
   =========================== */
.tier-progression {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.tier-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tier-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tier-card {
    padding: 2rem;
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    transition: var(--transition);
}

.tier-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.tier-card h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

.tier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-card li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-secondary);
    position: relative;
}

.tier-card li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* ===========================
   CRAFTING RECIPES SECTION
   =========================== */
.crafting-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.crafting-container {
    max-width: 1200px;
    margin: 0 auto;
}

.crafting-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.crafting-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.recipe-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.recipe-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.recipe-header .recipe-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

img.recipe-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem;
}

.recipe-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.recipe-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.crafting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--darker-bg);
    border: 2px solid rgba(196, 30, 58, 0.2);
    border-radius: 8px;
    padding: 4px;
    width: 162px;
    flex-shrink: 0;
}

.grid-slot {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.1;
}

.grid-slot.filled {
    background: rgba(196, 30, 58, 0.1);
    border-color: rgba(196, 30, 58, 0.3);
}

.slot-icon {
    font-size: 1.1rem;
    line-height: 1;
}

img.slot-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.grid-slot .slot-name {
    font-size: 0.55rem;
    opacity: 0.8;
    margin-top: 1px;
}

.recipe-arrow {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.recipe-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.recipe-result .result-icon {
    font-size: 1.5rem;
}

img.result-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.recipe-result .result-name {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.recipe-result .result-count {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* ===========================
   STAFF PAGE
   =========================== */
.staff-hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.staff-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.staff-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.staff-card {
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.staff-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.staff-skin {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
    image-rendering: pixelated;
}

.staff-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.staff-position {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.staff-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.staff-discord-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.staff-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(196, 30, 58, 0.15);
}

/* Staff Apply Section */
.staff-apply {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.apply-container {
    max-width: 600px;
    margin: 0 auto;
}

.apply-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 12px;
    transition: var(--transition);
}

.apply-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.apply-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.apply-card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.apply-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.apply-card .btn {
    display: inline-flex;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content p:first-child {
    margin-bottom: 0.5rem;
}

/* ===========================
   SCROLL ANIMATION
   =========================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale {
    transform: scale(0.8);
    opacity: 0;
    transition: var(--transition);
}

.scroll-scale.visible {
    transform: scale(1);
    opacity: 1;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .gems-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .connection-cards {
        grid-template-columns: 1fr;
    }
    
    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-ip-display {
        flex-direction: column;
    }
    
    .card-ip {
        flex-direction: column;
    }
    
    .card-ip code {
        width: 100%;
    }
    
    .discord-widget-container iframe {
        max-width: 100%;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .gems-container {
        grid-template-columns: 1fr;
    }
    
    .energy-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activation-methods {
        grid-template-columns: 1fr;
    }
    
    .tier-cards {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   COPY BUTTON FEEDBACK
   =========================== */
.copy-btn.copied {
    background: #4caf50;
}

.copy-btn.copied::after {
    content: ' ✓';
}
