/* ===== CYBER-KITTY PORTFOLIO STYLES ===== */

:root {
    /* Color Palette */
    --sorbet-stem: #C2DC80;
    --petal-glaze: #EA9CAF;
    --dusty-orchid: #D56989;
    --powdered-lilac: #F3EEF1;
    --bg-dark: #121215;
    --glass-bg: rgba(234, 156, 175, 0.05);
    --glass-border: rgba(234, 156, 175, 0.2);
    
    /* Typography */
    --font-cyber: 'Share Tech Mono', monospace;
    --font-cute: 'Sniglet', cursive;
}

/* === Global Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* using custom kitty cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--powdered-lilac);
    font-family: var(--font-cyber);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === Custom Kitty Cursor === */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--petal-glaze);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23D56989" d="M256 0c-74.4 0-141.6 35.8-183.7 91.8L35.5 54.3C27.1 45.9 13.5 45.9 5.2 54.3s-8.4 21.9 0 30.3l37 36.9C18 163.7 0 207.9 0 256s18 92.3 42.1 134.5l-36.9 37c-8.4 8.4-8.4 21.9 0 30.3 4.2 4.2 9.7 6.3 15.2 6.3s11-2.1 15.2-6.3l36.8-36.8C114.4 476.2 181.6 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0zm0 469.3c-117.6 0-213.3-95.7-213.3-213.3S138.4 42.7 256 42.7 469.3 138.4 469.3 256 373.6 469.3 256 469.3z" /></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(234, 156, 175, 0.2);
    border-color: var(--sorbet-stem);
}

/* === Matrix Canvas === */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.15;
}

/* === Navigation === */
.cyber-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 18, 21, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--petal-glaze);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--petal-glaze);
    text-shadow: 0 0 5px var(--dusty-orchid);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--powdered-lilac);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a:hover {
    color: var(--sorbet-stem);
    text-shadow: 0 0 10px var(--sorbet-stem);
}

.nav-links li a i {
    color: var(--petal-glaze);
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--petal-glaze);
}

/* === Hero Section & Terminal === */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset nav */
}

/* Floating Kitty Elements */
.floating-icons i {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}
.floating-icons .fa-bow-ribbon { color: var(--petal-glaze); top: 20%; left: 15%; animation-delay: 0s; }
.floating-icons .fa-shield-halved { color: var(--sorbet-stem); top: 70%; left: 20%; animation-delay: 1s; }
.floating-icons .fa-star { color: var(--dusty-orchid); top: 30%; right: 15%; animation-delay: 2s; }
.floating-icons .fa-bug { color: var(--sorbet-stem); top: 75%; right: 25%; animation-delay: 3s; font-size: 1.5rem;}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.terminal-window {
    width: 90%;
    max-width: 800px;
    background: rgba(10, 10, 10, 0.85);
    border: 2px solid var(--petal-glaze);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(234, 156, 175, 0.4), inset 0 0 15px rgba(234, 156, 175, 0.1);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.terminal-header {
    background: #222;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--petal-glaze);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.terminal-buttons span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}
.close { background: #ff5f56; }
.minimize { background: #ffbd2e; }
.maximize { background: #27c93f; }

.terminal-title {
    color: var(--powdered-lilac);
    font-size: 0.9rem;
    opacity: 0.8;
}

.terminal-body {
    padding: 30px;
    color: var(--sorbet-stem);
    font-size: 1.2rem;
}

.kitty-ascii {
    color: var(--petal-glaze);
    white-space: pre;
    font-family: var(--font-cyber);
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--petal-glaze);
    line-height: 1.2;
}

.command {
    color: var(--powdered-lilac);
    margin: 15px 0 5px 0;
}

.typewriter-container {
    min-height: 30px;
}

.typewriter-text {
    color: var(--sorbet-stem);
    border-right: 2px solid var(--sorbet-stem);
    white-space: nowrap;
    overflow: hidden;
    animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--sorbet-stem); }
}

/* === Glitch Text Animation === */
.glitch-text {
    position: relative;
    font-family: var(--font-cute);
    font-size: 3rem;
    color: var(--powdered-lilac);
    text-shadow: 2px 2px 0px var(--petal-glaze), -2px -2px 0px var(--sorbet-stem);
    margin-bottom: 20px;
}

.cyber-glitch {
    position: relative;
    font-family: var(--font-cute);
    color: var(--powdered-lilac);
    text-shadow: 2px 2px 0px var(--petal-glaze), -2px -2px 0px var(--sorbet-stem);
}

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

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--dusty-orchid);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--sorbet-stem);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    20% { clip: rect(40px, 9999px, 10px, 0); }
    40% { clip: rect(90px, 9999px, 50px, 0); }
    60% { clip: rect(20px, 9999px, 90px, 0); }
    80% { clip: rect(60px, 9999px, 30px, 0); }
    100% { clip: rect(30px, 9999px, 70px, 0); }
}

/* === Buttons === */
.cyber-btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--sorbet-stem);
    color: var(--sorbet-stem);
    font-family: var(--font-cyber);
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(194, 220, 128, 0.3);
}

.pink-btn {
    border-color: var(--petal-glaze);
    color: var(--petal-glaze);
    box-shadow: 0 0 10px rgba(234, 156, 175, 0.3);
}

.cyber-btn:hover {
    background: var(--sorbet-stem);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--sorbet-stem);
}

.pink-btn:hover {
    background: var(--petal-glaze);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--petal-glaze);
}

/* === General Sections & SPA === */
.page {
    display: none;
}
.page.active {
    display: flex;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: var(--font-cute);
    font-size: 2.5rem;
    color: var(--powdered-lilac);
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--petal-glaze);
    text-align: center;
}

.pink-heart { color: var(--dusty-orchid); }
.green-bracket { color: var(--sorbet-stem); text-shadow: 0 0 5px var(--sorbet-stem);}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    max-width: 950px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(234, 156, 175, 0.15);
}

/* === About Section === */
.about-page-container {
    flex-direction: column;
    gap: 35px;
}

.about-top-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex-shrink: 0;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--petal-glaze);
    box-shadow: 0 0 20px rgba(234, 156, 175, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    image-rendering: pixelated;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--petal-glaze);
}

.about-bio p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.mission-box {
    padding: 20px 25px;
    background: rgba(234, 156, 175, 0.05);
    border-left: 4px solid var(--petal-glaze);
    border-radius: 8px;
}

.mission-box p {
    margin: 0;
    color: var(--powdered-lilac);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-box i {
    font-size: 2rem;
    color: var(--sorbet-stem);
}

/* === Interests in About Section === */
.interests-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed rgba(234, 156, 175, 0.3);
}

.interests-section h3 {
    color: var(--petal-glaze);
    font-family: var(--font-cute);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.interest-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cyber-badge {
    background: rgba(194, 220, 128, 0.05);
    color: var(--powdered-lilac);
    border: 1px solid var(--sorbet-stem);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cyber-badge i {
    color: var(--petal-glaze);
}

.cyber-badge:hover {
    background: rgba(194, 220, 128, 0.2);
    box-shadow: 0 0 10px rgba(194, 220, 128, 0.4);
    transform: translateY(-2px);
}

/* === Skills Section === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    color: var(--petal-glaze);
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--dusty-orchid);
    padding-bottom: 10px;
    font-family: var(--font-cute);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cyber-tag, .pink-tag {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    transition: all 0.2s ease;
}

.cyber-tag {
    border: 1px solid var(--sorbet-stem);
    color: var(--sorbet-stem);
}
.cyber-tag:hover {
    background: var(--sorbet-stem);
    color: var(--bg-dark);
}

.pink-tag {
    border: 1px solid var(--petal-glaze);
    color: var(--petal-glaze);
}
.pink-tag:hover {
    background: var(--petal-glaze);
    color: var(--bg-dark);
}

/* === Timeline Split Layout === */
.timeline-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.column-title {
    color: var(--petal-glaze);
    font-family: var(--font-cute);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding-left: 30px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--petal-glaze);
    top: 0;
    bottom: 0;
    left: 0;
}

.timeline-item {
    padding: 0 0 40px 0;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: -50px;
    background: var(--bg-dark);
    border: 2px solid;
    border-radius: 50%;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.timeline-icon.pink, .timeline-icon.pink-bg { border-color: var(--petal-glaze); color: var(--petal-glaze); }
.timeline-icon.green, .timeline-icon.green-bg { border-color: var(--sorbet-stem); color: var(--sorbet-stem); }

.timeline-content {
    padding: 20px;
    background: rgba(20,20,20,0.6);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.timeline-content h3 { color: var(--powdered-lilac); }
.date, .timeline-date { color: var(--dusty-orchid); font-size: 0.9rem; margin-bottom: 10px; }

.interests-list { list-style: none; }
.interests-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px;}
.interests-list i { color: var(--sorbet-stem); }

/* === Projects Section === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1e1e24;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--sorbet-stem);
    box-shadow: 0 0 15px rgba(194, 220, 128, 0.2);
}

.card-header {
    background: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sorbet-stem);
}

.dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.folder-name { margin-left: auto; color: var(--sorbet-stem); font-size: 0.85rem; }

.card-body { padding: 20px; flex: 1;
}

.card-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 20px 0;
}

.cyber-tag {
    background: rgba(234, 156, 175, 0.1);
    color: var(--petal-glaze);
    border: 1px solid var(--petal-glaze);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: var(--font-cyber);
}

.card-body h3 { color: var(--petal-glaze); margin-bottom: 5px; font-family: var(--font-cute); }
.project-date { color: var(--powdered-lilac); opacity: 0.6; font-size: 0.85rem; margin-bottom: 15px; }
.card-body ul { padding-left: 20px; list-style-type: square; }
.card-body ul li { margin-bottom: 10px; }
.card-body ul li::marker { color: var(--dusty-orchid); }

/* === Contact Form Section === */
.contact-container {
    padding: 40px 50px;
}

.contact-header h3 {
    color: var(--powdered-lilac);
    font-family: var(--font-cyber);
    text-transform: uppercase;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.cyber-dot {
    width: 8px;
    height: 8px;
    background: var(--sorbet-stem);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--sorbet-stem);
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    height: 100%;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--powdered-lilac);
    font-size: 0.95rem;
    font-family: var(--font-cyber);
}

.required {
    color: var(--petal-glaze);
}

.optional {
    color: rgba(243, 238, 241, 0.4);
}

.form-group input, 
.form-group textarea, 
.form-group select {
    margin-top: auto;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--powdered-lilac);
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-cyber);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--sorbet-stem);
    box-shadow: 0 0 10px rgba(194, 220, 128, 0.2);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(243, 238, 241, 0.3);
}

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

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(243, 238, 241, 0.4);
    pointer-events: none;
    font-size: 0.8rem;
}

.custom-select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

/* Radio Buttons */
.form-radio-group {
    margin-top: 10px;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.custom-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer; /* Custom kitty cursor will still apply because of the global rule */
    font-size: 0.95rem;
    color: var(--powdered-lilac);
}

.custom-radio input {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(243, 238, 241, 0.4);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

.custom-radio input:checked + .radio-mark {
    border-color: var(--sorbet-stem);
}

.custom-radio input:checked + .radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--sorbet-stem);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--sorbet-stem);
}

/* Submit Button */
.form-submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 2px solid var(--sorbet-stem);
    border-radius: 8px;
    color: var(--sorbet-stem);
    font-family: var(--font-cyber);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-btn:hover {
    background: rgba(194, 220, 128, 0.1);
    box-shadow: 0 0 15px rgba(194, 220, 128, 0.3);
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--powdered-lilac);
}

.contact-info-side h4 {
    color: var(--petal-glaze);
    font-family: var(--font-cute);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-side h4 i {
    color: var(--sorbet-stem);
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-card:not(.no-hover):hover {
    border-color: var(--petal-glaze);
    background: rgba(234, 156, 175, 0.08);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(234, 156, 175, 0.15);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card-icon.pink-glow {
    background: rgba(234, 156, 175, 0.15);
    color: var(--petal-glaze);
    border: 1px solid rgba(234, 156, 175, 0.3);
}

.contact-card-icon.green-glow {
    background: rgba(194, 220, 128, 0.1);
    color: var(--sorbet-stem);
    border: 1px solid rgba(194, 220, 128, 0.25);
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(243, 238, 241, 0.5);
}

.contact-card-value {
    font-size: 0.95rem;
    color: var(--powdered-lilac);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--powdered-lilac);
    opacity: 0.5;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* === Mobile Responsive Styling === */

/* --- Tablet breakpoint --- */
@media screen and (max-width: 900px) {
    .timeline-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Mobile breakpoint --- */
@media screen and (max-width: 768px) {
    /* Navigation */
    .cyber-nav {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 21, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid var(--petal-glaze);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links li a {
        padding: 15px 20px;
        justify-content: center;
        font-size: 1rem;
    }

    .hamburger {
        display: block;
    }

    /* Logo */
    .logo {
        font-size: 1.2rem;
    }

    /* Hero / Terminal */
    .hero {
        padding-top: 70px;
    }

    .terminal-window {
        width: 95%;
    }

    .terminal-body {
        padding: 20px 15px;
        font-size: 1rem;
    }

    .glitch-text {
        font-size: 1.5rem;
    }

    .kitty-ascii {
        font-size: 0.7rem;
    }

    .floating-icons i {
        font-size: 1.2rem;
        opacity: 0.15;
    }

    .cyber-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Main & Sections */
    main {
        padding-top: 65px;
        align-items: flex-start;
    }

    .section {
        max-width: 100%;
    }

    .glass-panel {
        padding: 25px 18px;
        width: 95%;
        border-radius: 10px;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    /* About Section */
    .about-top-row {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .about-bio p {
        font-size: 1rem;
        text-align: left;
    }

    .mission-box p {
        font-size: 0.95rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .interest-badges {
        justify-content: center;
    }

    .cyber-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .skill-category h3 {
        font-size: 1.1rem;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-body {
        padding: 15px;
    }

    .card-body h3 {
        font-size: 1.1rem;
    }

    .project-tags {
        margin: 10px 0 15px 0;
    }

    .card-body ul {
        font-size: 0.9rem;
    }

    .card-body .cyber-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    /* Timeline / Parcours */
    .timeline-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .column-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline-icon {
        width: 32px;
        height: 32px;
        left: -41px;
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-item {
        padding-bottom: 30px;
    }

    /* Contact Section */
    .contact-container {
        padding: 25px 18px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-header h3 {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .radio-options {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info-side h4 {
        font-size: 1.3rem;
        margin-top: 10px;
    }

    .contact-card {
        padding: 12px 14px;
    }

    .contact-card-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-card-value {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        font-size: 0.8rem;
        padding: 15px;
    }
}

/* --- Small phones --- */
@media screen and (max-width: 400px) {
    .glitch-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .glass-panel {
        padding: 20px 14px;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .terminal-body {
        padding: 15px 10px;
    }

    .kitty-ascii {
        font-size: 0.6rem;
    }
}
