/* ===== Variabili CSS ===== */
:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #7c3aed;
    --accent: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-gold: linear-gradient(135deg, #ffd700, #ff8c00);
    --gradient-fire: linear-gradient(135deg, #ff6b35, #f7931e);
    --gradient-elite: linear-gradient(135deg, #ffd700, #ff6b35);
}

/* ===== Reset e Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Sfondo Particelle ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

/* ===== Barra di Scorrimento ===== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

/* ===== Contenitore ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigazione ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.95);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.logo i {
    font-size: 1.8rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}
.logo .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.btn-discord {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== Sezione Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 40%);
    z-index: 0;
}
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}
.hero-badge i {
    color: var(--primary);
}
.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.storm-text {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}
.mc-text {
    display: block;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.5));
    }
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}
.server-ip {
    margin-bottom: 40px;
}
.ip-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--bg-glass);
    border: 2px solid var(--primary);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow);
}
.ip-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ip-address {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}
.copy-btn {
    background: var(--primary);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--bg-dark);
    transition: all 0.3s ease;
}
.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}
.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
}
.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}
/* Hero Visual */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}
.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}
.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.cube-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    width: 40px;
    height: 40px;
}
.cube-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    width: 30px;
    height: 30px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}
.storm-icon {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    font-size: 15rem;
    color: var(--primary);
    opacity: 0.05;
}
/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Stili Sezioni ===== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== Divider Hero-SEO ===== */
.hero-seo-divider {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: -15px 0;
    position: relative;
    z-index: 2;
}
.hero-seo-divider svg {
    width: 100%;
    height: 100%;
}
.divider-bolt {
    animation: boltFlicker 3s ease-in-out infinite;
}
.divider-glow {
    opacity: 0.2;
    filter: blur(4px);
    animation: boltFlicker 3s ease-in-out infinite;
}
@keyframes boltFlicker {
    0%, 100% { opacity: 0.5; stroke-dashoffset: 0; }
    15% { opacity: 1; }
    30% { opacity: 0.3; }
    45% { opacity: 0.9; }
    60% { opacity: 0.4; }
    80% { opacity: 0.8; }
}

/* ===== Sezione SEO Text ===== */
.section-seo-text {
    padding: 40px 0 50px;
    background: transparent;
    text-align: center;
    position: relative;
}
.seo-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 35px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(5px);
}
.seo-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 18px rgba(0,212,255,0.2);
}
.seo-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}
.seo-divider {
    width: 180px;
    height: 20px;
    position: relative;
}
.seo-divider svg {
    width: 100%;
    height: 100%;
}
.bolt-line {
    animation: boltPulse 2s ease-in-out infinite;
}
.bolt-glow {
    opacity: 0.3;
    filter: blur(3px);
    animation: boltPulse 2s ease-in-out infinite;
}
@keyframes boltPulse {
    0%, 100% { opacity: 0.6; }
    25% { opacity: 1; }
    50% { opacity: 0.4; }
    75% { opacity: 0.9; }
}
.seo-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
}
.seo-desc strong {
    color: var(--text-primary);
}
.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 2px;
}
.seo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    font-size: 0.78rem;
    color: var(--primary);
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.12);
    border-radius: 20px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.seo-tag:hover {
    background: rgba(0,212,255,0.12);
    border-color: rgba(0,212,255,0.25);
    transform: translateY(-2px);
}
.seo-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7c3aed;
    margin-top: 2px;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* ===== Sezione Modalità di Gioco ===== */
.gamemodes {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 15, 25, 1) 100%);
    position: relative;
    overflow: hidden;
}
.gamemodes .container {
    position: relative;
    z-index: 1;
}
.mc-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.mc-item {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    filter: grayscale(0.3) brightness(0.7);
    image-rendering: pixelated;
}
@keyframes mcDrift {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% { opacity: 0.35; }
    50% {
        transform: translateY(-35vh) translateX(30px) rotate(180deg) scale(1);
        opacity: 0.25;
    }
    90% { opacity: 0.1; }
    100% {
        transform: translateY(-70vh) translateX(-20px) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}
@keyframes mcSway {
    0% {
        transform: translateY(0) translateX(0) rotate(-15deg);
        opacity: 0;
    }
    8% { opacity: 0.4; }
    25% { transform: translateY(-20vh) translateX(40px) rotate(10deg); }
    50% { transform: translateY(-40vh) translateX(-30px) rotate(-20deg); opacity: 0.3; }
    75% { transform: translateY(-55vh) translateX(20px) rotate(15deg); }
    92% { opacity: 0.1; }
    100% {
        transform: translateY(-75vh) translateX(-10px) rotate(-10deg);
        opacity: 0;
    }
}
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.mode-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mode-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}
.mode-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
}
.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.mode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}
.mode-icon.survival {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
.mode-icon.pvp {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}
.mode-icon.minigames {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}
.mode-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.survival-glow { background: #10b981; }
.pvp-glow { background: #8b5cf6; }
.minigames-glow { background: #f59e0b; }
.mode-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.mode-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mode-features {
    list-style: none;
    text-align: left;
    margin-bottom: 0;
    flex-grow: 1;
}
.mode-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mode-features i {
    color: var(--accent);
}
.mode-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
.mode-details .mode-features {
    margin-bottom: 0;
    padding-top: 5px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}
.mode-card.expanded .mode-details {
    max-height: 300px;
    opacity: 1;
}
.mode-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    margin: 15px 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 25px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.mode-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.15), transparent);
    transition: left 0.5s ease;
}
.mode-details-btn:hover::before {
    left: 100%;
}
.mode-details-btn:hover {
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
    border-color: rgba(0,212,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,212,255,0.15);
}
.mode-details-btn i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}
.mode-card.expanded .mode-details-btn {
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(0,212,255,0.1));
    border-color: rgba(124,58,237,0.3);
    color: #a78bfa;
}
.mode-card.expanded .mode-details-btn i {
    transform: rotate(180deg);
}
.mode-card.expanded .mode-details-btn .details-text::after {
    content: '';
}
.mode-card.expanded .mode-details-btn .details-text {
    font-size: 0;
}
.mode-card.expanded .mode-details-btn .details-text::before {
    content: 'Meno Dettagli';
    font-size: 0.82rem;
}
.mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}
.mode-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

/* ===== Sezione Chi Siamo ===== */
.about {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.mc-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.about .container {
    position: relative;
    z-index: 1;
}
.mc-block {
    position: absolute;
    border-radius: 3px;
    opacity: 0;
    image-rendering: pixelated;
}
.mc-block--dirt {
    background:
        linear-gradient(135deg, #6b8c42 0%, #6b8c42 30%, transparent 30%),
        linear-gradient(to bottom, #6b8c42 25%, #8b6914 25%, #8b6914 50%, #7a5c12 50%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25), inset 2px 2px 0 rgba(255,255,255,0.1);
}
.mc-block--stone {
    background:
        repeating-conic-gradient(#7f7f7f 0% 25%, #8a8a8a 0% 50%) 0 0 / 6px 6px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3), inset 1px 1px 0 rgba(255,255,255,0.1);
}
.mc-block--diamond {
    background: linear-gradient(135deg, #4aedd9, #2db8a4, #62f5e0);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), inset 2px 2px 0 rgba(255,255,255,0.3), 0 0 8px rgba(74,237,217,0.3);
}
.mc-block--emerald {
    background: linear-gradient(135deg, #17dd62, #0fb84e, #2aee75);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), inset 2px 2px 0 rgba(255,255,255,0.3), 0 0 8px rgba(23,221,98,0.3);
}
.mc-block--redstone {
    background: linear-gradient(135deg, #d42c2c, #ff4040, #b82020);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), inset 2px 2px 0 rgba(255,255,255,0.2), 0 0 6px rgba(212,44,44,0.3);
}
@keyframes mcFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    8% { opacity: 0.6; }
    50% {
        transform: translateY(-40vh) rotate(180deg);
        opacity: 0.4;
    }
    92% { opacity: 0.15; }
    100% {
        transform: translateY(-85vh) rotate(360deg);
        opacity: 0;
    }
}
@keyframes mcSpin {
    0% {
        transform: translateY(0) rotateX(0) rotateZ(0);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    90% { opacity: 0.2; }
    100% {
        transform: translateY(-70vh) rotateX(360deg) rotateZ(180deg);
        opacity: 0;
    }
}
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content .section-badge,
.about-content .section-title {
    text-align: left;
}
.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-text-small {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}
.about-text .highlight {
    color: var(--primary);
    font-weight: 600;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.feature:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feature-text h4 {
    font-weight: 600;
    margin-bottom: 5px;
}
.feature-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.about-visual {
    display: flex;
    justify-content: center;
}
.visual-card {
    position: relative;
    width: 300px;
    height: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
}
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 60%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.visual-icon {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 30px var(--primary));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.visual-stats {
    display: flex;
    gap: 40px;
}
.v-stat {
    text-align: center;
}
.v-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.v-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== Sezione Team - Carousel ===== */
.team {
    background: linear-gradient(180deg, rgba(15, 15, 25, 1) 0%, var(--bg-dark) 100%);
}
.team-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}
.team-carousel {
    overflow: hidden;
    border-radius: 20px;
    flex: 1;
}
.team-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.team-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 30px;
    position: relative;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.4s ease;
}
.slide-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.team-slide:hover .slide-glow {
    opacity: 0.4;
    transform: translateX(-50%) scale(1.2);
}
.owner-slide .slide-glow { background: #ffd700; }
.manager-slide .slide-glow { background: #ec4899; }
.discord-slide .slide-glow { background: #5865F2; }
.owner-slide { border-color: rgba(255, 215, 0, 0.15); }
.manager-slide { border-color: rgba(236, 72, 153, 0.15); }
.discord-slide { border-color: rgba(88, 101, 242, 0.15); }
.owner-slide:hover { border-color: rgba(255, 215, 0, 0.4); }
.manager-slide:hover { border-color: rgba(236, 72, 153, 0.4); }
.discord-slide:hover { border-color: rgba(88, 101, 242, 0.4); }
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 15px currentColor; }
}
.owner-badge {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}
.manager-badge {
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.25);
}
.discord-badge {
    background: rgba(88, 101, 242, 0.12);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.25);
}
.slide-avatar {
    position: relative;
    margin-bottom: 16px;
}
.slide-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid var(--border);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.owner-slide .slide-avatar img {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}
.manager-slide .slide-avatar img {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}
.team-slide:hover .slide-avatar img {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.discord-icon-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #5865F2, #7c8af2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.15);
    transition: transform 0.4s ease;
}
.team-slide:hover .discord-icon-avatar {
    transform: scale(1.08) rotate(2deg);
}
.slide-avatar .status-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 8px #10b981; }
    50% { box-shadow: 0 0 16px #10b981, 0 0 24px rgba(16, 185, 129, 0.3); }
}
.team-slide h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: text-shadow 0.4s ease;
}
.owner-slide:hover h4 { text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.manager-slide:hover h4 { text-shadow: 0 0 20px rgba(236, 72, 153, 0.4); }
.discord-slide:hover h4 { text-shadow: 0 0 20px rgba(88, 101, 242, 0.4); }
.slide-socials {
    display: flex;
    gap: 10px;
}
.slide-socials a {
    width: 38px;
    height: 38px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.slide-socials a:hover {
    background: #5865F2;
    color: white;
    border-color: #5865F2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}
/* Carousel Controls */
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(15, 15, 25, 0.6);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}
.carousel-dot:hover:not(.active) {
    border-color: var(--text-secondary);
}

/* ===== Sezione Shop ===== */
.shop {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.shop .container {
    position: relative;
    z-index: 1;
}
.mc-shop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.mc-gem {
    position: absolute;
    opacity: 0;
    font-size: 16px;
}
@keyframes mcGemFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    8% { opacity: 0.4; }
    50% { transform: translateY(40vh) rotate(180deg); opacity: 0.25; }
    92% { opacity: 0.08; }
    100% { transform: translateY(85vh) rotate(360deg); opacity: 0; }
}
@keyframes mcGemFloat {
    0% { transform: translateY(0) translateX(0) scale(0.8); opacity: 0; }
    10% { opacity: 0.35; }
    30% { transform: translateY(20vh) translateX(25px) scale(1); }
    60% { transform: translateY(50vh) translateX(-20px) scale(0.9); opacity: 0.2; }
    100% { transform: translateY(80vh) translateX(10px) scale(0.7); opacity: 0; }
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.shop-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
    transition: left 0.8s ease;
    pointer-events: none;
}
.shop-card:hover::before {
    left: 100%;
}
.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.shop-card.featured-shop {
    border-color: var(--accent-orange);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}
.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-fire);
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}
.shop-header {
    margin-bottom: 25px;
}
.rank-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}
.shop-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
}
.vip-header h3 { color: #ffd700; }
.mvp-header h3 { color: #ff6b35; }
.elite-header h3 { color: #ffd700; }
.shop-price {
    margin-bottom: 15px;
}
.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: top;
}
.amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.shop-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}
.shop-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}
.shop-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}
.shop-features li:last-child {
    border-bottom: none;
}
.shop-features i {
    color: var(--accent);
}
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.vip-btn {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #1a1a1a;
}
.mvp-btn {
    background: var(--gradient-fire);
    color: white;
}
.elite-btn {
    background: var(--gradient-elite);
    color: #1a1a1a;
}
.shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050508 100%);
    padding-top: 100px;
}
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}
.footer-wave svg {
    width: 100%;
    height: 80px;
    fill: var(--bg-dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.footer-brand {
    max-width: 300px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-logo i {
    font-size: 1.8rem;
    color: var(--primary);
}
.footer-logo .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    width: 45px;
    height: 45px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.footer-socials a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.footer-links h4,
.footer-newsletter h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}
.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.discord-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.discord-cta:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-bottom p {
    margin-bottom: 5px;
}
.dev-credit {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}
.dev-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.dev-credit a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--primary);
}

/* Site blocked overlay */
.site-blocked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #ff0000;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    padding: 20px;
}
.site-blocked h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.site-blocked p {
    font-size: 1.2rem;
    color: #666;
}

/* ===== FAQ Page ===== */
.faq-hero {
    padding: 150px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, transparent 100%);
}
.faq-section {
    padding-top: 40px;
}
.faq-category {
    margin-bottom: 40px;
}
.faq-category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.faq-category-title i {
    font-size: 1rem;
    opacity: 0.7;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(0,212,255,0.2);
}
.faq-item.open {
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question i {
    font-size: 0.75rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}
.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.faq-answer ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}
.faq-answer ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
}
.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,212,255,0.3);
    transition: all 0.3s ease;
}
.faq-answer a:hover {
    color: #fff;
    border-color: #fff;
}
.faq-answer code {
    background: rgba(0,212,255,0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.88rem;
    font-family: 'Orbitron', monospace;
}
.faq-cta {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-top: 20px;
}
.faq-cta h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 0 40px;
    }
    .faq-question {
        padding: 14px 18px;
        font-size: 0.88rem;
    }
    .faq-item.open .faq-answer {
        padding: 0 18px 16px;
    }
    .faq-category-title {
        font-size: 1rem;
    }
}

/* ===== Regolamento Page ===== */
.rules-hero {
    padding: 140px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,212,255,0.06) 0%, transparent 100%);
    position: relative;
}
.rules-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(0,212,255,0.1); }
}
.rules-tabs {
    display: inline-flex;
    gap: 4px;
    background: rgba(15,15,25,0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 5px;
    margin-top: 30px;
}
.rules-tab {
    padding: 12px 32px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rules-tab:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}
.rules-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.rules-section {
    padding: 40px 0 60px;
}
.rules-header {
    text-align: center;
    margin-bottom: 50px;
}
.rules-header-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,212,255,0.1);
    border: 2px solid rgba(0,212,255,0.2);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: iconFloat 4s ease-in-out infinite;
}
.rules-header-icon.discord {
    background: rgba(88,101,242,0.1);
    border-color: rgba(88,101,242,0.2);
    color: #5865F2;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.rules-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.rules-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.rule-card:hover::before {
    opacity: 1;
}
.rule-card:hover {
    border-color: rgba(0,212,255,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,212,255,0.05);
}
.rule-card-warn {
    border-color: rgba(239,68,68,0.2);
}
.rule-card-warn::before {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
}
.rule-card-warn:hover {
    border-color: rgba(239,68,68,0.35);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(239,68,68,0.08);
}
.rule-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.rule-icon {
    width: 46px;
    height: 46px;
    background: rgba(0,212,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.rule-icon.discord {
    background: rgba(88,101,242,0.1);
    color: #5865F2;
}
.rule-icon.warn {
    background: rgba(239,68,68,0.1);
    color: var(--accent-red);
}
.rule-card:hover .rule-icon {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.rule-card-warn:hover .rule-icon {
    box-shadow: 0 0 20px rgba(239,68,68,0.15);
}
.rule-card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}
.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}
.rule-list li:hover {
    background: rgba(0,212,255,0.04);
    color: var(--text-primary);
}
.rule-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: rgba(0,212,255,0.1);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}
.rule-card-warn .rule-number {
    background: rgba(239,68,68,0.1);
    color: var(--accent-red);
}

/* Rules CTA */
.rules-cta-section {
    padding: 30px 0 80px;
}
.rules-cta-box {
    text-align: center;
    padding: 50px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.rules-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.rules-cta-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    animation: iconFloat 4s ease-in-out infinite;
}
.rules-cta-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rules-cta-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.rules-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-secondary {
    padding: 12px 28px;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.nav-links a.active {
    color: var(--primary);
}

/* Regolamento Responsive */
@media (max-width: 768px) {
    .rules-hero {
        padding: 120px 0 35px;
    }
    .rules-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    .rules-tab {
        justify-content: center;
        padding: 12px 20px;
    }
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rule-card {
        padding: 22px 18px;
    }
    .rules-header h2 {
        font-size: 1.4rem;
    }
    .rules-header-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    .rules-cta-box {
        padding: 35px 20px;
    }
    .rules-cta-box h3 {
        font-size: 1.15rem;
    }
    .rules-cta-buttons {
        flex-direction: column;
    }
    .rules-cta-buttons .btn,
    .rules-cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .rules-hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    .rule-card-header h3 {
        font-size: 0.85rem;
    }
    .rule-list li {
        font-size: 0.82rem;
        padding: 8px 10px;
    }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 20px 20px;
    transform: translateY(100%);
    animation: cookieSlideUp 0.5s 1s ease forwards;
}
.cookie-banner.hidden {
    animation: cookieSlideDown 0.4s ease forwards;
}
.cookie-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -5px 40px rgba(0, 0, 0, 0.4);
}
.cookie-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}
.cookie-text h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}
.cookie-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cookie-accept {
    background: var(--gradient-primary);
    color: #fff;
}
.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}
.cookie-decline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.cookie-decline:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}
@keyframes cookieSlideUp {
    to { transform: translateY(0); }
}
@keyframes cookieSlideDown {
    to { transform: translateY(150%); }
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* ===== Design Responsive ===== */

@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-content .section-badge,
    .about-content .section-title {
        text-align: center;
    }
    .feature {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .seo-inner {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .hero-seo-divider {
        height: 20px;
        margin: -10px 0;
    }
    .section-seo-text {
        padding: 30px 0 40px;
    }
    .seo-inner {
        padding: 24px 18px;
        gap: 12px;
    }
    .seo-heading {
        font-size: 0.9rem;
    }
    .seo-tags {
        gap: 6px;
    }
    .seo-tag {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
    .mode-card {
        padding: 30px 20px;
    }
    .mode-details-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    .streamers-grid {
        grid-template-columns: 1fr;
    }
    .team-carousel-wrapper {
        gap: 8px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .team-slide {
        padding: 28px 18px;
    }
    .slide-avatar img,
    .discord-icon-avatar {
        width: 75px;
        height: 75px;
    }
    .team-slide h4 {
        font-size: 1rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .btn-discord {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .hero-stats {
        gap: 30px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .scroll-indicator {
        display: none;
    }
    .modes-grid {
        grid-template-columns: 1fr;
    }
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .ip-box {
        flex-direction: column;
        gap: 10px;
    }
    .ip-address {
        font-size: 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .team-grid {
        gap: 20px;
    }
    .team-card {
        padding: 20px;
        min-width: auto;
        width: 100%;
    }
    .seo-inner {
        padding: 20px 14px;
    }
    .seo-heading {
        font-size: 0.82rem;
    }
    .seo-desc {
        font-size: 0.85rem;
    }
    .seo-tags {
        flex-direction: column;
        align-items: center;
    }
    .mode-card {
        padding: 25px 16px;
    }
    .mode-desc {
        min-height: auto;
    }
    .shop-card {
        padding: 30px 20px;
    }
    .amount {
        font-size: 3rem;
    }
    .about-text-small {
        font-size: 0.82rem;
    }
}

/* ===== Animazioni ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-hidden {
    opacity: 0;
}
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Notification Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* STREAMERS SECTION */
.streamers-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}
.streamer-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, #9146ff33, transparent 70%);
    opacity: 0;
    transition: 0.4s;
}
.streamer-card:hover .streamer-glow {
    opacity: 1;
}
.streamer-role {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    color: #a970ff;
}
.streamer-platforms {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}
.streamer-platforms a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #1f1f2a;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
    z-index: 20;
    cursor: pointer;
}
.streamer-platforms a:hover {
    background: #9146ff;
    transform: scale(1.15);
}
.watch-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #9146ff, #5e2eff);
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    z-index: 20;
    cursor: pointer;
}
.watch-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px #9146ff66;
}
.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff2b2b;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1px;
    pointer-events: none;
}

/* FIX CLICK STREAMERS */
.streamers {
    position: relative;
    z-index: 5;
}
.streamer-card {
    position: relative;
    width: 260px;
    padding: 35px 25px;
    text-align: center;
    border-radius: 18px;
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    overflow: hidden;
    z-index: 10;
}
.streamer-card:hover {
    transform: translateY(-8px) scale(1.03);
}

/* Stile Breadcrumb per SEO */
.breadcrumb-container {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.2); /* Sfondo leggero per non disturbare */
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}
.breadcrumb-list li a:hover {
    color: #ffaa00; /* Colore accent del tuo sito */
}

/* Separatore tra i link */
.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.3);
}
