/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --cyan: #00ffff;
    --violet: #9d00ff;
    --light: #f0f0f0;
    --gray: #888888;
    --dark-gray: #333333;
    --cyan-glow: rgba(0, 255, 255, 0.3);
    --violet-glow: rgba(157, 0, 255, 0.3);
    --cyan-glow-strong: rgba(0, 255, 255, 0.6);
    --violet-glow-strong: rgba(157, 0, 255, 0.6);
    --section-spacing: 100px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--black);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

/* ===== NUOVO: Sfondo Pattern per Sezioni ===== */
.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(157, 0, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== NUOVO: Effetto Fumo/Sfondo Distorto ===== */
.smoke-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 2%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 2%, transparent 10%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 1%, transparent 8%);
    background-size: 200px 200px, 250px 250px, 300px 300px;
    opacity: 0.4;
    filter: blur(2px);
    z-index: -1;
    animation: smokeFloat 20s infinite linear;
}

@keyframes smokeFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, 5px) rotate(0.5deg); }
    50% { transform: translate(5px, -5px) rotate(-0.5deg); }
    75% { transform: translate(-5px, -5px) rotate(0.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ===== NUOVO: Bordi e Sfondi per Sezioni Alternate ===== */
.cyan-section {
    background: linear-gradient(145deg, rgba(0, 10, 15, 0.8), rgba(0, 20, 30, 0.9));
    border-top: 3px solid var(--cyan);
    border-bottom: 3px solid var(--cyan);
    position: relative;
    overflow: hidden;
}

.cyan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.03) 50%, transparent 70%);
    background-size: 400% 400%, 300% 300%;
    animation: cyanPulse 15s infinite linear;
    z-index: -1;
}

.cyan-section .smoke-effect {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.05) 2%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.03) 2%, transparent 10%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.02) 1%, transparent 8%);
}

.violet-section {
    background: linear-gradient(145deg, rgba(15, 0, 25, 0.8), rgba(25, 0, 40, 0.9));
    border-top: 3px solid var(--violet);
    border-bottom: 3px solid var(--violet);
    position: relative;
    overflow: hidden;
}

.violet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(157, 0, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(157, 0, 255, 0.03) 50%, transparent 70%);
    background-size: 400% 400%, 300% 300%;
    animation: violetPulse 15s infinite linear;
    z-index: -1;
}

.violet-section .smoke-effect {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(157, 0, 255, 0.05) 2%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(157, 0, 255, 0.03) 2%, transparent 10%),
        radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.02) 1%, transparent 8%);
}

@keyframes cyanPulse {
    0% { background-position: 0% 0%, 100% 100%; }
    100% { background-position: 400% 400%, 300% 300%; }
}

@keyframes violetPulse {
    0% { background-position: 100% 100%, 0% 0%; }
    100% { background-position: 500% 500%, 400% 400%; }
}

/* Cornici decorative per sezioni */
.section-frame {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.section-frame-top {
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyan) 20%, 
        var(--cyan) 80%, 
        transparent
    );
    opacity: 0.3;
}

.section-frame-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--violet) 20%, 
        var(--violet) 80%, 
        transparent
    );
    opacity: 0.3;
}

.violet-section .section-frame-top {
    background: linear-gradient(90deg, 
        transparent, 
        var(--violet) 20%, 
        var(--violet) 80%, 
        transparent
    );
}

.violet-section .section-frame-bottom {
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyan) 20%, 
        var(--cyan) 80%, 
        transparent
    );
}

/* ===== Fine Nuovi Stili ===== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    border-radius: 3px;
    z-index: 2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--cyan);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    z-index: 2;
    position: relative;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    z-index: -1;
}

.btn:hover .btn-glow {
    transform: translateX(100%);
}

.btn-primary {
    background-color: var(--cyan);
    color: var(--black);
    box-shadow: 0 0 30px var(--cyan-glow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 50px var(--cyan-glow-strong);
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--violet);
    border: 2px solid var(--violet);
    box-shadow: 0 0 30px var(--violet-glow);
}

.btn-secondary:hover {
    background-color: var(--violet);
    color: var(--black);
    box-shadow: 0 0 50px var(--violet-glow-strong);
    transform: translateY(-5px);
}

.expand-btn {
    margin-top: 30px;
    min-width: 200px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.scrolled {
    padding: 14px 0;
    background-color: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    border: 1px solid rgba(157, 0, 255, 0.5);
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.6);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--violet);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(157, 0, 255, 0.7);
}

/* Hamburger Menu */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--cyan);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--violet);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.7);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: var(--violet);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.7);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-overlay.active {
    left: 0;
}

.nav-menu {
    list-style: none;
    text-align: center;
    padding: 0;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    padding: 15px 25px;
    margin: 10px 0;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(-40px);
}

.nav-overlay.active .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.nav-link:hover, .nav-link.active {
    color: var(--cyan);
    transform: translateX(15px);
    text-shadow: 0 0 30px var(--cyan);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 !important;
    opacity: 1 !important;
    z-index: -3;
}

.fracture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(157, 0, 255, 0.03) 50%, transparent 52%);
    background-size: 300% 300%, 400% 400%;
    animation: fracture 40s infinite linear;
    z-index: -2;
    opacity: 0.3;
}

@keyframes fracture {
    0% { background-position: 0% 0%, 100% 100%; }
    100% { background-position: 300% 300%, 500% 500%; }
}

.void-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    opacity: 0.2;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: 4px;
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.6);
    text-transform: uppercase;
}

.title-fracture {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgba(157, 0, 255, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--violet);
    margin: 40px 0;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 0 35px rgba(157, 0, 255, 0.7);
    position: relative;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-feature {
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(157, 0, 255, 0.3);
    max-width: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 15px var(--cyan));
}

.feature-text {
    font-size: 1.2rem;
    color: var(--light);
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 1.6;
}

/* ===== Intro Section ===== */
.intro-section {
    background: linear-gradient(145deg, rgba(0, 15, 20, 0.9), rgba(0, 25, 35, 0.95));
    border-top: 3px solid var(--cyan);
    border-bottom: 3px solid var(--cyan);
    position: relative;
    overflow: hidden;
}

.intro-section .smoke-effect {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.04) 2%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(157, 0, 255, 0.02) 2%, transparent 10%);
}

.intro-text {
    font-size: 1.4rem;
    color: var(--light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* ===== Expandable Sections ===== */
.expandable-section {
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.expandable-teaser {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.teaser-text {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ===== Popup Overlay ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(10, 10, 10, 0.98));
    border-radius: 20px;
    border: 2px solid rgba(157, 0, 255, 0.5);
    box-shadow: 0 0 100px rgba(0, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.popup-header {
    padding: 25px 40px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(157, 0, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.popup-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.popup-close:hover {
    color: var(--violet);
    transform: rotate(90deg);
    text-shadow: 0 0 20px rgba(157, 0, 255, 0.8);
    background: rgba(157, 0, 255, 0.1);
}

.popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

/* Scrollbar styling for popup */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--cyan), var(--violet));
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--violet), var(--cyan));
}

/* ===== Popup Content Styles ===== */
.popup-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(157, 0, 255, 0.2);
}

.popup-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.popup-section-title {
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.popup-section-subtitle {
    color: var(--violet);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.popup-text {
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.popup-list {
    list-style: none;
    padding-left: 20px;
}

.popup-list li {
    color: var(--light);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    font-size: 1.1rem;
}

.popup-list li:before {
    content: "⟫";
    color: var(--cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--cyan);
}

/* Tiers Grid in Popup */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tier-card-popup {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(157, 0, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card-popup:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.tier-card-popup h3 {
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tier-price {
    color: var(--violet);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(157, 0, 255, 0.7);
}

/* Crystals Gallery in Popup */
.crystals-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.crystal-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(157, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.crystal-item:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.crystal-image-popup {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(157, 0, 255, 0.5);
}

.crystal-image-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline in Popup */
.timeline-popup {
    position: relative;
    padding-left: 60px;
    margin: 40px 0;
}

.timeline-popup::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--cyan), var(--violet));
    box-shadow: 0 0 20px var(--cyan-glow);
    border-radius: 2px;
}

.timeline-item-popup {
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -45px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 25px var(--cyan);
    z-index: 2;
}

.timeline-marker.completed {
    background-color: var(--violet);
    box-shadow: 0 0 25px var(--violet);
}

.timeline-date-popup {
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
}

.timeline-content-popup {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(157, 0, 255, 0.3);
}

/* Chart in Popup */
.chart-container-popup {
    width: 100%;
    height: 400px;
    margin: 40px 0;
    position: relative;
}

/* Giveaway Form */
.giveaway-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(157, 0, 255, 0.3);
    margin: 40px 0;
}

.giveaway-steps {
    margin-bottom: 30px;
}

.wallet-list {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    max-height: 300px;
    overflow-y: auto;
}

/* Community Links in Popup */
.community-links-popup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.community-link-popup {
    display: flex;
    align-items: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.community-link-popup:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.link-icon-popup {
    font-size: 2.5rem;
    margin-right: 20px;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.community-link-popup:hover .link-icon-popup {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 0 15px var(--cyan));
}

.link-content-popup h3 {
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.link-content-popup p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Team Info in Popup */
.team-solo-popup {
    text-align: center;
    margin: 40px 0;
}

.founder-portrait-popup {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 3px solid rgba(157, 0, 255, 0.5);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.4);
}

.founder-portrait-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(145deg, rgba(10, 0, 20, 0.9), rgba(15, 0, 25, 0.95));
    padding: 50px 0;
    border-top: 3px solid var(--violet);
    border-bottom: 3px solid var(--violet);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(157, 0, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer .smoke-effect {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(157, 0, 255, 0.04) 2%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.02) 2%, transparent 10%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--light);
    margin-bottom: 25px;
    letter-spacing: 4px;
    display: block;
}

.footer-logo .logo span {
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.social-icon:hover {
    background-color: var(--cyan);
    color: var(--black);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.5);
    border-color: transparent;
}

.footer-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.8px;
}

.footer-disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    max-width: 500px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    :root {
        --section-spacing: 80px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
        margin: 30px 0;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tiers-grid,
    .crystals-gallery,
    .community-links-popup {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popup-container {
        width: 95%;
        height: 90vh;
    }
    
    .popup-header {
        padding: 20px 30px;
    }
    
    .popup-title {
        font-size: 1.8rem;
    }
    
    .popup-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .hero-tagline {
        font-size: 1.7rem;
        margin: 25px 0;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 30px 0;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .popup-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        border: none;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .popup-close {
        font-size: 2.5rem;
        width: 35px;
        height: 35px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 1.2rem;
    }
    
    /* Riduci effetti su mobile */
    .smoke-effect {
        opacity: 0.2;
        filter: blur(1px);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .teaser-text {
        font-size: 1rem;
    }
    
    .expand-btn {
        min-width: 180px;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .footer-logo .logo {
        font-size: 2rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .popup-section-title {
        font-size: 1.5rem;
    }
    
    .timeline-popup {
        padding-left: 40px;
    }
    
    .timeline-popup::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -35px;
        width: 18px;
        height: 18px;
    }
    
    /* Riduci ulteriormente effetti su mobile piccolo */
    .cyan-section::before,
    .violet-section::before {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        width: 40px;
        height: 40px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }
    
    /* Disabilita alcuni effetti su mobile molto piccolo */
    .smoke-effect {
        display: none;
    }
}