/* ========================================
   PENSEROSICURO NETWORK - CYBER/THEATER
   Dark tech meets human energy
   ======================================== */

:root {
    --dark-bg: #0a0a0a;
    --dark-surface: #111111;
    --dark-card: #1a1a1a;
    --neon-green: #39ff14;
    --brand-green: #2E7D32;
    --brand-green-dark: #1B5E20;
    --light-bg: #f5f5f0;
    --light-surface: #ffffff;
    --text-light: #e0e0e0;
    --text-dark: #1a1a1a;
    --text-muted: #888888;
    --border-subtle: rgba(57, 255, 20, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

#container {
    width: 100%;
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 30px;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.1);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-brand-text {
    color: var(--neon-green);
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.navbar-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9em;
    border: 1px solid transparent;
}

.navbar-menu a:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    background: rgba(57, 255, 20, 0.05);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    overflow: hidden;
    padding: 120px 30px 80px;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: scanline 8s linear infinite;
    opacity: 0.3;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.hero-content {
    position: relative;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    will-change: transform, opacity;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 2px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.badge-text {
    color: var(--neon-green);
}

.hero-title {
    font-size: 6em;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.title-line {
    display: block;
    color: var(--text-light);
}

.title-accent {
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    font-style: italic;
}

.hero-title.revealed .title-accent {
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        text-shadow: 0 0 30px rgba(57, 255, 20, 0.5),
                     0 0 60px rgba(57, 255, 20, 0.3);
    }
    50% { 
        text-shadow: 0 0 40px rgba(57, 255, 20, 0.8),
                     0 0 80px rgba(57, 255, 20, 0.5),
                     0 0 100px rgba(57, 255, 20, 0.3);
    }
}

.title-small {
    font-size: 0.5em;
    letter-spacing: 8px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 10px;
}

.hero-terminal {
    font-family: 'Courier New', monospace;
    font-size: 1.5em;
    color: var(--neon-green);
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(57, 255, 20, 0.05);
    border-left: 3px solid var(--neon-green);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-prompt {
    color: var(--neon-green);
    margin-right: 10px;
}

.terminal-text {
    font-style: italic;
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: var(--neon-green);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    padding: 18px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-neon {
    background: var(--neon-green);
    color: var(--dark-bg);
    border-color: var(--neon-green);
}

.btn-neon:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-muted);
}

.btn-ghost:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-ghost:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8em;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-green), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
    padding: 100px 30px;
}

.section-light {
    background: var(--light-bg);
    color: var(--text-dark);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--text-light);
}

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

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--brand-green);
}

.section-label-light {
    color: var(--neon-green);
}

.label-line {
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-label.revealed .label-line {
    width: 40px;
}

.section-title-dark {
    font-size: 3.5em;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.section-title {
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.section-title-light {
    color: var(--text-light);
}

/* ========================================
   SPLIT LAYOUT
   ======================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.lead-text {
    font-size: 1.25em;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.split-left p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

.feature-list {
    margin-top: 50px;
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: var(--light-surface);
    border-radius: 8px;
    border-left: 4px solid var(--brand-green);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.feature-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--brand-green);
    flex-shrink: 0;
}

.feature-content strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.15em;
    margin-bottom: 8px;
}

.feature-content p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-muted);
}

/* PLAYER TERMINAL */
.player-terminal {
    background: var(--dark-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: sticky;
    top: 100px;
}

.terminal-header {
    background: var(--dark-card);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: var(--text-muted);
}

.terminal-body {
    padding: 30px;
}

.player-title {
    text-align: center;
    font-size: 1.4em;
    color: var(--neon-green);
    margin-bottom: 25px;
    font-weight: 700;
}

.spreaker-player {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.btn-youtube {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FF0000;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.3);
}

/* ========================================
   FILOSOFIA
   ======================================== */
.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.terminal-quote {
    background: var(--dark-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 50px;
    font-family: 'Courier New', monospace;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--neon-green);
    font-size: 0.9em;
}

.quote-prompt {
    color: var(--neon-green);
}

.quote-label {
    opacity: 0.7;
}

.quote-text {
    font-size: 1.6em;
    color: var(--text-light);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-footer {
    color: var(--neon-green);
    font-size: 1.2em;
}

.cursor-blink {
    animation: blink 1s infinite;
}

.philosophy-text p {
    font-size: 1.15em;
    line-height: 1.9;
    margin-bottom: 25px;
    color: var(--text-light);
}

.knife-metaphor {
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-green) 100%);
    padding: 40px;
    border-radius: 12px;
    margin: 50px 0;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(46, 125, 50, 0.3);
}

.metaphor-icon {
    font-size: 4em;
    flex-shrink: 0;
}

.metaphor-content {
    flex: 1;
}

.metaphor-text {
    font-size: 1.4em;
    font-style: italic;
    color: white;
    line-height: 1.5;
    margin-bottom: 15px;
}

.metaphor-author {
    font-size: 0.95em;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* VIDEO */
.video-wrapper {
    margin-top: 60px;
}

.video-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--neon-green);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid var(--border-subtle);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   BLOG/RSS
   ======================================== */
.mod-feed .feed {
    list-style: none;
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feed-item {
    background: var(--light-surface);
    border-left: 4px solid var(--brand-green);
    padding: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(-30px);
}

.feed-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.feed-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.feed-item h4 {
    margin-bottom: 12px;
}

.feed-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 700;
    transition: color 0.3s;
}

.feed-item h4 a:hover {
    color: var(--brand-green);
}

.feed-item-date {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 12px;
    display: block;
    font-family: 'Courier New', monospace;
}

.feed-item-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   STATS PLATFORM (ORIZZONTALE) - SENZA FONTI
   ======================================== */
.stats-platforms {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green) var(--dark-surface);
}

.stats-platforms::-webkit-scrollbar {
    height: 6px;
}

.stats-platforms::-webkit-scrollbar-track {
    background: var(--dark-surface);
    border-radius: 3px;
}

.stats-platforms::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 3px;
}

.platform-stat {
    flex: 0 0 auto;
    min-width: 200px;
    background: var(--dark-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.platform-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--neon-green);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.platform-stat:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.15);
}

.platform-stat:hover::before {
    transform: scaleX(1);
}

.platform-stat-number {
    font-size: 3em;
    font-weight: 900;
    color: var(--neon-green);
    margin-bottom: 12px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.platform-stat-label {
    font-size: 1em;
    color: var(--text-muted);
    font-weight: 500;
}

/* Stats grid tradizionale - SENZA ICONE */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-subtle);
    padding: 45px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.1);
}

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

.stat-number {
    font-size: 4.5em;
    font-weight: 900;
    color: var(--neon-green);
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.stat-label {
    font-size: 1.1em;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   SOCIAL NAVIGATION - COMPACT
   ======================================== */
.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
}

.social-item {
    position: relative;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--dark-surface);
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.6em;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    font-family: 'Arial Black', 'Impact', sans-serif;
    letter-spacing: 1px;
}

.social-link::before {
    content: attr(data-icon);
    display: block;
    line-height: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Colori specifici per piattaforma */
.social-link[data-icon="Y"]:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-link[data-icon="F"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link[data-icon="I"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: white;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.social-link[data-icon="L"]:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: white;
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4);
}

.social-link[data-icon="T"]:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link[data-icon="m"]:hover {
    background: #1DB954;
    border-color: #1DB954;
    color: white;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.social-link[data-icon="S"]:hover,
.social-link[data-icon="C"]:hover {
    background: #FF5500;
    border-color: #FF5500;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.4);
}

.social-link[data-icon="W"]:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: white;
}

/* Social aggregate */
.social-aggregate {
    text-align: center;
    margin-top: 40px;
}

.aggregate-text {
    font-size: 1.1em;
    color: var(--text-muted);
}

.aggregate-text strong {
    color: var(--brand-green);
    font-weight: 800;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
    background: var(--dark-surface);
    color: var(--text-light);
    padding: 60px 30px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-terminal {
    font-family: 'Courier New', monospace;
    font-size: 1.3em;
    color: var(--neon-green);
    margin-bottom: 20px;
    font-style: italic;
}

.footer-text {
    margin-bottom: 30px;
    opacity: 0.7;
    font-size: 1.05em;
}

.footer-links {
    font-size: 0.95em;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-green);
}

.separator {
    opacity: 0.3;
}

/* ========================================
   SCROLL ANIMATIONS - VANILLA ONLY
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.stat-card.reveal {
    transform: translateY(40px) scale(0.95);
}

.stat-card.reveal.revealed {
    transform: translateY(0) scale(1);
}

.counter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.counter.counting {
    animation: counterPop 0.4s ease;
}

@keyframes counterPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.knife-metaphor.reveal {
    transform: translateY(40px) rotate(-1deg);
}

.knife-metaphor.reveal.revealed {
    transform: translateY(0) rotate(0);
}

.video-container.reveal {
    transform: translateY(40px) scale(0.98);
}

.video-container.reveal.revealed {
    transform: translateY(0) scale(1);
}

html {
    scroll-behavior: smooth;
}

/* Performance: riduci motion per chi preferisce */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .stat-card.reveal,
    .knife-metaphor.reveal,
    .video-container.reveal,
    .feed-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-title.revealed .title-accent {
        animation: none;
    }
    
    .section-label .label-line {
        width: 40px;
        transition: none;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media screen and (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .player-terminal {
        position: static;
    }
    
    .hero-title {
        font-size: 4em;
    }
}

@media screen and (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .navbar-menu a {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    #hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 3em;
        letter-spacing: -1px;
    }
    
    .title-small {
        letter-spacing: 4px;
    }
    
    .hero-terminal {
        font-size: 1.1em;
        padding: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title-dark,
    .section-title {
        font-size: 2.5em;
    }
    
    .knife-metaphor {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .metaphor-text {
        font-size: 1.2em;
    }
    
    .stats-platforms {
        gap: 15px;
        padding: 15px 5px;
    }
    
    .platform-stat {
        min-width: 160px;
        padding: 25px 20px;
    }
    
    .platform-stat-number {
        font-size: 2.2em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 3em;
    }
    
    .social-nav {
        gap: 15px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.4em;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .platform-stat {
        min-width: 140px;
        padding: 20px 15px;
    }
    
    .platform-stat-number {
        font-size: 1.8em;
    }
    
    .platform-stat-label {
        font-size: 0.85em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
}