:root {
    --primary: #d9f116;
    --primary-dark: #a9c910;
    --primary-glow: rgba(217, 241, 22, 0.25);
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #181818;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
    --border-light: #3f3f46;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --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);
    --font-family: sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
::-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-dark);
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}
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;
}
@keyframes iconContainerPulse {
    0%,
    100% {
        border-color: rgba(217, 241, 22, 0.3);
        box-shadow: 0 0 0 rgba(217, 241, 22, 0);
    }
    50% {
        border-color: rgba(217, 241, 22, 0.65);
        box-shadow: 0 0 12px rgba(217, 241, 22, 0.15);
    }
}
@keyframes iconInnerPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(215, 241, 22, 0.04);
    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: #0a0a0a;
    font-size: 1.1rem;
}
.logo-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.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 {
    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(217, 241, 22, 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 15s ease-in-out infinite;
    will-change: transform, opacity;
}
.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) rotate(0deg);
        opacity: 0.05;
    }
    25% {
        transform: translateY(-20px) scale(1.1) rotate(2deg);
        opacity: 0.03;
    }
    50% {
        transform: translateY(10px) scale(0.95) rotate(-1deg);
        opacity: 0.07;
    }
    75% {
        transform: translateY(-10px) scale(1.05) rotate(1deg);
        opacity: 0.04;
    }
}
.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.9s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.greeting {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 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-bounce), box-shadow 0.4s ease;
    border: none;
    font-family: inherit;
    will-change: transform;
    backface-visibility: hidden;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(217, 241, 22, 0.3);
}
.btn-primary:hover {
    transform: translateY(-4px);
    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(217, 241, 22, 0.08);
    color: var(--primary);
    transform: translateY(-4px);
}
.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-bounce), box-shadow 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
}
.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 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 5s ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.12;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}
.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-bounce);
    box-shadow: 0 0 0 6px rgba(217, 241, 22, 0.1);
    will-change: transform;
}
.image-frame:hover {
    transform: scale(1.05);
}
.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 6s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    will-change: transform;
}
.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) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2.5s infinite;
    will-change: transform;
}
.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(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}
section {
    padding: 90px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
    width: auto;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.3;
}
.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: transform 0.5s var(--transition-bounce), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
}
.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}
.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 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;
    animation: iconContainerPulse 3s ease-in-out infinite;
}
.card-icon i {
    animation: iconInnerPulse 3s ease-in-out infinite;
}
.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 {
    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: transform 0.5s var(--transition-bounce), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
}
.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}
.skill-icon {
    width: 70px;
    height: 70px;
    background: rgba(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 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;
    animation: iconContainerPulse 3s ease-in-out infinite;
}
.skill-icon i {
    animation: iconInnerPulse 3s ease-in-out infinite;
}
.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.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 2.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.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(217, 241, 22, 0.2);
    transition: var(--transition-bounce);
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(217, 241, 22, 0.3);
}
.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
}
.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(-6px);
    box-shadow: var(--shadow-glow);
}
.timeline-date {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(217, 241, 22, 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;
    color: var(--text-primary);
}
.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 {
    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: transform 0.5s var(--transition-bounce), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
}
.portfolio-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    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%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}
.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(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 0.2);
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition-fast);
}
.portfolio-item:hover .portfolio-tag {
    background: rgba(217, 241, 22, 0.2);
}
.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;
    color: var(--text-primary);
}
.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(215, 241, 22, 0.04);
    border: 1px solid rgba(217, 241, 22, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    animation: iconContainerPulse 3s ease-in-out infinite;
}
.contact-icon i {
    animation: iconInnerPulse 3s ease-in-out infinite;
}
.contact-item:hover .contact-icon {
    background: rgba(217, 241, 22, 0.2);
    transform: scale(1.1);
}
.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-bounce);
    will-change: transform;
    backface-visibility: hidden;
}
.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(-6px);
    box-shadow: var(--shadow-md);
}
.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(217, 241, 22, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.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-logo .logo-icon {
    background: var(--gradient-primary);
}
.footer-logo .logo-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.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);
    transform: translateX(-4px);
    display: inline-block;
}
.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-bounce);
    will-change: transform;
    backface-visibility: hidden;
}
.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}
.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 {
    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);
}
@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: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        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.6rem;
    }
    .section-tag {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    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.4rem;
    }
    .timeline {
        padding-right: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@keyframes softPulse {
    0%,
    100% {
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 5px var(--primary-glow));
    }
    50% {
        opacity: 0.3;
        filter: brightness(0.7) drop-shadow(0 0 0px transparent);
    }
}
.card-icon i,
.skill-icon i,
.contact-icon i,
.status-dot,
.status-dot2 {
    animation: softPulse 2s infinite ease-in-out !important;
}
.status-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 1.5px solid var(--bg-card);
    z-index: 10;
    pointer-events: none;
}
.status-dot2 {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 1.5px solid var(--bg-card);
    z-index: 10;
    pointer-events: none;
}
.about-card,
.skill-card,
.portfolio-item,
.contact-form-wrapper {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.8s ease,
    box-shadow 0.8s ease !important;
}
.about-card:hover,
.skill-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 10px 30px rgba(217, 241, 22, 0.1) !important;
}
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}
.back-to-top {
    position: fixed;
    bottom: 80px;
    left: 20px;
    right: auto;
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
    backdrop-filter: blur(10px);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 70px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .admin-link {
        bottom: 15px;
        left: 15px;
    }
}
.about-card, .skill-card, .portfolio-item {
    position: relative;
    overflow: hidden;
}
.about-card::before, .skill-card::before, .portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 241, 22, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.about-card:hover::before, .skill-card:hover::before, .portfolio-item:hover::before {
    left: 100%;
}
.about-card:hover, .skill-card:hover, .portfolio-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 35px -10px rgba(217, 241, 22, 0.2);
}
.skill-percent {
    display: inline-block;
    float: left;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s, height 0.2s;
    z-index: 9999;
    opacity: 0.5;
    backdrop-filter: blur(2px);
}
body:hover .cursor-follower {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}
.cursor {
    animation: blink 0.7s infinite;
    font-weight: 300;
    text-shadow: 0 0 5px var(--primary);
}
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}
.form-group.shake input, .form-group.shake textarea {
    animation: shake 0.3s ease-in-out;
    border-color: #ff4444;
}
.timeline-content {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease !important;
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 241, 22, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.timeline-content:hover::before {
    left: 100%;
}
.timeline-content:hover {
    border-color: var(--primary) !important;
    transform: translateX(-6px) translateY(-4px) scale(1.01);
    box-shadow: 0 20px 35px -10px rgba(217, 241, 22, 0.25);
}
.timeline-dot {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(217, 241, 22, 0.4);
}
@media (max-width: 768px) {
    .footer-social-section,
    .footer-social {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    .footer-content {
        text-align: center;
    }
    .footer-links ul {
        align-items: center;
    }
    .footer-brand {
        align-items: center;
    }
}


/* Portfolio Images Better Fit */

.portfolio-image {
    height: 240px;
    background: #0d0d0d;
    padding: 12px;
    cursor: pointer;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 14px;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s ease;

    pointer-events: auto !important;

    cursor: pointer;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.03);
    filter: brightness(1.08);
}

/* Portfolio Modal */

.portfolio-modal {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.86);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: 0.35s ease;

    z-index: 999999;

    padding: 25px;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-image {
    max-width: 95%;
    max-height: 90vh;

    border-radius: 18px;

    transform: scale(0.85);

    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);

    box-shadow:
        0 0 40px rgba(217, 241, 22, 0.12),
        0 20px 60px rgba(0, 0, 0, 0.6);
}

.portfolio-modal.active .portfolio-modal-image {
    transform: scale(1);
}

.portfolio-close {
    position: absolute;

    top: 22px;
    right: 30px;

    font-size: 3rem;

    color: white;

    cursor: pointer;

    transition: 0.3s ease;
}

.portfolio-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.n-Link:hover
{
    color: var(--primary);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.portfolio-tags {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}


/*Show Tag*/
.show-tag{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    width: 100%;
}

.show-tag a{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    padding: 10px 18px;

    border-radius: 10px;

    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.28);

    color: #22c55e;

    font-size: .88rem;
    font-weight: 600;

    text-decoration: none;
    text-align: center;

    transition: all .35s cubic-bezier(.22,1,.36,1);

    overflow: hidden;
    position: relative;
}

.show-tag a:hover{
     background: #22c55e;
    color: #ffffff;

    border-color: #22c55e;

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(34,197,94,.28),
        0 0 18px rgba(34,197,94,.18);
}

.show-tag a:active{
    transform: translateY(-1px) scale(.98);
}

.show-tag a:focus-visible{
    outline: none;
    box-shadow:
        0 0 0 3px rgba(34,197,94,.22),
        0 10px 30px rgba(34,197,94,.28);
}

@media (max-width:768px){

    .show-tag{
        margin-top:16px;
    }

    .show-tag a{

        min-height:40px;

        padding:10px 14px;

        font-size:.82rem;
    }

}

@media (max-width:480px){

    .show-tag a{

        min-height:38px;

        font-size:.8rem;

        padding:9px 12px;
    }

}



/* No Show Tag */

.no-show-tag{
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 42px;

    margin-top: 20px;
    padding: 10px 18px;

    border-radius: 10px;

    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.28);

    color: #ef4444;

    font-size: .88rem;
    font-weight: 600;
    line-height: 1.4;

    text-align: center;

    user-select: none;
    cursor: default;

    transition: all .35s cubic-bezier(.22,1,.36,1);
}

.no-show-tag i{
    margin-left:8px;
    font-size:.9rem;
    opacity:.9;
}

.no-show-tag:hover{

    background: rgba(239,68,68,.12);

    border-color: rgba(239,68,68,.45);

    color:#ef4444;

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(239,68,68,.15),
        0 0 14px rgba(239,68,68,.10);

}

@media (max-width:768px){

    .no-show-tag{

        margin-top:16px;

        min-height:40px;

        padding:10px 14px;

        font-size:.82rem;

    }

}

@media (max-width:480px){

    .no-show-tag{

        min-height:38px;

        padding:9px 12px;

        font-size:.8rem;

    }

}
