/* ========================================
   VARIABLES & RESET
======================================== */
:root {
    /* Color Palette - Blood Red + Pure White on Dark */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --primary-glow: rgba(220, 38, 38, 0.25);
    
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #181818;
    
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #a3a3a3;
    
    --border-color: #252525;
    --border-light: #333333;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    --gradient-card: var(--bg-card);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--primary-glow);
    
    /* Typography */
    --font-family: 'Vazirmatn', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

/* Disable text selection */
body, h1, h2, h3, h4, h5, h6, p, span, a, button, label, i {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

a, button {
    cursor: pointer;
}

input, textarea {
    cursor: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    pointer-events: none;
    -webkit-user-drag: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.logo-text {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: var(--primary);
    border-radius: var(--radius-full);
    opacity: 0.05;
    filter: blur(100px);
    animation: float 12s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 25%;
    animation-delay: 6s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 35%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.greeting {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 22px;
    min-height: 38px;
}

.typing-text {
    color: var(--primary);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.08);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: var(--primary);
    border-radius: var(--radius-full);
    opacity: 0.12;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.12;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.18;
    }
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.1);
}

.image-frame:hover {
    transform: scale(1.03);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.15;
}

.floating-badge {
    position: absolute;
    width: 54px;
    height: 54px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    animation: floatBadge 5s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.badge-1 {
    top: 15px;
    right: -18px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 55px;
    right: -22px;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 15px;
    left: -18px;
    animation-delay: 3s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.scroll-indicator a:hover {
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   SECTIONS COMMON
======================================== */
section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    background: var(--bg-darker);
}

.about-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 45px;
    line-height: 2;
}

.about-intro strong {
    color: var(--primary);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-normal);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-card strong {
    color: var(--primary);
}

/* ========================================
   SKILLS SECTION
======================================== */
.skills {
    background: var(--bg-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: var(--transition-normal);
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0 auto 18px;
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.skill-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESUME SECTION
======================================== */
.resume {
    background: var(--bg-darker);
}

.resume-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--primary);
}

.timeline {
    position: relative;
    padding-right: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), transparent);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    right: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-darker);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.timeline-date {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-company {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content p:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio {
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.portfolio-item:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-image .placeholder-icon {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.15;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.portfolio-tag {
    padding: 5px 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-text a,
.contact-text p {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 14px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: var(--transition-normal);
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.github {
    background: #333;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Admin Link */
.admin-link {
    position: fixed;
    bottom: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.3;
    transition: var(--transition-normal);
    z-index: 1000;
}

.admin-link:hover {
    opacity: 1;
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 28px;
    }
    
    .image-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 28px;
        gap: 18px;
        text-align: center;
        transform: translateY(-150%);
        transition: var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand, .footer-links ul, .footer-social {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .floating-badge {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline {
        padding-right: 22px;
    }
}
