:root {
    --bg-dark: #0f1115;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #ec4899; /* Pink */
    --accent-3: #8b5cf6; /* Violet */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Syne', sans-serif;
}

/* Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: #0f1115;
}

.aurora {
    position: absolute;
    filter: blur(120px);
    opacity: 0.6;
    border-radius: 50%;
    animation: aurora-move 20s infinite alternate ease-in-out;
}

.aurora-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
}
.aurora-2 {
    bottom: -20%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    animation-delay: -5s;
}
.aurora-3 {
    top: 40%; left: 30%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    animation-delay: -10s;
}

@keyframes aurora-move {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(10vw, -10vw) scale(1.3) rotate(45deg); }
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 17, 21, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* Layout */
.section {
    padding: 8rem 2rem 4rem;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -1px;
}
.section-title span {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.action-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.primary-btn {
    background: #fff;
    color: var(--bg-dark);
}
.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

.secondary-btn {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
}
.secondary-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

/* About Section */
.about-card {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.about-icon {
    font-size: 6rem;
    color: var(--accent-2);
    background: rgba(236, 72, 153, 0.1);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    flex-shrink: 0;
}
.about-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.about-text p strong {
    color: #fff;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}
.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.skill-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}
.skill-header h3 {
    font-size: 1.8rem;
    flex-grow: 1;
}
.percent {
    font-size: 1.5rem;
    font-weight: 800;
}
.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.skill-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 3rem;
}
.project-card {
    display: flex;
    gap: 3rem;
    padding: 0;
    overflow: hidden;
    flex-direction: row;
}
.project-img {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2));
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #fff;
}
.project-info {
    padding: 3rem 3rem 3rem 0;
}
.project-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.project-tags span {
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-3);
    font-weight: 600;
}
.project-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.project-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.project-link:hover {
    color: var(--accent-2);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.contact-card {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #fff;
}
.contact-icon {
    width: 90px; height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.contact-card:hover .contact-icon {
    background: var(--accent-1);
    transform: scale(1.1) rotate(10deg);
}
.contact-card:hover .contact-icon.tg-icon {
    background: #0088cc;
}
.contact-card:hover .contact-icon.phone-icon {
    background: #10b981;
}
.contact-details h3 {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.contact-details p {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.click-hint {
    font-size: 0.9rem;
    color: var(--accent-2);
}

/* Footer */
footer {
    padding: 4rem;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .project-card { flex-direction: column; }
    .project-img { width: 100%; height: 300px; }
    .project-info { padding: 3rem; }
    .about-card { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .title { font-size: 3rem; }
    .nav-links { display: none; }
    .action-group { flex-direction: column; }
    .section-title { font-size: 2.8rem; }
}
