/* ========================================
   TRON ARES THEME - ToEvenStay
   Red & Black Neon Cyberpunk Design
   ======================================== */

:root {
    /* Colors - Tron Ares Palette */
    --neon-red: #ff0a3c;
    --neon-red-bright: #ff2d5a;
    --neon-red-dark: #cc0830;
    --neon-red-glow: rgba(255, 10, 60, 0.8);
    --neon-orange: #ff4d00;
    --black-void: #000000;
    --black-deep: #050508;
    --black-surface: #0a0a0f;
    --black-card: #0f0f18;
    --black-elevated: #141420;
    --gray-dark: #1a1a2e;
    --gray-medium: #2a2a3e;
    --gray-light: #4a4a5e;
    --white-text: #ffffff;
    --white-dim: #b0b0b0;
    
    /* Effects */
    --glow-soft: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
    --glow-intense: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red), 0 0 40px var(--neon-red), 0 0 80px var(--neon-red);
    --glow-text: 0 0 5px var(--neon-red), 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Spacing */
    --section-padding: 100px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overscroll-behavior: none;
}

/* Prevent multiple scroll - one scroll = one section */
@supports (scroll-snap-type: y mandatory) {
    html {
        scroll-snap-type: y mandatory;
    }
}

body {
    font-family: var(--font-body);
    background: var(--black-void);
    color: var(--white-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Hide cursor on all elements */
*, *::before, *::after {
    cursor: none !important;
}

/* ========================================
   SCROLL SNAP SECTIONS
   ======================================== */

.section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

/* ========================================
   GLOBAL OVERLAYS
   ======================================== */

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 10, 60, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 10, 60, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1000;
    opacity: 0.3;
}

/* ========================================
   NAVIGATION DOTS
   ======================================== */

.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--neon-red);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.dot:hover {
    background: var(--neon-red);
    box-shadow: var(--glow-soft);
    transform: scale(1.2);
}

.dot.active {
    background: var(--neon-red);
    box-shadow: var(--glow-soft);
}

/* ========================================
   SECTION 1: HERO
   ======================================== */

.hero {
    background: 
        radial-gradient(ellipse at center, rgba(255, 10, 60, 0.1) 0%, transparent 70%),
        var(--black-void);
    flex-direction: column;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

/* Glitch Effect */
.glitch-container {
    position: relative;
}

.glitch {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--white-text);
    letter-spacing: 0.1em;
    animation: glitch-skew 2s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--neon-red);
    animation: glitch-before 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    text-shadow: -3px 0 var(--neon-red);
}

.glitch::after {
    color: var(--neon-orange);
    animation: glitch-after 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    text-shadow: 3px 0 var(--neon-orange);
}

@keyframes glitch-before {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes glitch-after {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
    100% { transform: translate(0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(2deg); }
    20% { transform: skew(-1deg); }
    30% { transform: skew(0deg); }
    40% { transform: skew(1deg); }
    50% { transform: skew(-2deg); }
    60% { transform: skew(0deg); }
    70% { transform: skew(-1deg); }
    80% { transform: skew(2deg); }
    90% { transform: skew(0deg); }
    100% { transform: skew(-1deg); }
}

.glitch-text {
    text-shadow: var(--glow-text);
}

/* Subtitle */
.subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    color: var(--neon-red);
    margin-top: 30px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    text-shadow: var(--glow-text);
}

.subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.subtitle.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Circuit Lines */
.circuit-lines {
    margin-top: 50px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.circuit-svg {
    width: 100%;
    height: 50px;
}

.circuit-path {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 2;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: circuit-draw 3s ease forwards;
    filter: drop-shadow(0 0 5px var(--neon-red));
}

.circuit-path.delay {
    animation-delay: 0.5s;
}

@keyframes circuit-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--neon-red);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-red);
    border-bottom: 2px solid var(--neon-red);
    transform: rotate(45deg);
    box-shadow: 3px 3px 5px rgba(255, 10, 60, 0.3);
}

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

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.2em;
    color: var(--white-text);
}

.bracket {
    color: var(--neon-red);
    text-shadow: var(--glow-text);
}

.section-content {
    max-width: 1200px;
    width: 100%;
    z-index: 10;
}

/* ========================================
   SECTION 2: ABOUT
   ======================================== */

.about {
    background: 
        radial-gradient(ellipse at top right, rgba(255, 10, 60, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--black-void) 0%, var(--black-deep) 100%);
}

.about-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Terminal Window */
.terminal-window {
    background: var(--black-card);
    border: 1px solid var(--neon-red);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 10, 60, 0.2);
}

.terminal-header {
    background: var(--black-elevated);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--gray-dark);
}

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

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27ca40; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-light);
    margin-left: 10px;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 5px;
}

.prompt {
    color: var(--neon-red);
    text-shadow: var(--glow-text);
}

.cmd {
    color: var(--white-text);
}

.terminal-output {
    color: var(--white-dim);
    margin-bottom: 15px;
    padding-left: 20px;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--neon-red);
}

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

/* Origami Butterfly SVG */
.origami-butterfly {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.butterfly-svg {
    width: 250px;
    height: 200px;
    animation: butterfly-float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--neon-red));
}

@keyframes butterfly-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-3deg); }
}

/* Wing pieces - Main surfaces */
.wing-piece {
    fill: var(--black-card);
    stroke: var(--neon-red);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.wing-left-upper,
.wing-right-upper {
    fill: var(--black-surface);
    animation: wing-breathe 2s ease-in-out infinite;
}

.wing-left-lower,
.wing-right-lower {
    fill: var(--black-card);
    animation: wing-breathe 2s ease-in-out infinite 0.5s;
}

/* Fold highlights - lighter shade to show paper folds */
.wing-left-upper-fold,
.wing-right-upper-fold {
    fill: var(--gray-dark);
    stroke: none;
    opacity: 0.7;
}

.wing-left-lower-fold,
.wing-right-lower-fold {
    fill: var(--black-elevated);
    stroke: none;
    opacity: 0.5;
}

@keyframes wing-breathe {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.95); }
}

/* Fold lines - visible crease marks */
.fold-line {
    stroke: var(--neon-red);
    stroke-width: 0.5;
    stroke-dasharray: 4 2;
    opacity: 0.6;
    filter: drop-shadow(0 0 2px var(--neon-red));
}

/* Body */
.butterfly-body {
    fill: var(--neon-red-dark);
    stroke: var(--neon-red);
    stroke-width: 1;
    filter: drop-shadow(0 0 5px var(--neon-red));
}

.butterfly-head {
    fill: var(--neon-red);
    filter: drop-shadow(0 0 8px var(--neon-red));
}

/* Antennae */
.antenna {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px var(--neon-red));
    animation: antenna-sway 3s ease-in-out infinite;
}

.antenna:nth-of-type(2) {
    animation-delay: 0.5s;
}

.antenna-tip {
    fill: var(--neon-red-bright);
    filter: drop-shadow(0 0 5px var(--neon-red));
    animation: tip-glow 2s ease-in-out infinite;
}

@keyframes antenna-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes tip-glow {
    0%, 100% { opacity: 1; r: 3; }
    50% { opacity: 0.7; r: 4; }
}

.butterfly-glow {
    position: absolute;
    width: 280px;
    height: 220px;
    background: radial-gradient(ellipse, rgba(255, 10, 60, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Hover effect on butterfly */
.origami-butterfly:hover .butterfly-svg {
    filter: drop-shadow(0 0 20px var(--neon-red));
}

.origami-butterfly:hover .wing-piece {
    stroke-width: 2;
}

/* ========================================
   SECTION 3: PROJECTS
   ======================================== */

.projects {
    background: 
        radial-gradient(ellipse at bottom left, rgba(255, 10, 60, 0.1) 0%, transparent 50%),
        var(--black-deep);
}

.project-showcase {
    display: flex;
    justify-content: center;
}

.project-card {
    position: relative;
    background: var(--black-card);
    border: 2px solid var(--neon-red);
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 10, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.project-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 10, 60, 0.15) 0%, transparent 50%);
    animation: rotate-glow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.project-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.project-logo .eco {
    color: var(--neon-red);
    text-shadow: var(--glow-text);
}

.project-logo .gestion {
    color: var(--white-text);
}

.project-link {
    width: 45px;
    height: 45px;
    background: var(--neon-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-text);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--glow-soft);
}

.project-link:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-intense);
}

.project-content {
    position: relative;
    z-index: 1;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white-text);
}

.project-description {
    color: var(--white-dim);
    margin-bottom: 25px;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag {
    background: var(--black-elevated);
    border: 1px solid var(--gray-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-red);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--neon-red);
    box-shadow: var(--glow-soft);
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--white-dim);
}

.feature i {
    color: var(--neon-red);
    font-size: 1rem;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-dark);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-red);
    position: relative;
    z-index: 1;
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 10, 60, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(255, 10, 60, 0); }
}

/* ========================================
   SECTION 4: FUTURE
   ======================================== */

.future {
    background: 
        radial-gradient(ellipse at center, rgba(255, 10, 60, 0.05) 0%, transparent 70%),
        var(--black-void);
}

.future-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* ========================================
   TRON STYLE CIRCUITS
   ======================================== */

.tron-frame {
    position: relative;
    padding: 60px 80px;
}

.tron-border {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 300px;
}

.tron-circuit {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 2;
    stroke-linecap: square;
    filter: drop-shadow(0 0 4px var(--neon-red));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: circuit-flow 3s ease forwards, circuit-glow 2s ease-in-out infinite 3s;
}

@keyframes circuit-flow {
    to { stroke-dashoffset: 0; }
}

@keyframes circuit-glow {
    0%, 100% { filter: drop-shadow(0 0 4px var(--neon-red)); }
    50% { filter: drop-shadow(0 0 10px var(--neon-red)); }
}

.tron-node {
    fill: var(--neon-red);
    filter: drop-shadow(0 0 6px var(--neon-red));
    animation: node-pulse 2s ease-in-out infinite;
}

.tron-node:nth-child(odd) {
    animation-delay: 0.5s;
}

@keyframes node-pulse {
    0%, 100% { r: 4; opacity: 1; }
    50% { r: 6; opacity: 0.8; }
}

.tron-particle {
    fill: var(--neon-red-bright);
    filter: drop-shadow(0 0 8px var(--neon-red));
}

/* Tron Content */
.tron-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.tron-title {
    margin-bottom: 20px;
}

.tron-eco {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--neon-red);
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px var(--neon-red);
}

.tron-gestion {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--white-text);
    letter-spacing: 0.05em;
}

/* Evolved with circuit lines */
.tron-evolved {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.evolved-circuit {
    width: 300px;
    height: 40px;
}

.circuit-line {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 2;
    stroke-linecap: square;
    filter: drop-shadow(0 0 3px var(--neon-red));
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: circuit-flow 1.5s ease forwards 1s;
}

.evolved-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    fill: var(--neon-red);
    letter-spacing: 0.5em;
    filter: drop-shadow(0 0 5px var(--neon-red));
}

/* Hexagon Grid */
.hex-grid {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.hex-item {
    width: 30px;
    height: 35px;
    background: transparent;
    border: 2px solid var(--gray-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s ease;
    animation: hex-fade 3s ease-in-out infinite;
}

.hex-item:nth-child(1) { animation-delay: 0s; }
.hex-item:nth-child(2) { animation-delay: 0.2s; }
.hex-item:nth-child(3) { animation-delay: 0.4s; }
.hex-item:nth-child(4) { animation-delay: 0.6s; }
.hex-item:nth-child(5) { animation-delay: 0.8s; }
.hex-item:nth-child(6) { animation-delay: 1s; }
.hex-item:nth-child(7) { animation-delay: 1.2s; }

.hex-item.active {
    background: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red);
}

@keyframes hex-fade {
    0%, 100% { opacity: 0.3; border-color: var(--gray-dark); }
    50% { opacity: 1; border-color: var(--neon-red); }
}

/* Future Text */
.future-text {
    text-align: center;
}

.future-tagline {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

/* Tron Badge */
.tron-badge {
    position: relative;
    display: inline-block;
    padding: 15px 50px;
    background: var(--black-card);
    overflow: hidden;
}

.badge-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--neon-red);
    border-style: solid;
}

.badge-corner.tl {
    top: 0; left: 0;
    border-width: 2px 0 0 2px;
}

.badge-corner.tr {
    top: 0; right: 0;
    border-width: 2px 2px 0 0;
}

.badge-corner.bl {
    bottom: 0; left: 0;
    border-width: 0 0 2px 2px;
}

.badge-corner.br {
    bottom: 0; right: 0;
    border-width: 0 2px 2px 0;
}

.badge-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-red);
    letter-spacing: 0.4em;
    position: relative;
    z-index: 2;
}

.badge-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 10, 60, 0.2), transparent);
    animation: scanner 2.5s linear infinite;
}

@keyframes scanner {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ========================================
   SECTION 5: VERSE
   ======================================== */

.verse {
    background: 
        radial-gradient(ellipse at top, rgba(255, 10, 60, 0.1) 0%, transparent 60%),
        var(--black-deep);
}

.verse-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.cross-icon {
    font-size: 3rem;
    color: var(--neon-red);
    margin-bottom: 40px;
    text-shadow: var(--glow-intense);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--neon-red)); }
    50% { filter: drop-shadow(0 0 30px var(--neon-red)); }
}

.bible-verse {
    position: relative;
    padding: 40px;
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
}

.bible-verse::before,
.bible-verse::after {
    content: '"';
    position: absolute;
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--neon-red);
    opacity: 0.3;
}

.bible-verse::before {
    top: 10px;
    left: 20px;
}

.bible-verse::after {
    bottom: -30px;
    right: 20px;
}

.bible-verse p {
    font-family: var(--font-body);
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--white-text);
    margin-bottom: 20px;
}

.bible-verse cite {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--neon-red);
    font-style: normal;
}

.verse-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.light-ray {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to top, transparent, var(--neon-red), transparent);
    opacity: 0.3;
    animation: ray-float 4s ease-in-out infinite;
}

.light-ray:nth-child(1) { left: -100px; animation-delay: 0s; }
.light-ray:nth-child(2) { left: 0; animation-delay: 0.5s; }
.light-ray:nth-child(3) { left: 100px; animation-delay: 1s; }

@keyframes ray-float {
    0%, 100% { transform: translateY(-20px); opacity: 0.1; }
    50% { transform: translateY(20px); opacity: 0.4; }
}

/* ========================================
   SECTION 6: CONTACT
   ======================================== */

.contact {
    background: 
        linear-gradient(to top, var(--black-card) 0%, var(--black-void) 100%);
}

.contact-container {
    text-align: center;
}

.contact-intro {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--white-dim);
}

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

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 50px;
    color: var(--white-text);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn:hover {
    border-color: var(--neon-red);
    color: var(--neon-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 10, 60, 0.3);
}

.social-btn.github:hover { background: rgba(255, 255, 255, 0.05); }
.social-btn.twitter:hover { background: rgba(255, 255, 255, 0.05); }
.social-btn.email:hover { background: rgba(255, 10, 60, 0.1); }

/* Footer Bottom */
.footer-bottom {
    padding-top: 40px;
}

.footer-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
    margin: 0 auto 30px;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--white-dim);
    margin-bottom: 15px;
}

.year {
    color: var(--neon-red);
}

.divider {
    color: var(--gray-dark);
    margin: 0 10px;
}

.glory {
    font-style: italic;
}

.made-with {
    font-size: 0.8rem;
    color: var(--gray-light);
}

.heart {
    color: var(--neon-red);
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .origami-butterfly {
        min-height: 180px;
        margin-top: 30px;
    }
    
    .butterfly-svg {
        width: 180px;
        height: 144px;
    }
    
    .butterfly-glow {
        width: 200px;
        height: 160px;
    }
    
    .tron-frame {
        padding: 40px 20px;
    }
    
    .tron-border {
        display: none;
    }
    
    .hex-grid {
        gap: 5px;
    }
    
    .hex-item {
        width: 24px;
        height: 28px;
    }
    
    .section-content {
        max-width: 90%;
    }
}

/* Tablet Portrait / Large Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Disable custom cursor on touch devices */
    body {
        cursor: auto;
    }
    
    *, *::before, *::after {
        cursor: auto !important;
    }
    
    .nav-dots {
        right: 10px;
        gap: 12px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .section {
        padding: 30px 15px;
        min-height: 100vh;
        height: auto;
        max-height: none;
    }
    
    .section-title {
        margin-bottom: 30px;
        font-size: 1.3rem;
        letter-spacing: 0.1em;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 0 10px;
    }
    
    .glitch {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: 0.05em;
    }
    
    .subtitle {
        margin-top: 20px;
        letter-spacing: 0.2em;
    }
    
    .circuit-lines {
        margin-top: 30px;
        max-width: 280px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    /* About Section */
    .about-container {
        gap: 25px;
    }
    
    .terminal-window {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .terminal-header {
        padding: 10px 12px;
    }
    
    .terminal-btn {
        width: 10px;
        height: 10px;
    }
    
    .terminal-title {
        font-size: 0.65rem;
    }
    
    .terminal-body {
        padding: 15px;
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .terminal-output {
        padding-left: 15px;
        margin-bottom: 12px;
    }
    
    .origami-butterfly {
        min-height: 150px;
        margin-top: 20px;
    }
    
    .butterfly-svg {
        width: 150px;
        height: 120px;
    }
    
    .butterfly-glow {
        width: 170px;
        height: 140px;
    }
    
    /* Projects Section */
    .project-card {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .project-header {
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .project-logo {
        font-size: 1.5rem;
    }
    
    .project-link {
        width: 40px;
        height: 40px;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .project-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .project-tech {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .tech-tag {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .project-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature {
        font-size: 0.85rem;
    }
    
    .project-status {
        margin-top: 20px;
        padding-top: 20px;
        font-size: 0.75rem;
    }
    
    /* Future Section */
    .future-container {
        gap: 25px;
    }
    
    .tron-frame {
        padding: 30px 15px;
    }
    
    .tron-eco,
    .tron-gestion {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .evolved-circuit {
        width: 200px;
        height: 30px;
    }
    
    .evolved-text {
        font-size: 14px;
        letter-spacing: 0.3em;
    }
    
    .hex-grid {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hex-item {
        width: 22px;
        height: 26px;
    }
    
    .future-tagline {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .tron-badge {
        padding: 12px 35px;
    }
    
    .badge-text {
        font-size: 0.9rem;
        letter-spacing: 0.3em;
    }
    
    /* Verse Section */
    .verse-container {
        padding: 0 10px;
    }
    
    .cross-icon {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .bible-verse {
        padding: 25px 20px;
    }
    
    .bible-verse::before,
    .bible-verse::after {
        font-size: 4rem;
    }
    
    .bible-verse::before {
        top: 5px;
        left: 10px;
    }
    
    .bible-verse::after {
        bottom: -20px;
        right: 10px;
    }
    
    .bible-verse p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .bible-verse cite {
        font-size: 0.85rem;
    }
    
    .light-ray {
        height: 100px;
    }
    
    .light-ray:nth-child(1) { left: -60px; }
    .light-ray:nth-child(2) { left: 0; }
    .light-ray:nth-child(3) { left: 60px; }
    
    /* Contact Section */
    .contact-intro {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 30px;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    .made-with {
        font-size: 0.7rem;
    }
}

/* Mobile Landscape */
@media (max-width: 600px) {
    .section {
        padding: 25px 12px;
    }
    
    .glitch {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }
    
    .terminal-body {
        font-size: 0.7rem;
        padding: 12px;
    }
    
    .terminal-output {
        padding-left: 10px;
    }
    
    .butterfly-svg {
        width: 130px;
        height: 104px;
    }
    
    .project-card {
        padding: 20px 15px;
    }
    
    .tron-eco,
    .tron-gestion {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }
}

/* Mobile Standard */
@media (max-width: 480px) {
    .nav-dots {
        right: 8px;
        gap: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .section {
        padding: 20px 10px;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 25px;
        letter-spacing: 0.08em;
    }
    
    .bracket {
        font-size: 1.3rem;
    }
    
    /* Hero */
    .glitch {
        font-size: clamp(1.6rem, 12vw, 2.5rem);
        letter-spacing: 0.02em;
    }
    
    .subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-top: 15px;
    }
    
    .circuit-lines {
        margin-top: 20px;
        max-width: 200px;
    }
    
    .circuit-svg {
        height: 35px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator span {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }
    
    .scroll-arrow {
        width: 15px;
        height: 15px;
    }
    
    /* About */
    .terminal-header {
        padding: 8px 10px;
    }
    
    .terminal-btn {
        width: 8px;
        height: 8px;
    }
    
    .terminal-title {
        font-size: 0.55rem;
        margin-left: 6px;
    }
    
    .terminal-body {
        padding: 10px;
        font-size: 0.65rem;
        line-height: 1.5;
    }
    
    .terminal-output {
        padding-left: 8px;
        margin-bottom: 10px;
    }
    
    .origami-butterfly {
        min-height: 120px;
        margin-top: 15px;
    }
    
    .butterfly-svg {
        width: 110px;
        height: 88px;
    }
    
    .butterfly-glow {
        width: 130px;
        height: 100px;
    }
    
    /* Projects */
    .project-card {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .project-header {
        margin-bottom: 15px;
    }
    
    .project-logo {
        font-size: 1.3rem;
    }
    
    .project-link {
        width: 35px;
        height: 35px;
    }
    
    .project-link i {
        font-size: 0.9rem;
    }
    
    .project-content h3 {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .project-tech {
        gap: 6px;
        margin-bottom: 15px;
    }
    
    .tech-tag {
        padding: 3px 10px;
        font-size: 0.6rem;
    }
    
    .feature {
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .feature i {
        font-size: 0.85rem;
    }
    
    .project-status {
        margin-top: 15px;
        padding-top: 15px;
        font-size: 0.65rem;
    }
    
    .status-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Future */
    .future-container {
        gap: 20px;
    }
    
    .tron-frame {
        padding: 25px 10px;
    }
    
    .tron-title {
        margin-bottom: 15px;
    }
    
    .tron-eco,
    .tron-gestion {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }
    
    .tron-evolved {
        margin-top: 8px;
    }
    
    .evolved-circuit {
        width: 180px;
        height: 25px;
    }
    
    .evolved-text {
        font-size: 12px;
        letter-spacing: 0.2em;
    }
    
    .hex-grid {
        gap: 3px;
    }
    
    .hex-item {
        width: 18px;
        height: 21px;
    }
    
    .future-tagline {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }
    
    .tron-badge {
        padding: 10px 25px;
    }
    
    .badge-corner {
        width: 10px;
        height: 10px;
    }
    
    .badge-text {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }
    
    /* Verse */
    .cross-icon {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .bible-verse {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .bible-verse::before,
    .bible-verse::after {
        font-size: 3rem;
        opacity: 0.2;
    }
    
    .bible-verse::before {
        top: 0;
        left: 5px;
    }
    
    .bible-verse::after {
        bottom: -15px;
        right: 5px;
    }
    
    .bible-verse p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .bible-verse cite {
        font-size: 0.75rem;
    }
    
    .light-ray {
        height: 80px;
    }
    
    .light-ray:nth-child(1) { left: -40px; }
    .light-ray:nth-child(3) { left: 40px; }
    
    /* Contact */
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .social-links {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .social-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        max-width: 220px;
    }
    
    .social-btn i {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 25px;
    }
    
    .footer-line {
        width: 60px;
        margin-bottom: 20px;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .divider {
        margin: 0 6px;
    }
    
    .made-with {
        font-size: 0.65rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .section {
        padding: 15px 8px;
    }
    
    .glitch {
        font-size: clamp(1.4rem, 11vw, 2rem);
    }
    
    .subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .terminal-body {
        font-size: 0.6rem;
        padding: 8px;
    }
    
    .project-logo {
        font-size: 1.1rem;
    }
    
    .project-content h3 {
        font-size: 0.9rem;
    }
    
    .project-description {
        font-size: 0.75rem;
    }
    
    .tron-eco,
    .tron-gestion {
        font-size: clamp(1.3rem, 9vw, 2rem);
    }
    
    .evolved-circuit {
        width: 150px;
        height: 22px;
    }
    
    .evolved-text {
        font-size: 10px;
        letter-spacing: 0.15em;
    }
    
    .hex-item {
        width: 15px;
        height: 18px;
    }
    
    .bible-verse p {
        font-size: 0.85rem;
    }
    
    .social-btn {
        max-width: 200px;
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .nav-dots {
        right: 5px;
        gap: 8px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .section {
        padding: 12px 6px;
    }
    
    .glitch {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 0.55rem;
    }
    
    .section-title {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .terminal-body {
        font-size: 0.55rem;
    }
    
    .butterfly-svg {
        width: 90px;
        height: 72px;
    }
    
    .project-card {
        padding: 12px 10px;
    }
    
    .project-logo {
        font-size: 1rem;
    }
    
    .tech-tag {
        padding: 2px 8px;
        font-size: 0.55rem;
    }
    
    .tron-eco,
    .tron-gestion {
        font-size: 1.2rem;
    }
    
    .evolved-circuit {
        width: 120px;
        height: 20px;
    }
    
    .evolved-text {
        font-size: 8px;
    }
    
    .hex-item {
        width: 12px;
        height: 14px;
    }
    
    .bible-verse {
        padding: 15px 10px;
    }
    
    .bible-verse p {
        font-size: 0.8rem;
    }
    
    .bible-verse cite {
        font-size: 0.65rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    html {
        scroll-snap-type: none;
    }
    
    .section {
        min-height: auto;
        height: auto;
        max-height: none;
        padding: 30px 20px;
        scroll-snap-align: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .origami-butterfly {
        min-height: 100px;
    }
    
    .butterfly-svg {
        width: 100px;
        height: 80px;
    }
    
    .project-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .social-btn {
        width: auto;
        max-width: none;
    }
}

/* Fix for iOS Safari address bar height */
@supports (-webkit-touch-callout: none) {
    .section {
        min-height: -webkit-fill-available;
    }
}

/* ========================================
   ANIMATIONS ON SCROLL
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

