:root {
    --cyan: #00f5ff;
    --violet: #7c3aed;
    --neon-green: #39ff14;
    --bg: #020408;
    --surface: #080d14;
    --border: rgba(0, 245, 255, 0.12);
}

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

html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: #e2eaf4;
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
}

/* ── SCAN LINE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 245, 255, 0.015) 2px,
        rgba(0, 245, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ── GRID BACKGROUND ── */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,245,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,245,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* ── GLOW ORBS ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.orb-1 { width: 500px; height: 500px; background: rgba(124,58,237,0.18); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(0,245,255,0.1); bottom: -100px; right: -50px; }
.orb-3 { width: 300px; height: 300px; background: rgba(57,255,20,0.06); top: 40%; left: 40%; }

/* ── LAYOUT ── */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 0 0 80px;
}

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
}
.logo-text span { color: rgba(0,245,255,0.4); }

nav a {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(226,234,244,0.5);
    text-decoration: none;
    letter-spacing: 0.08em;
    margin-left: 36px;
    transition: color 0.2s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.2s;
}
nav a:hover { color: var(--cyan); }
nav a:hover::after { transform: scaleX(1); }

/* ── HERO ── */
.hero {
    padding: 100px 48px 60px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text { flex: 1; }

.hero-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 28px;
    background: rgba(0,245,255,0.04);
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--neon-green); }
    50% { opacity: 0.4; box-shadow: none; }
}

.hero-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 8px;
    overflow: visible;
}

.hero-name .glitch {
    position: relative;
    color: var(--cyan);
    display: inline-block;
    padding: 0 4px;
}
@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(2.2rem, 9vw, 3rem);
        line-height: 1.15;
    }
}
.hero-name .glitch::before,
.hero-name .glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--cyan);
}
.hero-name .glitch::before {
    animation: glitch-1 4s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-2px, 0);
    color: #ff00ea;
    opacity: 0.7;
}
.hero-name .glitch::after {
    animation: glitch-2 4s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(2px, 0);
    color: var(--cyan);
    opacity: 0.7;
}

@keyframes glitch-1 {
    0%, 90%, 100% { transform: translate(-2px, 0); opacity: 0; }
    91% { transform: translate(-4px, 1px); opacity: 0.7; }
    93% { transform: translate(2px, -1px); opacity: 0.7; }
    95% { transform: translate(-2px, 0); opacity: 0; }
}
@keyframes glitch-2 {
    0%, 90%, 100% { transform: translate(2px, 0); opacity: 0; }
    92% { transform: translate(4px, -1px); opacity: 0.7; }
    94% { transform: translate(-2px, 1px); opacity: 0.7; }
    96% { transform: translate(2px, 0); opacity: 0; }
}

.hero-role {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: rgba(226,234,244,0.45);
    margin: 16px 0 32px;
    letter-spacing: 0.04em;
}
.hero-role span { color: var(--violet); }

.hero-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(226,234,244,0.65);
    max-width: 500px;
}

/* ── AVATAR BLOCK ── */
.avatar-block {
    flex-shrink: 0;
    position: relative;
    width: 240px;
}

.avatar-frame {
    position: relative;
    width: 200px;
    height: 260px;
    margin: 0 auto;
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    clip-path: polygon(12% 0%, 88% 0%, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0% 88%, 0% 12%);
    filter: grayscale(20%) contrast(1.05);
}

.avatar-border {
    position: absolute;
    inset: -3px;
    clip-path: polygon(12% 0%, 88% 0%, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0% 88%, 0% 12%);
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    z-index: 1;
    animation: border-spin 4s linear infinite;
}

@keyframes border-spin {
    0% { background: linear-gradient(0deg, var(--cyan), var(--violet)); }
    100% { background: linear-gradient(360deg, var(--cyan), var(--violet)); }
}

.avatar-corner {
    position: absolute;
    width: 16px; height: 16px;
    border-color: var(--cyan);
    border-style: solid;
    z-index: 3;
}
.avatar-corner.tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.avatar-corner.tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.avatar-corner.bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
.avatar-corner.br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

.avatar-scan {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 4;
    clip-path: polygon(12% 0%, 88% 0%, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0% 88%, 0% 12%);
}
.avatar-scan::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: scan-line 3s ease-in-out infinite;
    box-shadow: 0 0 12px var(--cyan);
}
@keyframes scan-line {
    0% { top: -2px; opacity: 1; }
    100% { top: 100%; opacity: 0.3; }
}

/* ── BENTO GRID ── */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── CARD BASE ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(0,245,255,0.25); transform: translateY(-1px); }

.card-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0,245,255,0.4);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-label::before {
    content: '//';
    color: var(--violet);
}

/* ── VISION CARD ── */
.card-vision {
    grid-column: span 4;
    grid-row: span 6;
}
.card-vision p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(226,234,244,0.6);
    margin: 0;
}
.card-vision h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

/* ── TECH STACK CARD ── */
.card-tech {
    grid-column: span 6;
    grid-row: span 3;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.tech-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}
.tech-tag.js      { background: rgba(247,223,30,0.1);  border: 1px solid rgba(247,223,30,0.2);  color: #f7df1e; }
.tech-tag.react   { background: rgba(97,218,251,0.1);  border: 1px solid rgba(97,218,251,0.2);  color: #61dafb; }
.tech-tag.node    { background: rgba(83,158,74,0.1);   border: 1px solid rgba(83,158,74,0.2);   color: #539e4a; }
.tech-tag.html    { background: rgba(228,77,38,0.1);   border: 1px solid rgba(228,77,38,0.2);   color: #e44d26; }
.tech-tag.css     { background: rgba(21,114,182,0.1);  border: 1px solid rgba(21,114,182,0.2);  color: #1572b6; }
.tech-tag.php     { background: rgba(119,123,180,0.1); border: 1px solid rgba(119,123,180,0.2); color: #777bb4; }
.tech-tag.laravel { background: rgba(255,45,32,0.1);   border: 1px solid rgba(255,45,32,0.2);   color: #ff2d20; }
.tech-tag.symfony { background: rgba(26,26,26,0.3);    border: 1px solid rgba(200,200,200,0.2); color: #c0c0c0; }
.tech-tag.api     { background: rgba(119,123,180,0.1); border: 1px solid rgba(119,123,180,0.2); color: #777bb4; }
/* ── HOBBIES CARD ── */
.card-hobbies {
    grid-column: span 6;
    grid-row: span 3;
}
.hobby-item {
    font-size: 0.8rem;
    color: rgba(226,234,244,0.65);
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,245,255,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hobby-item:last-child { border-bottom: none; }
.hobby-item .emoji { font-size: 0.9rem; }

/* ── TIC TAC TOE CARD ── */
.card-ttt {
    grid-column: span 4;
    grid-row: span 6;
    display: flex;
    flex-direction: column;
}
.ttt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.ttt-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}
.ttt-turn {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--cyan);
}
.ttt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
    flex: 1;
    min-height: 0;
}
.ttt-cell {
    width: 100%;
    height: 100%;
    background: rgba(0,245,255,0.04);
    border: 1px solid rgba(0,245,255,0.15);
    border-radius: 3px;
    color: var(--cyan);
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ttt-cell[data-val="O"] { color: var(--violet); }
.ttt-cell:hover:not(:disabled):not([data-val]) {
    background: rgba(0,245,255,0.1);
    border-color: rgba(0,245,255,0.35);
}
.ttt-cell:disabled { cursor: default; }
.ttt-result {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--neon-green);
    min-height: 1.2rem;
    text-align: center;
}
.ttt-reset {
    width: 100%;
    margin-top: 8px;
    padding: 7px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    background: transparent;
    border: 1px solid rgba(0,245,255,0.2);
    color: var(--cyan);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.ttt-reset:hover {
    background: rgba(0,245,255,0.08);
    border-color: rgba(0,245,255,0.4);
}

/* ── POKEMON CARD ── */
.card-pokemon {
    grid-column: span 4;
    grid-row: span 5;
    display: flex;
    flex-direction: column;
}
.pokemon-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pokemon-img-wrap {
    position: relative;
}
.pokemon-img-wrap img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,245,255,0.3));
    animation: pokemon-float 3s ease-in-out infinite;
}
@keyframes pokemon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.pokemon-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(0,245,255,0.12);
    animation: ring-rotate 8s linear infinite;
}
.pokemon-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    width: 4px; height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translateX(-50%);
}
@keyframes ring-rotate { to { transform: rotate(360deg); } }
.pokemon-info {
    text-align: center;
    margin-top: 10px;
}
.pokemon-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: 0.05em;
    opacity: 0;
}
.pokemon-id-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(0,245,255,0.5);
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid rgba(0,245,255,0.15);
    border-radius: 2px;
}
.pokemon-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}
.pokemon-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(0,245,255,0.2);
    transition: background 0.3s;
}
.pokemon-dot.active { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* ── STATUS CARD ── */
.card-status {
    grid-column: 1 / -1;
    grid-row: span 2;
}
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.status-item { text-align: center; }
.status-value {
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
}
.status-key {
    font-size: 0.6rem;
    color: rgba(226,234,244,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}
.status-bar-wrap {
    background: rgba(0,245,255,0.06);
    border-radius: 2px;
    height: 3px;
    overflow: hidden;
}
.status-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    border-radius: 2px;
    animation: bar-load 2s ease forwards;
}
@keyframes bar-load { from { width: 0; } }

/* ── SOCIAL LINKS ── */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: rgba(226,234,244,0.5);
    background: rgba(0,245,255,0.03);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.25s, border-color 0.25s, transform 0.2s;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,245,255,0.12), rgba(124,58,237,0.12));
    opacity: 0;
    transition: opacity 0.25s;
}

.social-btn:hover {
    color: var(--cyan);
    border-color: rgba(0,245,255,0.4);
    transform: translateY(-3px);
}

.social-btn:hover::before { opacity: 1; }

.social-btn svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 0 var(--cyan));
    transition: filter 0.25s;
}

.social-btn:hover svg {
    filter: drop-shadow(0 0 6px var(--cyan));
}

/* ── SECTION FULL ── */
.section-full {
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 48px;
}

.section-inner {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 52px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.section-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(0,245,255,0.45);
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.section-tag-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,245,255,0.15), transparent);
}

.section-tag-line:last-child {
    background: linear-gradient(270deg, rgba(0,245,255,0.15), transparent);
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin: 0 0 40px;
    letter-spacing: -0.02em;
}

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(226,234,244,0.65);
    margin: 0 0 18px;
}

.about-text strong { color: #fff; }

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(0,245,255,0.12);
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,245,255,0.2);
    border: 1px solid rgba(0,245,255,0.3);
    flex-shrink: 0;
    margin-top: 4px;
    margin-left: -21px;
    transition: background 0.3s;
}

.timeline-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.timeline-year {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
}

.timeline-label {
    font-size: 0.85rem;
    color: rgba(226,234,244,0.6);
    margin: 0;
    line-height: 1.5;
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(226,234,244,0.6);
    margin: 0 0 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.contact-icon {
    color: var(--cyan);
    display: flex;
}

.contact-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(226,234,244,0.5);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.contact-link:hover { color: var(--cyan); }

.contact-socials {
    display: flex;
    gap: 12px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0,245,255,0.5);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-input {
    background: rgba(0,245,255,0.03);
    border: 1px solid rgba(0,245,255,0.12);
    border-radius: 3px;
    padding: 10px 14px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: #e2eaf4;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder { color: rgba(226,234,244,0.2); }

.form-input:focus {
    border-color: rgba(0,245,255,0.35);
    box-shadow: 0 0 0 3px rgba(0,245,255,0.06);
}

.form-input.error {
    border-color: rgba(255,60,60,0.5);
    box-shadow: 0 0 0 3px rgba(255,60,60,0.06);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--cyan);
    background: transparent;
    border: 1px solid rgba(0,245,255,0.25);
    border-radius: 3px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    align-self: flex-start;
    min-width: 160px;
}

.form-submit:hover {
    background: rgba(0,245,255,0.08);
    border-color: rgba(0,245,255,0.45);
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-feedback {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    min-height: 1rem;
    letter-spacing: 0.05em;
}

.form-feedback.success { color: var(--neon-green); }
.form-feedback.error   { color: #ff5555; }

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 40px 48px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(226,234,244,0.25);
    letter-spacing: 0.1em;
    border-top: 1px solid var(--border);
    max-width: 1400px;
    margin: 60px auto 0;
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.card { animation: fadeUp 0.5s ease both; }
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    header { padding: 14px 24px; }
    .hero { flex-direction: column-reverse; padding: 60px 24px 40px; gap: 32px; }
    .avatar-block { margin: 0 auto; }
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; padding: 0 24px; gap: 10px; }
    .card-vision, .card-tech, .card-hobbies, .card-ttt, .card-pokemon, .card-status {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    /* TTT : hauteur auto en responsive, les cellules carrées via aspect-ratio */
    .card-ttt {
        height: auto;
    }
    .ttt-grid {
        flex: none;
        grid-template-rows: repeat(3, 1fr);
        height: auto;
    }
    .ttt-cell {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        min-height: 60px;
    }
    .section-full { padding: 0 24px; }
    .section-inner { padding: 32px 24px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}