:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #bb86fc;
    --secondary-text: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.links a {
    margin-left: 2rem;
    font-size: 1rem;
    color: var(--secondary-text);
}

.links a:hover {
    color: var(--accent-color);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero */
#hero {
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 0;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
    animation: bounce 2s infinite;
}

/* Skills */
.skills {
    margin-top: 2.5rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--secondary-text);
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-text);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.project-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(187, 134, 252, 0.1);
}

.project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.lang-tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-tag.dart {
    background: rgba(0, 180, 171, 0.2);
    color: #00b4ab;
}

.lang-tag.cpp {
    background: rgba(0, 89, 156, 0.2);
    color: #00599c;
}

.lang-tag.kotlin {
    background: rgba(127, 82, 255, 0.2);
    color: #7f52ff;
}

.lang-tag.js {
    background: rgba(247, 223, 30, 0.2);
    color: #f7df1e;
}

/* Card Actions */
.card-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.btn-card {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-github {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-play {
    background: rgba(0, 255, 127, 0.1);
    /* Green tint */
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.2);
}

.btn-play:hover {
    background: rgba(0, 255, 127, 0.2);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

/* Contact */
.btn-primary {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.4);
}

.btn-secondary {
    display: inline-block;
    margin-top: 2rem;
    margin-left: 1rem;
    padding: 1rem 3rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    border-radius: 50px;
}

.btn-secondary:hover {
    background: rgba(187, 134, 252, 0.1);
    transform: scale(1.05);
}


.btn-linkedin {
    background: #0077b5 !important;
    /* Force override primary */
    color: #fff !important;
    border: none;
    margin-left: 1rem;
}

.btn-linkedin:hover {
    background: #006097 !important;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.4);
}


/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 2px solid var(--secondary-text);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-text {
    color: var(--secondary-text);
    font-size: 0.9rem;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

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

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