@font-face {
    font-family: 'CustomFont';
    src: url('font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomFont2';
    src: url('font2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(34, 195, 93, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(34, 195, 93, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a3a3a 100%);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img,
svg,
video,
canvas,
dotlottie-player {
    max-width: 100%;
    height: auto;
}

.snow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 8000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -2rem;
    font-size: 0.8rem;
    opacity: 0.9;
    animation-name: snowfall;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    will-change: transform, opacity;
    pointer-events: none;
    max-width: 2rem;
}



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

.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: max-content;
    max-width: calc(100% - 24px);
    background: rgba(45, 45, 45, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 24px;
    transition: background 0.1s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.logo:hover {
    color: #22C35D;
}

.nav-links {
    display: flex;
    gap: 16px;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform, background, box-shadow, color;
}

.nav-link:hover {
    color: #22C35D;
    background: rgba(34, 195, 93, 0.12);
    border-color: rgba(34, 195, 93, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 195, 93, 0.2);
}

.nav-link svg {
    width: 24px;
    height: 24px;
}

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 45, 45, 0.1);
    z-index: 0;
}

.hero .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.highlight {
    color: #22C35D;
    -webkit-text-fill-color: #22C35D;
}

.hero-subtitle {
    font-family: 'CustomFont2', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-animation {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.hero-animation dotlottie-player {
    width: min(480px, 70%);
    height: min(480px, 70%);
    max-width: 100%;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid transparent;
    will-change: transform, background, color, border-color;
}

.btn-primary {
    background: #22C35D;
    color: white;
}

.btn-primary:hover {
    background: #1aa84d;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(34, 195, 93, 0.55);
}

.btn-secondary:hover {
    background: rgba(34, 195, 93, 0.15);
    border-color: #22C35D;
    color: #22C35D;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

section {
    padding: 10px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #22C35D, transparent);
}

.about {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 45, 45, 0.1);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.info-value {
    font-weight: 500;
    color: #ffffff;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(34, 195, 93, 0.12);
    color: #22C35D;
    border-color: rgba(34, 195, 93, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 195, 93, 0.2);
}

.social-icon {
    font-size: 1.8rem;
}

.technologies {
    padding: 48px 0 24px;
    position: relative;
    z-index: 1;
}

.technologies .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.technologies .relative {
    position: relative;
    padding-top: 14px;
}

.technologies h2 {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 10;
    border-radius: 9999px;
    border: 1px solid rgba(34, 195, 93, 0.4);
    background: #171717;
    padding: 4px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #22C35D;
    margin: 0;
    box-shadow: 0 0 20px rgba(34, 195, 93, 0.15);
    line-height: 1.2;
}

.technologies .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    border-radius: 24px;
    border: 1px solid rgba(34, 195, 93, 0.15);
    background: transparent;
    padding: 24px;
    backdrop-filter: none;
    box-shadow: none;
    width: 100%;
    min-width: 0;
}

.technologies .grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: help;
    padding: 20px;
    border-radius: 16px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.tech-label {
    font-family: 'CustomFont2', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.technologies .grid > div:hover {
    background: rgba(34, 195, 93, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 195, 93, 0.12);
    border-color: rgba(34, 195, 93, 0.4);
}

.custom-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-tooltip.show {
    opacity: 1;
}

.technologies .grid > div svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.technologies .grid > div img.tech-icon-img,
.technologies .grid > div i.tech-icon-devicon {
    width: 40px;
    height: 40px;
    font-size: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.technologies .grid > div:hover svg,
.technologies .grid > div:hover img.tech-icon-img,
.technologies .grid > div:hover i.tech-icon-devicon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(34, 195, 93, 0.7));
}


.tech-content {
    text-align: center;
}

.tech-status {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
    font-style: italic;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
}

.tech-name {
    font-weight: 600;
    color: #1f2937;
}

.live-tools {
    position: relative;
    padding: 24px 0 20px;
    z-index: auto;
    isolation: isolate;
}

.live-tools-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.live-tools-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.live-tools-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.live-tools-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    min-width: 0;
}

.live-tool-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.live-tool-card:hover {
    transform: translateY(-3px);
    background: rgba(34, 195, 93, 0.1);
    border-color: rgba(34, 195, 93, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 0 20px rgba(34, 195, 93, 0.1);
}

.live-tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.live-tool-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.live-tool-title {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-tool-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-tool-arrow {
    color: #22C35D;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: transform 0.25s ease, opacity 0.25s ease;
    flex-shrink: 0;
}

.live-tool-card:hover .live-tool-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.projects {
    position: relative;
    margin-top: 12px;
    z-index: 1;
    isolation: isolate;
}

.projects .section-title {
    position: relative;
    z-index: 2;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: -1rem 0 2rem;
}

.filter-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: inherit;
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(34, 195, 93, 0.4);
    background: rgba(34, 195, 93, 0.1);
}

.filter-btn.is-active {
    color: #ffffff;
    background: #22C35D;
    border-color: #22C35D;
    box-shadow: 0 4px 16px rgba(34, 195, 93, 0.3);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
}

.featured-grid[hidden] {
    display: none;
}

.project-card--featured {
    background: linear-gradient(145deg, rgba(34, 195, 93, 0.1) 0%, rgba(255, 255, 255, 0.04) 55%);
    border-color: rgba(34, 195, 93, 0.28);
    padding: 2.25rem;
}

.project-card--featured:hover {
    border-color: rgba(34, 195, 93, 0.55);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(34, 195, 93, 0.4), 0 0 32px rgba(34, 195, 93, 0.14);
}

.project-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    min-width: 0;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0d1f14;
    background: #22C35D;
    box-shadow: 0 0 12px rgba(34, 195, 93, 0.35);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: -0.35rem 0 1.25rem;
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(34, 195, 93, 0.12);
    border: 1px solid rgba(34, 195, 93, 0.28);
}

.projects-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    margin: 1rem 0 0;
}

.projects-empty[hidden] {
    display: none;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 45, 45, 0.1);
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    width: 100%;
    min-width: 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(34, 195, 93, 0.35), 0 0 28px rgba(34, 195, 93, 0.12);
    border-color: rgba(34, 195, 93, 0.4);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.project-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-icon {
    transform: scale(1.08) translateY(-2px);
}

.project-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-buttons--single {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.project-buttons--single a {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-buttons--dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.project-buttons--dual a {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-buttons--triple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.project-buttons--triple a {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-buttons--triple a:first-child {
    grid-column: 1 / -1;
}

.contact {
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    min-width: 150px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(34, 195, 93, 0.12);
    color: #22C35D;
    border-color: rgba(34, 195, 93, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 195, 93, 0.15);
}

.contact-icon {
    font-size: 3rem;
}

.contact-text {
    font-weight: 600;
}

.footer {
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(34, 195, 93, 0.2);
    background: rgba(45, 45, 45, 0.9);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes snowfall {
    0% {
        transform: translate3d(0, -20px, 0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--snow-drift, 0px), 110vh, 0);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .live-tools-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .technologies .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    body > * {
        max-width: 100%;
    }

    section,
    footer,
    .live-tools,
    .projects,
    .technologies,
    .hero {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .technologies {
        overflow: visible;
        padding-top: 28px;
    }

    .technologies .relative {
        padding-top: 16px;
        overflow: visible;
    }

    .technologies h2 {
        top: 0;
        left: 12px;
        z-index: 5;
    }

    .container,
    .technologies .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .live-tools {
        z-index: auto;
        padding-bottom: 12px;
        margin-bottom: 0;
    }

    .live-tools .container {
        overflow: visible;
    }

    .projects {
        z-index: 1;
        margin-top: 8px;
        padding-top: 8px;
    }

    .projects .section-title {
        z-index: 2;
        background: transparent;
    }

    .nav {
        top: 10px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        transform: none;
        padding: 8px 12px;
        border-radius: 20px;
    }

    .nav-container {
        justify-content: center;
        gap: 10px;
    }

    .nav-links {
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        width: 38px;
        height: 38px;
        padding: 0;
    }

    .nav-link svg {
        width: 20px;
        height: 20px;
    }

    .logo {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 78px 0 18px;
    }

    .hero .container {
        display: flex;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 4px;
        text-align: center;
    }

    .hero-animation {
        opacity: 0.18;
    }

    .hero-animation {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero-animation dotlottie-player {
        width: min(240px, 60%);
        height: min(240px, 60%);
        max-width: 100%;
    }

    .hero-description {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
        white-space: normal;
        line-height: 1.15;
        margin-bottom: 0.65rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1rem;
        padding: 0;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
        gap: 0.65rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 11px 16px;
    }

    .live-tools {
        padding: 6px 0 2px;
    }

    .live-tools-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        margin-bottom: 0.65rem;
    }

    .live-tools-title {
        font-size: 1rem;
    }

    .live-tools-subtitle {
        font-size: 0.8rem;
    }

    .live-tools-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        width: 100%;
    }

    .live-tool-card {
        min-width: 0;
        padding: 0.55rem 0.6rem;
        gap: 0.45rem;
        border-radius: 12px;
    }

    .live-tool-icon {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    .live-tool-title {
        font-size: 0.78rem;
        line-height: 1.2;
        white-space: normal;
    }

    .live-tool-desc,
    .live-tool-arrow {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-title::after {
        margin-top: 8px;
        width: 40px;
        height: 2px;
    }

    .project-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
        margin: 0 0 0.9rem;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        min-width: 0;
        padding: 0.42rem 0.15rem;
        font-size: 0.72rem;
        border-radius: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
        width: 100%;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
    }

    .project-card,
    .project-card--featured {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.9rem;
        border-radius: 12px;
    }

    .project-card--featured {
        padding: 1rem;
    }

    .project-card:hover,
    .project-card--featured:hover {
        transform: none;
        box-shadow: none;
    }

    .project-header {
        gap: 8px;
        margin-bottom: 0.55rem;
    }

    .project-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        flex-shrink: 0;
    }

    .project-title-wrap {
        gap: 0.4rem;
    }

    .project-title,
    .project-card--featured .project-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .featured-badge {
        font-size: 0.62rem;
        padding: 0.12rem 0.4rem;
    }

    .project-description,
    .project-card--featured .project-description {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 0.7rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .project-stack {
        gap: 0.25rem;
        margin: 0 0 0.75rem;
    }

    .stack-chip {
        font-size: 0.62rem;
        padding: 0.14rem 0.4rem;
    }

    .project-buttons,
    .project-buttons--single,
    .project-buttons--dual,
    .project-buttons--triple {
        width: 100%;
        min-width: 0;
        gap: 0.35rem;
    }

    .project-buttons a {
        min-width: 0;
        max-width: 100%;
        min-height: 36px;
        padding: 0.45rem 0.35rem;
        font-size: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .technologies {
        padding: 20px 0 12px;
    }

    .technologies .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
        border-radius: 16px;
        width: 100%;
    }

    .technologies .grid > div {
        min-width: 0;
        padding: 10px 6px;
        gap: 6px;
        border-radius: 12px;
    }

    .technologies .grid > div:hover {
        transform: none;
        box-shadow: none;
    }

    .technologies .grid > div svg,
    .technologies .grid > div img.tech-icon-img,
    .technologies .grid > div i.tech-icon-devicon {
        width: 26px;
        height: 26px;
        font-size: 26px;
    }

    .tech-label {
        font-size: 0.68rem;
        line-height: 1.15;
        word-break: break-word;
    }

    .technologies h2 {
        top: -10px;
        left: 12px;
        padding: 3px 10px;
        font-size: 12px;
    }

    .about-content,
    .social-links,
    .tech-grid,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    section {
        padding: 6px 0;
    }

    .footer {
        padding: 1.25rem 0;
    }
}

@media (max-width: 480px) {
    .container,
    .technologies .container {
        padding: 0 10px;
    }

    .nav {
        left: 10px;
        right: 10px;
        top: 8px;
        padding: 7px 10px;
    }

    .nav-link {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 70px 0 14px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .live-tools-strip {
        gap: 0.4rem;
    }

    .live-tool-card {
        padding: 0.5rem;
    }

    .live-tool-title {
        font-size: 0.72rem;
    }

    .filter-btn {
        font-size: 0.68rem;
        padding: 0.4rem 0.1rem;
    }

    .project-card,
    .project-card--featured {
        padding: 0.8rem;
    }

    .project-description,
    .project-card--featured .project-description {
        -webkit-line-clamp: 2;
        font-size: 0.78rem;
    }

    .technologies .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 10px;
    }

    .technologies .grid > div {
        padding: 8px 4px;
        gap: 4px;
    }

    .technologies .grid > div svg,
    .technologies .grid > div img.tech-icon-img,
    .technologies .grid > div i.tech-icon-devicon {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }

    .tech-label {
        font-size: 0.58rem;
    }

    .contact-link {
        padding: 1rem;
        min-width: 0;
    }

    .contact-icon {
        font-size: 1.6rem;
    }

    .social-icon {
        font-size: 1.1rem;
    }
}