
/* =========================
   TEUKU PERSONAL PORTFOLIO
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #070711;
    --bg-card: #101020;
    --text: #f4f4ff;
    --muted: #a5a5c0;
    --purple: #a855f7;
    --blue: #38bdf8;
    --border: rgba(168, 85, 247, 0.22);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

span {
    color: var(--purple);
}

/* NAVBAR */

.navbar {
    width: 100%;
    min-height: 76px;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(7, 7, 17, 0.88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    position: absolute;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo span {
    color: var(--blue);
}

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    font-size: 12px;
    color: var(--muted);
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--blue);
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 130px 10% 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    background:
        radial-gradient(ellipse at 80% 45%,
        rgba(88, 28, 135, 0.20), transparent 48%),
        radial-gradient(ellipse at 10% 90%,
        rgba(14, 116, 144, 0.10), transparent 45%),
        var(--bg);
}

.hero-content {
    max-width: 610px;
    animation: slideIn 1s ease both;
}

.eyebrow {
    font-family: 'Orbitron', sans-serif;
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 5.5vw, 66px);
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--purple);
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.45);
}

.hero h2 {
    color: var(--blue);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 500;
    margin-top: 18px;
}

.hero-description {
    max-width: 520px;
    color: var(--muted);
    line-height: 2;
    font-size: 14px;
    margin: 24px 0 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.primary {
    background: linear-gradient(120deg, var(--purple), #6366f1);
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.25);
}

.secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

/* PLANET ANIMATION */

.universe {
    width: 340px;
    height: 340px;
    flex-shrink: 0;
    position: relative;
    display: grid;
    place-items: center;
    animation: float 5s ease-in-out infinite;
}

.planet {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%,
        #d8b4fe, #8b5cf6 35%, #312e81 75%, #111127);
    box-shadow:
        0 0 35px rgba(168, 85, 247, 0.45),
        inset -15px -12px 25px rgba(0, 0, 0, 0.6);
    animation: planetGlow 4s ease-in-out infinite alternate;
    z-index: 2;
}

.orbit {
    position: absolute;
    width: 280px;
    height: 110px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-radius: 50%;
}

.orbit-one {
    transform: rotate(-35deg);
}

.orbit-two {
    width: 300px;
    height: 170px;
    transform: rotate(55deg);
    border-color: rgba(168, 85, 247, 0.45);
}

.planet-small {
    position: absolute;
    width: 23px;
    height: 23px;
    background: radial-gradient(circle at 30% 30%,
        #bae6fd, #0284c7 70%);
    border-radius: 50%;
    top: 67px;
    right: 54px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
}

.star {
    position: absolute;
    color: var(--blue);
    animation: twinkle 2s ease-in-out infinite alternate;
}

.star-one {
    top: 25px;
    left: 55px;
    font-size: 25px;
}

.star-two {
    bottom: 50px;
    right: 20px;
    font-size: 30px;
    animation-delay: 0.8s;
}

.star-three {
    bottom: 40px;
    left: 30px;
    font-size: 16px;
    animation-delay: 1.3s;
}

.orbit-label {
    position: absolute;
    bottom: -22px;
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 10%;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    animation: blink 2s infinite;
}

/* GENERAL SECTION */

.section {
    padding: 110px 10%;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
}

.section-heading h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

/* ABOUT */

.about {
    background: #0b0b18;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 25px;
}

.about-card {
    background: linear-gradient(145deg,
        rgba(24, 24, 48, 0.95),
        rgba(13, 13, 28, 0.95));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 35px;
    transition: 0.4s;
}

.about-card:hover {
    border-color: rgba(56, 189, 248, 0.55);
    transform: translateY(-5px);
}

.profile-card {
    text-align: center;
}

.profile-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border: 1px solid var(--purple);
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.12);
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    color: var(--blue);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.16);
}

.profile-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    letter-spacing: 3px;
}

.muted {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.line {
    height: 1px;
    background: var(--border);
    margin: 25px 0;
}

.profile-card > p:last-child {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.details-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    color: var(--blue);
    font-size: 25px;
    min-width: 30px;
}

.detail h4 {
    font-size: 13px;
    margin-bottom: 6px;
}

.detail p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

/* INTERESTS */

.interests {
    background:
        radial-gradient(ellipse at 50% 0%,
        rgba(88, 28, 135, 0.12), transparent 60%),
        var(--bg);
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.interest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(155deg,
        #141428, #0b0b17);
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s,
        box-shadow 0.4s;
}

.interest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg,
        var(--purple), var(--blue));
    transition: width 0.5s;
}

.interest-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.interest-card:hover::before {
    width: 100%;
}

.interest-number {
    align-self: flex-end;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: var(--muted);
}

.interest-icon {
    font-size: 40px;
    margin: 15px 0 20px;
}

.interest-card h3 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tag {
    color: var(--blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.interest-card > p:not(.tag) {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
    margin-bottom: 17px;
}

.card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--purple);
    font-size: 9px;
    letter-spacing: 1px;
}

/* PHILOSOPHY */

.philosophy {
    text-align: center;
    padding: 95px 10%;
    background:
        radial-gradient(ellipse at center,
        rgba(88, 28, 135, 0.22), transparent 70%),
        #0b0b18;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.philosophy h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(23px, 4vw, 40px);
    line-height: 1.6;
    margin-bottom: 22px;
}

.philosophy > p:last-child {
    max-width: 550px;
    margin: auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

/* MOTIVATIONAL QUOTE */

.quote-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 50%,
        rgba(56, 189, 248, 0.07), transparent 70%),
        var(--bg);
}

.quote-symbol {
    color: rgba(168, 85, 247, 0.25);
    font-family: Georgia, serif;
    font-size: 120px;
    height: 95px;
    line-height: 1;
}

.quote-section h2 {
    font-size: clamp(22px, 3.8vw, 38px);
    line-height: 1.8;
    margin: 20px 0;
}

.quote-text {
    color: var(--blue);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    margin-bottom: 22px;
}

.quote-caption {
    max-width: 560px;
    margin: auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 2.2;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 40px 20px;
    background: #05050b;
    border-top: 1px solid var(--border);
}

.footer .logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer p {
    color: var(--muted);
    font-size: 11px;
    line-height: 2;
}

.footer .copyright {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 15px;
}

/* ANIMATIONS */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes planetGlow {
    from {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
    }
    to {
        box-shadow: 0 0 45px rgba(56, 189, 248, 0.4);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.4;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

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

/* RESPONSIVE: TABLET */

@media (max-width: 1000px) {
    .hero {
        padding-left: 7%;
        padding-right: 7%;
        gap: 20px;
    }

    .universe {
        width: 270px;
        height: 300px;
        transform: scale(0.85);
    }

    .interest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .interest-card:last-child {
        grid-column: 1 / -1;
    }

    .section {
        padding-left: 7%;
        padding-right: 7%;
    }
}

/* RESPONSIVE: MOBILE */

@media (max-width: 650px) {
    .navbar {
        padding: 18px 6%;
        flex-direction: column;
        gap: 15px;
    }

    .navbar nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .navbar nav a {
        font-size: 11px;
    }

    .hero {
        min-height: auto;
        padding: 160px 7% 100px;
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .universe {
        width: 260px;
        height: 260px;
        transform: scale(0.85);
        margin: -5px auto 0;
    }

    .scroll-indicator {
        left: 0;
        right: 0;
        text-align: center;
        bottom: 25px;
    }

    .section {
        padding: 75px 6%;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .about-grid,
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .interest-card:last-child {
        grid-column: auto;
    }

    .about-card {
        padding: 28px 23px;
    }

    .philosophy {
        padding: 75px 7%;
    }

    .quote-section h2 {
        font-size: 23px;
    }

    .footer {
        padding: 35px 15px;
    }
}

/* RESPECT REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
