
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #080b16;
    --panel: #11182b;
    --purple: #9870ff;
    --cyan: #4de4f2;
    --pink: #ff527c;
    --text: #f4f6ff;
    --muted: #98a3bb;
    --line: rgba(152, 112, 255, .2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
    background: radial-gradient(ellipse at 10% 10%, #5129a51c, transparent 35%), var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--purple); color: white; }

/* NAVBAR */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    background: rgba(8, 11, 22, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #ffffff0c;
}
.navbar {
    width: min(1160px, calc(100% - 48px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo > span:first-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--purple), #6544d9);
    border-radius: 9px;
    box-shadow: 0 0 25px #8b5cf644;
}
.purple { color: var(--purple); }
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-menu a { font-size: 12px; color: #a7b0c5; transition: .25s; }
.nav-menu a:hover { color: white; }
.nav-menu .contact-nav {
    color: white;
    border: 1px solid #9870ff66;
    border-radius: 8px;
    padding: 10px 15px;
}
.menu-btn { display: none; color: white; background: transparent; border: 0; font-size: 26px; cursor: pointer; }

/* HERO */
.hero {
    width: min(1160px, calc(100% - 48px));
    min-height: 650px;
    margin: auto;
    padding: 75px 0 95px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 24px;
    border: 1px solid #4de4f233;
    border-radius: 40px;
    background: #4de4f20a;
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
}
.online { width: 7px; height: 7px; background: #55efb2; border-radius: 50%; box-shadow: 0 0 10px #55efb2; }
.hello { color: #a8b1c7; font-size: 14px; }
h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.3;
    letter-spacing: -3px;
}
.gradient {
    color: #a68aff;
    background: linear-gradient(100deg, #b7a0ff, #8b65ff 55%, #4de4f2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text h2 { font-size: 23px; font-weight: 500; margin-top: 10px; }
#typing { color: var(--cyan); }
.cursor { color: var(--purple); animation: blink .8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.description { max-width: 490px; margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 2; }
.hero-buttons, .contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.btn {
    min-height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(115deg, #966bff, #6f52e8); color: white; box-shadow: 0 8px 28px #825cff2e; }
.btn-primary:hover { box-shadow: 0 10px 30px #825cff55; }
.btn-outline { color: #e8ebf7; background: #ffffff05; border-color: #ffffff25; }
.btn-outline:hover { border-color: var(--cyan); }
.hero-stats { display: flex; align-items: center; gap: 20px; margin-top: 35px; }
.stat { display: flex; align-items: center; gap: 10px; }
.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #b9a4ff; background: #8d6aff18; border-radius: 9px; font-size: 20px; }
.stat-icon.cyan { color: var(--cyan); background: #4de4f20c; }
.stat strong, .stat small { display: block; }
.stat strong { font-size: 10px; }
.stat small { color: var(--muted); font-size: 8px; }
.stat-divider { width: 1px; height: 30px; background: #ffffff20; }

/* GAMING PHOTO FRAME */
.hero-visual { position: relative; padding: 25px 15px; }
.profile-frame {
    position: relative;
    z-index: 2;
    max-width: 450px;
    margin: auto;
    padding: 10px;
    border: 1px solid #8e6cff66;
    border-radius: 14px;
    background: linear-gradient(145deg, #151a31, #0c1120);
    box-shadow: 0 24px 80px #0008, 0 0 55px #7955f51c;
    transform: rotate(1.5deg);
}
.frame-top, .frame-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px;
    color: #77839e;
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    letter-spacing: 1px;
}
.online-text { color: #55efb2; }
.profile-image { height: 335px; position: relative; overflow: hidden; border-radius: 7px; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; transition: .7s; }
.profile-frame:hover .profile-image img { transform: scale(1.06); }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #080b16ed, transparent 70%); }
.image-caption { position: absolute; bottom: 22px; left: 22px; }
.image-caption small { color: var(--cyan); font-family: 'Orbitron', sans-serif; font-size: 8px; letter-spacing: 2px; }
.image-caption h3 { margin-top: 7px; font-family: 'Orbitron', sans-serif; font-size: clamp(15px, 2vw, 22px); }
.frame-bottom b { color: var(--purple); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px dashed #8b6aff35; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 470px; height: 470px; transform: translate(-50%, -50%) rotate(-20deg); }
.orbit-two { width: 510px; height: 370px; transform: translate(-50%, -50%) rotate(35deg); border-color: #4de4f21c; }
.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #11182bf2;
    border: 1px solid #ffffff24;
    border-radius: 9px;
    box-shadow: 0 15px 35px #0005;
    backdrop-filter: blur(10px);
}
.floating-code { top: 80px; left: -15px; }
.floating-game { right: -15px; bottom: 65px; }
.float-icon { color: var(--cyan); font-family: 'Orbitron', sans-serif; font-size: 20px; }
.floating-game .float-icon { color: #b49bff; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-family: 'Orbitron', sans-serif; font-size: 8px; }
.floating-card small { color: var(--muted); font-size: 8px; }

/* SECTION */
.section { padding: 95px 0; }
.section-heading { max-width: 650px; text-align: center; margin: 0 auto 43px; }
.section-label { color: var(--cyan); font-family: 'Orbitron', sans-serif; font-size: 9px; letter-spacing: 2px; margin-bottom: 12px; }
.section-heading h2, .skills-heading h2, .contact-box h2 { font-family: 'Orbitron', sans-serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.4; letter-spacing: -1px; }
.section-heading > p:last-child { color: var(--muted); font-size: 11px; margin-top: 12px; }
#about { background: linear-gradient(180deg, transparent, #10162980, transparent); }
.about-grid { width: min(1100px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.about-card, .info-card, .skills-card {
    background: linear-gradient(140deg, #141b31e8, #0c1120);
    border: 1px solid var(--line);
    border-radius: 13px;
}
.about-card { padding: 30px; }
.big-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 17px; color: #bba8ff; background: #8b5cf61a; border: 1px solid #8b5cf638; border-radius: 10px; font-size: 24px; }
.about-card h3 { font-size: 18px; margin-bottom: 12px; }
.about-card p { color: var(--muted); font-size: 11px; line-height: 2; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags span { padding: 6px 9px; border: 1px solid #9270ff30; border-radius: 5px; color: #c9baff; background: #9270ff12; font-size: 8px; }
.about-info { display: grid; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 13px; padding: 17px; transition: .3s; }
.info-card:hover { transform: translateX(4px); border-color: #8b5cf65c; }
.info-icon { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; color: #b9a3ff; background: #8b5cf61c; border-radius: 9px; font-size: 19px; }
.info-icon.cyan { color: var(--cyan); background: #4de4f213; }
.info-icon.pink { color: #ff83a0; background: #ff527c14; }
.info-card div { flex: 1; min-width: 0; }
.info-card small, .info-card strong, .info-card p { display: block; }
.info-card small { color: var(--cyan); font-family: 'Orbitron', sans-serif; font-size: 7px; letter-spacing: 1px; }
.info-card strong { font-size: 10px; }
.info-card p { color: var(--muted); font-size: 9px; }
.arrow { color: #74809b; }

/* HOBBY CARDS */
.hobbies-section { background: radial-gradient(ellipse at center, #6c4bd20b, transparent 65%); }
.hobby-grid { width: min(1100px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hobby-card { overflow: hidden; background: linear-gradient(180deg, #11182b, #0c1120); border: 1px solid #9b85ff2e; border-radius: 13px; transition: transform .35s, border-color .35s, box-shadow .35s; }
.hobby-card:hover { transform: translateY(-8px); border-color: #9c7bff88; box-shadow: 0 20px 45px #0005, 0 0 35px #8b5cf610; }
.hobby-image { height: 205px; position: relative; overflow: hidden; background: #141b2e; }
.hobby-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .7s, filter .7s; }
.hobby-card:hover .hobby-image img { transform: scale(1.08); filter: saturate(1.1); }
.hobby-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0d1222e0, transparent 75%); }
.image-number, .image-label { position: absolute; z-index: 1; font-family: 'Orbitron', sans-serif; font-size: 7px; letter-spacing: 1px; }
.image-number { top: 14px; left: 14px; padding: 6px 8px; color: white; background: #080b1680; border: 1px solid #ffffff30; border-radius: 4px; }
.image-label { bottom: 14px; right: 14px; color: var(--cyan); }
.hobby-content { padding: 20px; }
.hobby-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.hobby-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #bda9ff; background: #9870ff19; border: 1px solid #9870ff36; border-radius: 8px; font-size: 12px; font-weight: 700; }
.hobby-icon.red { color: #ff829e; background: #ff527c16; border-color: #ff527c36; }
.hobby-icon.cyan { color: var(--cyan); background: #4de4f213; border-color: #4de4f235; }
.hobby-meta small { color: #77839e; font-family: 'Orbitron', sans-serif; font-size: 7px; letter-spacing: .7px; }
.hobby-content h3 { font-size: 16px; margin-bottom: 8px; }
.hobby-content p { min-height: 67px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.hobby-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 13px; margin-top: 16px; border-top: 1px solid #ffffff0d; color: #8f9bb4; font-size: 8px; }
.hobby-footer b { color: var(--cyan); font-size: 15px; }

/* SKILLS */
.skills-layout { width: min(1100px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: center; }
.skills-heading > p:not(.section-label) { color: var(--muted); font-size: 11px; line-height: 2; margin-top: 16px; }
.learning-note { margin-top: 23px; color: #c1b1ff; font-size: 10px; }
.learning-note:first-letter { color: var(--cyan); }
.skills-card { padding: 27px; }
.skill + .skill { margin-top: 24px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 11px; font-weight: 600; }
.skill-info small { color: #8995ad; font-family: 'Orbitron', sans-serif; font-size: 7px; letter-spacing: .5px; }
.skill-track { height: 5px; overflow: hidden; border-radius: 20px; background: #252d43; }
.skill-track span { display: block; width: var(--width); height: 100%; border-radius: 20px; background: linear-gradient(90deg, #8960f5, #4de4f2); animation: grow 1.2s ease; transform-origin: left; }
@keyframes grow { from { transform: scaleX(.1); } to { transform: scaleX(1); } }

/* CONTACT + FOOTER */
.contact-section { padding-top: 60px; }
.contact-box { width: min(1000px, calc(100% - 48px)); margin: auto; padding: 55px 22px; text-align: center; border: 1px solid #9270ff35; border-radius: 17px; background: radial-gradient(ellipse at 50% 0%, #7955f523, transparent 65%), linear-gradient(145deg, #11182b, #0c1120); }
.contact-box h2 { margin-top: 12px; }
.contact-box > p:not(.section-label):not(.message) { max-width: 510px; margin: 15px auto 0; color: var(--muted); font-size: 11px; }
.contact-buttons { justify-content: center; }
.message { min-height: 20px; margin-top: 12px; color: var(--cyan); font-size: 10px; }
footer { min-height: 80px; width: min(1160px, calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #ffffff0c; }
footer p { color: #78839b; font-size: 9px; }
.heart { color: var(--pink); }

/* RESPONSIVE */
@media (max-width: 950px) {
    .hero { gap: 30px; }
    .profile-image { height: 290px; }
    .orbit-one { width: 390px; height: 390px; }
    .orbit-two { width: 430px; height: 320px; }
    .floating-code { left: -8px; }
    .floating-game { right: -8px; }
    .hobby-image { height: 175px; }
    .hobby-content { padding: 15px; }
    .skills-layout { gap: 35px; }
}
@media (max-width: 760px) {
    .navbar { width: calc(100% - 36px); }
    .menu-btn { display: block; }
    .nav-menu { position: absolute; top: 75px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 20px; background: #080b16f9; border-bottom: 1px solid var(--line); }
    .nav-menu.open { display: flex; }
    .nav-menu a { display: block; padding: 12px 5px; }
    .nav-menu .contact-nav { text-align: center; margin-top: 7px; }
    .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 45px; }
    .hero-visual { grid-row: 1; width: min(100%, 500px); margin: auto; }
    .hero-text { grid-row: 2; }
    .profile-image { height: 300px; }
    .hero-text h1 { font-size: clamp(45px, 12vw, 65px); }
    .about-grid, .skills-layout { grid-template-columns: 1fr; gap: 20px; }
    .hobby-grid { grid-template-columns: 1fr; max-width: 520px; }
    .hobby-image { height: 240px; }
    .hobby-content { padding: 20px; }
    .hobby-content p { min-height: 0; }
    .section { padding: 75px 0; }
    .contact-box { padding: 45px 18px; }
    footer { padding: 22px 0; flex-wrap: wrap; justify-content: center; text-align: center; }
    footer p { flex-basis: 100%; order: 3; }
}
@media (max-width: 420px) {
    .hero, .about-grid, .hobby-grid, .skills-layout { width: calc(100% - 30px); }
    .hero-stats { gap: 12px; }
    .stat { gap: 7px; }
    .stat strong { font-size: 9px; }
    .stat small { font-size: 7px; }
    .hero-buttons .btn { padding: 0 12px; font-size: 10px; }
    .hero-visual { padding: 18px 8px; }
    .profile-image { height: 245px; }
    .orbit-one { width: 300px; height: 300px; }
    .orbit-two { width: 330px; height: 260px; }
    .floating-card { padding: 9px; }
    .floating-code { top: 60px; left: -7px; }
    .floating-game { right: -7px; bottom: 50px; }
    .floating-card strong, .floating-card small { font-size: 7px; }
    .contact-buttons .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
