/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7c3aed;
    --accent-color: #7c3aed;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-secondary: linear-gradient(135deg, #7c3aed, #9f7aea);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(124, 58, 237, 0.3);
}

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

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 10%;
    animation-delay: 3s;
}

/* Lightning Effects */
.lightning {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    animation: lightningFlash 4s ease-in-out infinite;
    z-index: 1;
}

.lightning-shape {
    width: 40px;
    height: 60px;
    position: relative;
    filter: drop-shadow(0 0 10px currentColor);
}

/* Forme diverse per ogni fulmine */
.shape-1 {
    background: linear-gradient(45deg, var(--primary-color), transparent);
    clip-path: polygon(50% 0%, 20% 40%, 40% 40%, 10% 100%, 60% 50%, 40% 50%, 80% 0%);
}

.shape-2 {
    background: linear-gradient(135deg, var(--accent-color), transparent);
    clip-path: polygon(30% 0%, 0% 30%, 20% 30%, 5% 70%, 50% 20%, 30% 20%, 70% 0%);
}

.shape-3 {
    background: linear-gradient(90deg, var(--primary-color), transparent);
    clip-path: polygon(40% 0%, 10% 35%, 30% 35%, 0% 100%, 70% 45%, 50% 45%, 90% 0%);
}

.shape-4 {
    background: linear-gradient(180deg, var(--accent-color), transparent);
    clip-path: polygon(50% 0%, 25% 25%, 45% 25%, 15% 75%, 75% 30%, 55% 30%, 85% 0%);
}

.shape-5 {
    background: linear-gradient(225deg, var(--primary-color), transparent);
    clip-path: polygon(60% 0%, 30% 30%, 50% 30%, 20% 80%, 80% 40%, 60% 40%, 100% 0%);
}

.shape-6 {
    background: linear-gradient(270deg, var(--accent-color), transparent);
    clip-path: polygon(35% 0%, 5% 25%, 25% 25%, 0% 65%, 60% 25%, 40% 25%, 75% 0%);
}

.shape-7 {
    background: linear-gradient(315deg, var(--primary-color), transparent);
    clip-path: polygon(45% 0%, 15% 20%, 35% 20%, 10% 60%, 65% 15%, 45% 15%, 80% 0%);
}

.shape-8 {
    background: linear-gradient(0deg, var(--accent-color), transparent);
    clip-path: polygon(55% 0%, 25% 15%, 45% 15%, 20% 55%, 75% 10%, 55% 10%, 90% 0%);
}

/* Forme per le sezioni */
.shape-section-1 {
    background: linear-gradient(60deg, var(--primary-color), transparent);
    clip-path: polygon(50% 0%, 25% 30%, 45% 30%, 15% 70%, 70% 25%, 50% 25%, 85% 0%);
}

.shape-section-2 {
    background: linear-gradient(120deg, var(--accent-color), transparent);
    clip-path: polygon(40% 0%, 15% 25%, 35% 25%, 10% 65%, 60% 20%, 40% 20%, 75% 0%);
}

.shape-section-3 {
    background: linear-gradient(200deg, var(--accent-color), transparent);
    clip-path: polygon(60% 0%, 35% 20%, 55% 20%, 30% 60%, 80% 15%, 60% 15%, 90% 0%);
}

.shape-section-4 {
    background: linear-gradient(300deg, var(--primary-color), transparent);
    clip-path: polygon(30% 0%, 5% 20%, 25% 20%, 0% 60%, 50% 15%, 30% 15%, 65% 0%);
}

.shape-section-5 {
    background: linear-gradient(45deg, var(--accent-color), transparent);
    clip-path: polygon(40% 0%, 15% 30%, 35% 30%, 10% 70%, 60% 25%, 40% 25%, 75% 0%);
}

.shape-section-6 {
    background: linear-gradient(135deg, var(--primary-color), transparent);
    clip-path: polygon(50% 0%, 25% 25%, 45% 25%, 20% 65%, 70% 20%, 50% 20%, 80% 0%);
}

.shape-section-7 {
    background: linear-gradient(60deg, var(--accent-color), transparent);
    clip-path: polygon(45% 0%, 20% 30%, 40% 30%, 15% 70%, 65% 25%, 45% 25%, 80% 0%);
}

.shape-section-8 {
    background: linear-gradient(120deg, var(--primary-color), transparent);
    clip-path: polygon(35% 0%, 10% 25%, 30% 25%, 5% 65%, 55% 20%, 35% 20%, 70% 0%);
}

.shape-section-9 {
    background: linear-gradient(200deg, var(--accent-color), transparent);
    clip-path: polygon(55% 0%, 30% 20%, 50% 20%, 25% 60%, 75% 15%, 55% 15%, 85% 0%);
}

.shape-section-10 {
    background: linear-gradient(300deg, var(--primary-color), transparent);
    clip-path: polygon(25% 0%, 0% 20%, 20% 20%, 0% 60%, 45% 15%, 25% 15%, 60% 0%);
}

.shape-section-11 {
    background: linear-gradient(45deg, var(--accent-color), transparent);
    clip-path: polygon(40% 0%, 15% 30%, 35% 30%, 10% 70%, 60% 25%, 40% 25%, 75% 0%);
}

.shape-section-12 {
    background: linear-gradient(135deg, var(--primary-color), transparent);
    clip-path: polygon(50% 0%, 25% 25%, 45% 25%, 20% 65%, 70% 20%, 50% 20%, 80% 0%);
}

.lightning-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.lightning-2 {
    top: 25%;
    right: 20%;
    animation-delay: 0.5s;
}

.lightning-3 {
    top: 40%;
    left: 8%;
    animation-delay: 1s;
}

.lightning-4 {
    top: 60%;
    right: 12%;
    animation-delay: 1.5s;
}

.lightning-5 {
    top: 75%;
    left: 25%;
    animation-delay: 2s;
}

.lightning-6 {
    top: 15%;
    left: 70%;
    animation-delay: 2.5s;
}

.lightning-7 {
    top: 50%;
    left: 85%;
    animation-delay: 3s;
}

.lightning-8 {
    top: 80%;
    right: 30%;
    animation-delay: 3.5s;
}

@keyframes lightningFlash {
    0%, 90%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    5%, 10% {
        opacity: 1;
        transform: scale(1.2) rotate(5deg);
    }
    15%, 20% {
        opacity: 0.8;
        transform: scale(0.8) rotate(-3deg);
    }
    25%, 30% {
        opacity: 1;
        transform: scale(1.1) rotate(2deg);
    }
    35%, 40% {
        opacity: 0.6;
        transform: scale(0.9) rotate(-1deg);
    }
    45%, 50% {
        opacity: 0.9;
        transform: scale(1.3) rotate(3deg);
    }
    55%, 60% {
        opacity: 0.4;
        transform: scale(0.7) rotate(-2deg);
    }
    65%, 70% {
        opacity: 0.7;
        transform: scale(1.0) rotate(1deg);
    }
    75%, 80% {
        opacity: 0.3;
        transform: scale(0.6) rotate(-1deg);
    }
    85% {
        opacity: 0.5;
        transform: scale(0.8) rotate(0deg);
    }
}

/* Dynamic Lightning Effects */
.dynamic-lightning {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    transition: all 0.1s ease;
}

.scroll-lightning {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cursor-lightning {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.dynamic-lightning .lightning-shape {
    width: 50px;
    height: 70px;
    filter: drop-shadow(0 0 15px currentColor);
}

.shape-dynamic {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    clip-path: polygon(50% 0%, 25% 35%, 45% 35%, 15% 75%, 75% 40%, 55% 40%, 85% 0%);
}

/* Scroll Lightning Animation */
.scroll-lightning.active {
    opacity: 1;
    animation: scrollLightningFlash 0.8s ease-out;
}

@keyframes scrollLightningFlash {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5) rotate(10deg);
    }
    40% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.0) rotate(-5deg);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(5deg);
    }
    80% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.8) rotate(-2deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
    }
}

/* Cursor Lightning Animation */
.cursor-lightning.active {
    opacity: 1;
    animation: cursorLightningFlash 0.6s ease-out;
}

@keyframes cursorLightningFlash {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(15deg);
    }
    60% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.9) rotate(-8deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
}

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

.logo-coin {
    color: var(--secondary-color);
}

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

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    background: var(--bg-primary);
    background-image: url('HERO.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    /* Nascondere i controlli video su tutti i dispositivi */
    -webkit-media-controls: none;
    -moz-media-controls: none;
    -o-media-controls: none;
    media-controls: none;
    /* Prevenire che Safari iOS tratti il video come contenuto principale */
    -webkit-playsinline: true;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Nascondere completamente i controlli */
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(0, 212, 255, 0.1) 30%,
        rgba(124, 58, 237, 0.1) 70%,
        rgba(10, 10, 10, 0.5) 100%
    );
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: inline;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.5s ease-out;
}

.coin-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 0.5s ease-out 0.1s both;
}

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

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.coin-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.coin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    animation: rotate 3s linear infinite;
}

.coin-face {
    width: 100%;
    height: 100%;
    background-image: url('COIN.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(124, 58, 237, 0.4),
        inset 0 0 20px rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 2;
    animation: coinGlow 2s ease-in-out infinite alternate;
}

.coin-symbol {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: white;
}

.coin-edge {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

@keyframes coinGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(124, 58, 237, 0.4),
            inset 0 0 20px rgba(0, 212, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(124, 58, 237, 0.6),
            inset 0 0 30px rgba(0, 212, 255, 0.4);
    }
}


.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle-tech {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: techFloat 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

.particle-tech:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-tech:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.particle-tech:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.particle-tech:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Lightning Effects */
.section-lightning {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    animation: sectionLightning 6s ease-in-out infinite;
    z-index: 1;
}

/* Section Particles (Stelle) */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: starFloat 8s ease-in-out infinite;
    opacity: 0.7;
    box-shadow: 0 0 6px var(--primary-color);
}

.particle-star:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.particle-star:nth-child(2) {
    top: 35%;
    right: 25%;
    animation-delay: 1.5s;
}

.particle-star:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 3s;
}

.particle-star:nth-child(4) {
    top: 25%;
    left: 70%;
    animation-delay: 4.5s;
}

.particle-star:nth-child(5) {
    top: 75%;
    right: 20%;
    animation-delay: 6s;
}

.particle-star:nth-child(6) {
    top: 45%;
    left: 50%;
    animation-delay: 7.5s;
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.9;
    }
}

.section-lightning .lightning-shape {
    width: 30px;
    height: 45px;
    filter: drop-shadow(0 0 8px currentColor);
}

.lightning-section-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.lightning-section-2 {
    top: 20%;
    right: 8%;
    animation-delay: 2s;
}

.lightning-section-3 {
    top: 15%;
    left: 10%;
    animation-delay: 1s;
}

.lightning-section-4 {
    top: 25%;
    right: 5%;
    animation-delay: 3s;
}

.lightning-section-5 {
    top: 15%;
    left: 8%;
    animation-delay: 4s;
}

.lightning-section-6 {
    top: 35%;
    right: 15%;
    animation-delay: 5s;
}

.lightning-section-7 {
    top: 20%;
    left: 12%;
    animation-delay: 6s;
}

.lightning-section-8 {
    top: 40%;
    right: 18%;
    animation-delay: 6.5s;
}

.lightning-section-9 {
    top: 25%;
    left: 8%;
    animation-delay: 7s;
}

.lightning-section-10 {
    top: 45%;
    right: 10%;
    animation-delay: 7.5s;
}

.lightning-section-11 {
    top: 15%;
    left: 15%;
    animation-delay: 8s;
}

.lightning-section-12 {
    top: 35%;
    right: 20%;
    animation-delay: 8.5s;
}

@keyframes sectionLightning {
    0%, 85%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    10%, 15% {
        opacity: 0.8;
        transform: scale(1.0) rotate(8deg);
    }
    20%, 25% {
        opacity: 0.4;
        transform: scale(0.6) rotate(-5deg);
    }
    30%, 35% {
        opacity: 0.9;
        transform: scale(1.1) rotate(3deg);
    }
    40%, 45% {
        opacity: 0.3;
        transform: scale(0.5) rotate(-2deg);
    }
    50%, 55% {
        opacity: 0.7;
        transform: scale(0.9) rotate(4deg);
    }
    60%, 65% {
        opacity: 0.2;
        transform: scale(0.4) rotate(-1deg);
    }
    70%, 75% {
        opacity: 0.6;
        transform: scale(0.8) rotate(2deg);
    }
    80% {
        opacity: 0.1;
        transform: scale(0.3) rotate(0deg);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Whitepaper Section */
.whitepaper {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
    overflow-x: hidden;
}

.whitepaper-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.whitepaper-content {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.whitepaper-section {
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.whitepaper-section:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.whitepaper-section-header {
    background: var(--gradient-primary);
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.whitepaper-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.whitepaper-section-content {
    padding: 2.5rem;
}

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

.whitepaper-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Mission Box */
.mission-box {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.mission-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.mission-list li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-left: 0;
    line-height: 1.6;
}

.mission-list li:last-child {
    margin-bottom: 0;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow-secondary);
}

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

.philosophy-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.philosophy-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Pillars Box */
.pillars-box {
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* Tokenomics */
.tokenomics-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.tokenomics-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

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

.distribution-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.distribution-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.distribution-percentage {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.distribution-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.distribution-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Transparency Measures */
.transparency-measures {
    margin-top: 3rem;
}

.transparency-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* Utility Features */
.utility-features {
    margin-top: 3rem;
}

.utility-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    box-sizing: border-box;
}

.utility-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.utility-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.utility-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.utility-content {
    flex: 1;
}

.utility-content .utility-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.utility-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

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

.measure-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.measure-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow-secondary);
}

.measure-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.measure-content {
    flex: 1;
}

.measure-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.measure-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Roadmap Section */
.roadmap {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
    overflow-x: hidden;
}

.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.roadmap-timeline {
    position: relative;
    margin-top: 4rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-period {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    z-index: 2;
    box-shadow: var(--shadow-glow);
    border: 4px solid var(--bg-primary);
}

.timeline-content {
    width: 45%;
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--bg-tertiary);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--bg-tertiary);
}

.timeline-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-list {
    list-style: none;
    padding: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.timeline-list li:last-child {
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.about-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.about-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
}

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

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 30px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Icona Pumpfun personalizzata */
.pumpfun-icon {
    height: auto;
    width: auto;
    max-height: 32px;
    object-fit: contain;
    filter: brightness(1.1);
}

/* Audio Toggle Button */
.audio-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.audio-toggle-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.audio-toggle-btn.muted {
    background: rgba(124, 58, 237, 0.9);
    border-color: var(--secondary-color);
}

.audio-toggle-btn.muted:hover {
    background: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.audio-toggle-btn i {
    transition: all 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.9);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.scroll-to-top-btn i {
    transition: all 0.3s ease;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Popup Get Started */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 50px rgba(0, 212, 255, 0.5),
        0 0 100px rgba(124, 58, 237, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.1);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
}

/* Effetti fulmini per il popup (come Advanced Features) */
.popup-section-lightning {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    animation: sectionLightning 6s ease-in-out infinite;
    z-index: 1;
}

.popup-section-lightning .lightning-shape {
    width: 30px;
    height: 45px;
    filter: drop-shadow(0 0 8px currentColor);
}

.popup-section-lightning.lightning-section-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.popup-section-lightning.lightning-section-2 {
    top: 20%;
    right: 8%;
    animation-delay: 2s;
}

/* Particelle stellari per il popup */
.popup-section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.popup-section-particles .particle-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: starFloat 8s ease-in-out infinite;
    opacity: 0.7;
    box-shadow: 0 0 6px var(--primary-color);
}

.popup-section-particles .particle-star:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.popup-section-particles .particle-star:nth-child(2) {
    top: 35%;
    right: 25%;
    animation-delay: 1.5s;
}

.popup-section-particles .particle-star:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 3s;
}

.popup-section-particles .particle-star:nth-child(4) {
    top: 25%;
    left: 70%;
    animation-delay: 4.5s;
}

.popup-section-particles .particle-star:nth-child(5) {
    top: 75%;
    right: 20%;
    animation-delay: 6s;
}

.popup-section-particles .particle-star:nth-child(6) {
    top: 45%;
    left: 50%;
    animation-delay: 7.5s;
}

.popup-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
    animation: popupIconGlow 2s ease-in-out infinite alternate;
}

@keyframes popupIconGlow {
    0% {
        box-shadow: var(--shadow-glow);
    }
    100% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

.popup-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.popup-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    margin-top: 0;
}

.popup-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.popup-close-btn i {
    transition: all 0.3s ease;
}

.popup-close-btn:hover i {
    transform: rotate(15deg);
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.popup-twitter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.popup-twitter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
    background: linear-gradient(135deg, #0d8bd9, #1da1f2);
    color: white;
    text-decoration: none;
}

.popup-twitter-btn i {
    transition: all 0.3s ease;
}

.popup-twitter-btn:hover i {
    transform: scale(1.1);
}

.popup-telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0088cc, #006699);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.popup-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #006699, #0088cc);
    color: white;
    text-decoration: none;
}

.popup-telegram-btn i {
    transition: all 0.3s ease;
}

.popup-telegram-btn:hover i {
    transform: scale(1.1);
}

/* Preloader con fulmine */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.preloader-logo .logo-text {
    color: var(--primary-color);
}

.preloader-logo .logo-coin {
    color: var(--secondary-color);
}

.preloader-lightning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.lightning-loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightning-shape-loader {
    width: 60px;
    height: 80px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    clip-path: polygon(50% 0%, 25% 35%, 45% 35%, 15% 75%, 75% 40%, 55% 40%, 85% 0%);
    animation: lightningFlicker 0.1s ease-in-out infinite alternate;
}

.lightning-shape-loader::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    clip-path: polygon(50% 0%, 25% 35%, 45% 35%, 15% 75%, 75% 40%, 55% 40%, 85% 0%);
    animation: lightningFill 2s ease-in-out infinite, lightningFlash 0.3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.lightning-shape-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8), rgba(0, 212, 255, 0.6));
    clip-path: polygon(50% 0%, 25% 35%, 45% 35%, 15% 75%, 75% 40%, 55% 40%, 85% 0%);
    animation: lightningSparkle 0.5s ease-in-out infinite;
    opacity: 0;
}

@keyframes lightningFill {
    0% {
        height: 0%;
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    25% {
        height: 25%;
        filter: drop-shadow(0 0 15px var(--primary-color));
    }
    50% {
        height: 50%;
        filter: drop-shadow(0 0 25px var(--primary-color));
    }
    75% {
        height: 75%;
        filter: drop-shadow(0 0 35px var(--primary-color));
    }
    100% {
        height: 100%;
        filter: drop-shadow(0 0 50px var(--primary-color));
    }
}

@keyframes lightningFlicker {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes lightningFlash {
    0%, 90%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 20px var(--primary-color));
    }
    5%, 15% {
        opacity: 0.7;
        filter: drop-shadow(0 0 40px var(--primary-color));
    }
    10%, 20% {
        opacity: 1;
        filter: drop-shadow(0 0 60px var(--primary-color));
    }
}

@keyframes lightningSparkle {
    0%, 80%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    10%, 30% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    20%, 40% {
        opacity: 0.3;
        transform: scale(0.98);
    }
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    animation: loadingPulse 1.5s ease-in-out infinite, loadingGlitch 2s ease-in-out infinite;
    position: relative;
    text-shadow: 2px 0 #00d4ff, -2px 0 #7c3aed;
}

.loading-text::before,
.loading-text::after {
    content: 'Loading...';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.loading-text::before {
    color: #00d4ff;
    animation: glitch1 0.3s ease-in-out infinite;
    z-index: -1;
}

.loading-text::after {
    color: #7c3aed;
    animation: glitch2 0.3s ease-in-out infinite;
    z-index: -2;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes loadingGlitch {
    0%, 90%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    2% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    4% {
        transform: translate(2px, -2px);
        filter: hue-rotate(180deg);
    }
    6% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(270deg);
    }
    8% {
        transform: translate(2px, 2px);
        filter: hue-rotate(360deg);
    }
}

@keyframes glitch1 {
    0%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    10% {
        opacity: 0.8;
        transform: translate(-1px, 1px);
    }
    20% {
        opacity: 0;
        transform: translate(1px, -1px);
    }
    30% {
        opacity: 0.6;
        transform: translate(-1px, -1px);
    }
    40% {
        opacity: 0;
        transform: translate(1px, 1px);
    }
}

@keyframes glitch2 {
    0%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    15% {
        opacity: 0.7;
        transform: translate(1px, -1px);
    }
    25% {
        opacity: 0;
        transform: translate(-1px, 1px);
    }
    35% {
        opacity: 0.5;
        transform: translate(1px, 1px);
    }
    45% {
        opacity: 0;
        transform: translate(-1px, -1px);
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

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

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .coin-container {
        width: 250px;
        height: 250px;
    }
    
    .coin {
        width: 150px;
        height: 150px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Mobile Full Screen Sections */
    .section {
        padding: 2rem 1rem;
        margin: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        position: relative;
        z-index: 1;
    }
    
    .section:nth-child(even) {
        background: var(--bg-secondary);
    }
    
    .section:nth-child(odd) {
        background: var(--bg-primary);
    }
    
    /* Container adjustments for mobile */
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .coin-container {
        width: 200px;
        height: 200px;
    }
    
    .coin {
        width: 120px;
        height: 120px;
    }
    
    .coin-symbol {
        font-size: 2rem;
    }
    
    .hero-background-video {
        opacity: 0.6;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Pulsanti laterali per mobile */
    .audio-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        top: 15px;
        right: 15px;
    }
    
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
    
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-period {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .contact-content {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Stats section mobile */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Features mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* About section mobile */
    .about-container {
        text-align: center;
    }
    
    /* Whitepaper mobile */
    .whitepaper-content {
        gap: 2rem;
    }
    
    .whitepaper-section-header {
        padding: 1.5rem;
    }
    
    .whitepaper-section-title {
        font-size: 1.5rem;
    }
    
    .whitepaper-section-content {
        padding: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tokenomics-distribution {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .measures-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .measure-item {
        padding: 1.5rem;
    }
    
    /* Utility Features Mobile */
    .utility-features {
        margin-top: 2rem;
    }
    
    .utility-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .utility-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .utility-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .utility-content {
        text-align: center;
    }
    
    .utility-content .utility-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .utility-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Section titles mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .lightning-shape {
        width: 30px;
        height: 45px;
    }
    
    .section-lightning .lightning-shape {
        width: 25px;
        height: 35px;
    }
    
    /* Mobile Section Effects */
    .section-lightning {
        opacity: 0.7;
    }
    
    .section-particles {
        opacity: 0.6;
    }
    
    .particle-star {
        width: 3px;
        height: 3px;
    }
    
    /* Mobile Container Adjustments */
    .whitepaper-container,
    .roadmap-container,
    .about-container {
        padding: 1.5rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 15px;
    }
    
    /* Whitepaper Mobile Fix */
    .whitepaper {
        padding: 2rem 0;
        margin: 0;
    }
    
    /* Roadmap Mobile Fix */
    .roadmap {
        padding: 2rem 0;
        margin: 0;
    }
    
    /* Utility Grid Mobile Fix */
    .utility-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }
    
    .utility-item {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .coin-container {
        width: 150px;
        height: 150px;
    }
    
    .coin {
        width: 90px;
        height: 90px;
    }
    
    .coin-symbol {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-list li {
        font-size: 0.9rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    /* Utility Features Small Mobile */
    .utility-item {
        padding: 1.2rem;
    }
    
    .utility-icon {
        font-size: 2rem;
    }
    
    .utility-content .utility-title {
        font-size: 1.1rem;
    }
    
    .utility-text {
        font-size: 0.9rem;
    }
    
    /* Small Mobile Container Fixes */
    .whitepaper-container,
    .roadmap-container,
    .about-container {
        padding: 1rem;
        margin: 0;
        border-radius: 10px;
    }
    
    .whitepaper,
    .roadmap {
        padding: 1.5rem 0;
    }
    
    .utility-item {
        padding: 1rem;
    }
    
    .popup-container {
        padding: 2rem;
        max-width: 90%;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-message {
        font-size: 1rem;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .popup-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .popup-close-btn,
    .popup-twitter-btn,
    .popup-telegram-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .preloader-logo {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .lightning-loader {
        width: 100px;
        height: 100px;
    }
    
    .lightning-shape-loader {
        width: 50px;
        height: 65px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    /* Whitepaper small mobile */
    .whitepaper-section-header {
        padding: 1rem;
    }
    
    .whitepaper-section-title {
        font-size: 1.3rem;
    }
    
    .whitepaper-section-content {
        padding: 1.5rem;
    }
    
    .philosophy-item {
        padding: 1.5rem;
    }
    
    .philosophy-icon {
        font-size: 2.5rem;
    }
    
    .tokenomics-distribution {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .distribution-item {
        padding: 1.5rem;
    }
    
    .distribution-percentage {
        font-size: 2rem;
    }
    
    .measure-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .measure-icon {
        font-size: 1.5rem;
    }
    
    /* Pulsanti laterali per mobile piccolo */
    .audio-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        top: 10px;
        right: 10px;
    }
    
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 10px;
        right: 10px;
    }
}

/* Extra Small Mobile (320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        max-width: 220px;
    }
    
    .coin-container {
        width: 120px;
        height: 120px;
    }
    
    .coin {
        width: 70px;
        height: 70px;
    }
    
    .coin-symbol {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-list li {
        font-size: 0.8rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Utility Features Extra Small Mobile */
    .utility-item {
        padding: 1rem;
    }
    
    .utility-icon {
        font-size: 1.8rem;
    }
    
    .utility-content .utility-title {
        font-size: 1rem;
    }
    
    .utility-text {
        font-size: 0.85rem;
    }
    
    /* Extra Small Mobile Container Fixes */
    .whitepaper-container,
    .roadmap-container,
    .about-container {
        padding: 0.8rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .whitepaper,
    .roadmap {
        padding: 1rem 0;
    }
    
    .utility-item {
        padding: 0.8rem;
    }
    
    /* Pulsanti ancora più piccoli */
    .audio-toggle-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
        top: 8px;
        right: 8px;
    }
    
    .scroll-to-top-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
        bottom: 8px;
        right: 8px;
    }
}

/* Safari iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-background-video {
        /* Nascondere completamente i controlli su Safari iOS */
        -webkit-media-controls-start-playback-button: none;
        -webkit-media-controls-play-button: none;
        -webkit-media-controls-timeline: none;
        -webkit-media-controls-current-time-display: none;
        -webkit-media-controls-time-remaining-display: none;
        -webkit-media-controls-mute-button: none;
        -webkit-media-controls-volume-slider: none;
        -webkit-media-controls-fullscreen-button: none;
        -webkit-media-controls-rewind-button: none;
        -webkit-media-controls-return-to-realtime-button: none;
        -webkit-media-controls-toggle-closed-captions-button: none;
    }
    
    /* Assicurarsi che il video non interferisca con la navigazione */
    .hero-background-video::-webkit-media-controls {
        display: none !important;
    }
    
    .hero-background-video::-webkit-media-controls-panel {
        display: none !important;
    }
    
    .hero-background-video::-webkit-media-controls-play-button {
        display: none !important;
    }
    
    .hero-background-video::-webkit-media-controls-start-playback-button {
        display: none !important;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Mobile menu overlay */
    .nav-menu.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
    }
    
    .nav-menu.active .nav-link {
        font-size: 1.5rem;
        color: var(--text-primary);
    }
    
    .nav-menu.active .nav-link:hover {
        color: var(--primary-color);
    }
    
    /* Close button for mobile menu */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


