@font-face {
    font-family: 'Cosmic Vibrant';
    src: url('/innerFolder/Cosmic Vibrant.otf"') format('opentype');
}

@font-face {
    font-family: 'Agraham';
    src: url('/innerFolder/agraham.personal-use.otf') format('opentype');
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.text-glow {
    color: #fff;
    text-shadow: 0 0 10px #9a7dec, 0 0 15px #6534c6, 0 0 35px #5c00ca;
}

.spark {
    position: absolute;
    width: 3px;
    height: 8px;
    background: linear-gradient(180deg, #fff 0%, #ffaa00 50%, #ff4500 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    animation: sparkFly 1.2s ease-out forwards;
    box-shadow: 0 0 8px #ff6b00, 0 0 15px #ff4500;
    filter: blur(0.5px);
}

.spark:nth-child(3n) {
    width: 3px;
    height: 8px;
    animation-duration: 3.5s;
}

.spark:nth-child(3n+1) {
    width: 5px;
    height: 12px;
    animation-duration: 2.5s;
    box-shadow: 0 0 15px #ff6b00, 0 0 25px #ff4500, 0 0 35px rgba(255, 69, 0, 0.6);
}

.spark:nth-child(3n+2) {
    width: 3.5px;
    height: 9px;
    animation-duration: 4s;
}

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translate(
                var(--tx, 0px),
                var(--ty, -200px)
        ) scale(0) rotate(720deg);
        opacity: 0;
    }
}

.main-image {
    position: relative;
    width: 100vw;
    height: 100dvh; /* dynamic viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

}

.explore-btn {
    position: absolute;
    top: 83%;
    left: 51%;
    transform: translate(-50%, -50%);
    background-color: white;
    font-family: 'Cosmic Vibrant';
    white-space: nowrap;
    z-index: 5;
    border: 1px solid #c740fd;
    padding: 10px 20px;
    font-size: 16px;
    box-shadow: 0 0 30px rgba(210, 73, 255, 0.87),
    0 0 50px rgba(155, 45, 255, 0.7),
    0 0 70px rgba(147, 51, 234, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(210, 73, 255, 0.87),
        0 0 50px rgba(155, 45, 255, 0.7),
        0 0 70px rgba(147, 51, 234, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 40px rgba(210, 73, 255, 1),
        0 0 70px rgba(155, 45, 255, 0.9),
        0 0 100px rgba(147, 51, 234, 0.6);
    }
}

.explore-btn:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 70px rgba(255, 153, 245, 0.91),
    0 0 100px rgb(234, 0, 222),
    0 0 500px rgb(191, 0, 255);
    transform: translate(-50%, -50%) scale(1.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1200px) {
    .explore-btn {
        top: 80%;
        left: 52%;
        font-size: 22px;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .explore-btn {
        top:80%;
        left: 52%;

        font-size: 18px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .explore-btn {
        top: 80%;
        left: 53%;

        font-size: 16px;
        padding: 14px 18px;
    }
}

@media (max-width: 390px) {
    .explore-btn {
        top: 80%;
        font-size: 15px;
        padding: 12px 16px;
    }
}
@media (max-width: 430px) and (min-height: 800px) {
    .explore-btn {
        top: 80%;
        font-size: 15px;
        padding: 12px 16px;
    }
}
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 10;
}

.navbar .nav-link {
    color: white !important;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #1dffca !important;
}

.navbar-toggler-icon {
    color: white;
}

.arrow-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: darkviolet;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.arrow-btn:hover {
    background: darkviolet;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.8),
    0 0 40px rgba(147, 51, 234, 0.6),
    0 0 60px rgba(147, 51, 234, 0.4);
    transform: translateX(-50%) scale(1.2);
}

.arrow-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid white;
}

.arrow-btn.show {
    display: block;
    animation: fadeInBounce 0.5s ease-out;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.header {
    text-align: center;
    padding: 60px 20px 30px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.main-title {
    flex-wrap: nowrap;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
    margin: 20px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.tagline {
    font-size: 1.2rem;
    color: #888;
    margin-top: 10px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #222;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #00ff9d;
    box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-title {
    color: #4c4c4c;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.card-title .highlight {
    background: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-description {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.skill-tag {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.3);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00ff9d;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 255, 157, 0.2);
    border-color: #00ff9d;
    transform: scale(1.05);
}

.fun-fact {
    background: transparent;
    padding: 40px 100px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.fun-fact::before {
    content: '☕';
    position: absolute;
    font-size: 10rem;
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fun-fact h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #deb7f6;
    position: relative;
    z-index: 1;
}

.fun-fact p {
    font-size: 1.2rem;
    color: #ccc;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .fun-fact {
        padding-left: 20px;
        padding-right: 20px;
    }

}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-video-container {
    position: absolute;
    left: 40px;
    top: 350px;
    width: 550px;
    max-width: 40vw;
    border: 3px solid #ffbd00;
    border-radius: 12px;
    z-index: 10;
    overflow: hidden;
}

.project-video-container-shop {
    position: absolute;
    right: 40px;
    top: 250px;
    width: 550px;
    max-width: 40vw;
    border: 3px solid #ed7bdd;
    border-radius: 10px;
    z-index: 10;
    overflow: hidden;
}

.project-video {
    width: 100%;
    border-radius: 12px;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}
css.project-video-container {
    position: absolute;
    left: 40px;
    top: 350px;
    width: 550px;
    max-width: 40vw;
    border: 3px solid #ffbd00;
    border-radius: 12px;
    z-index: 10;
    overflow: hidden;
}

.project-video-container-shop {
    position: absolute;
    right: 40px;
    top: 250px;
    width: 550px;
    max-width: 40vw;
    border: 3px solid #ed7bdd;
    border-radius: 10px;
    z-index: 10;
    overflow: hidden;
}

.project-video {
    width: 100%;
    border-radius: 12px;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

@media (max-width: 3000px) {
    .project-video-container {
        width: 800px;
        max-width: 40vw;
        left: 70px;
    }

    .project-video-container-shop {
        width: 800px;
        max-width: 40vw;
        right: 70px;
    }

    .project-video {
        max-height: 650px;
    }

}

@media (max-width: 1650px) {
    .project-video-container {
        width: 450px;
        max-width: 30vw;
        left: 20px;
    }

    .project-video-container-shop {
        width: 450px;
        max-width: 30vw;
        right: 20px;
    }

    .project-video {
        max-height: 450px;
    }

}

@media (max-width: 1350px) {
    .projects-section,
    .projects-section-peony-bloom {
        min-height: auto;
        padding: 50px 0;
    }

    .project-video-container,
    .project-video-container-shop {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 90%;
        max-width: 550px;
        margin: 20px auto;
    }

}

@media (max-width: 768px) {
    .project-video-container,
    .project-video-container-shop {
        width: 95%;
        margin: 15px auto;
    }

    .project-video {
        max-height: 300px;
    }
}

.projects-section {
    position: relative;
    background-image: url('/innerFolder/2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    padding: 100px 0;
    min-height: 1200px;
    margin: 0;
    z-index: 0;
}

.projects-section-peony-bloom {
    position: relative;
    background-image: url('/innerFolder/1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    padding: 50px 0;
    min-height: 1200px;
    margin: 0;
    z-index: 0;
}

.projects-section-internet-package {
    background-image: url('/innerFolder/3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    padding: 0;
    margin: 0;
    z-index: 0;
}

.project-container {
    position: relative;
    height: 100%;
    width: auto;
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    overflow: visible;
    min-height: 800px;
}

.project-title-internet {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: #89ffd6;
    margin-top: 20px;
    margin-bottom: 10px;
}

.project-title {
    font-family: 'Orbitron', monospace !important;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: #fff500;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(255, 189, 0, 0.8),
    0 0 20px rgba(255, 189, 0, 0.6),
    0 0 30px rgba(255, 189, 0, 0.4);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 189, 0, 0.8),
        0 0 20px rgba(255, 189, 0, 0.6),
        0 0 30px rgba(255, 189, 0, 0.4);
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 189, 0, 1),
        0 0 20px rgba(255, 189, 0, 0.8),
        0 0 30px rgba(255, 189, 0, 0.6);
    }
}

.project-title-peony-bloom {
    font-family: 'Agraham';
    font-size: 60px;
    padding-bottom: 20px;
    color: #eb89fb;
    white-space: nowrap;
}

.quote {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: center;
    font-weight: bold;
    margin: 10px 0;
    color: #9b0aef;
    font-size: 20px;
}

.project-content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    max-width: 900px;
    padding: 0 100px 0 0;
    background: transparent;
}

.project-content-peony-bloom {
    position: relative;
    z-index: 2;
    margin-right: auto;
    max-width: 900px;
    padding: 100px 0 0 100px;
    background: transparent;
}

.project-tagline {
    font-size: 1.4rem;
    color: #fffefd;
    margin-bottom: 35px;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(199, 64, 253, 0.6);
    line-height: 1.4;
}

.project-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #d4d4d4;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 1.15rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 189, 0, 0.05);
    border-left: 4px solid #ffbd00;
    border-radius: 8px;
    line-height: 1.8;
}

.section-heading {
    font-size: 1.5rem;
    color: #ffbd00;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 189, 0, 0.4);
    position: relative;
    padding-bottom: 10px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffbd00 0%, transparent 100%);
    box-shadow: 0 0 10px rgba(255, 189, 0, 0.6);
}

.section-heading-pink {
    font-size: 1.5rem;
    color: #d581c9;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(168, 8, 160, 0.66);
    position: relative;
    padding-bottom: 10px;
}

.section-heading-pink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ed7bcd 0%, transparent 100%);
    box-shadow: 0 0 10px rgba(84, 31, 90, 0.3);
}

.section-heading-internet {
    font-size: 1.5rem;
    color: #7aebe7;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(47, 104, 89, 0.66);
    position: relative;
    padding-bottom: 10px;
}

.section-heading-internet::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7bede9 0%, transparent 100%);
    box-shadow: 0 0 10px rgba(20, 90, 92, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-item {
    padding: 12px 20px 12px 45px;
    margin-bottom: 12px;
    background: rgba(26, 26, 46, 0.4);
    border-left: 3px solid rgba(255, 189, 0, 0.5);
    border-radius: 8px;
    color: #ccc;
    line-height: 1.7;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #ffbd00;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(26, 26, 46, 0.7);
    border-left-color: #ffbd00;
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(255, 189, 0, 0.44);
}

.feature-item-blue {
    padding: 12px 20px 12px 45px;
    margin-bottom: 12px;
    background: rgba(26, 26, 46, 0.4);
    border-left: 3px solid rgba(59, 236, 236, 0.5);
    border-radius: 8px;
    color: #ccc;
    line-height: 1.7;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item-blue::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #7efeff;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item-blue:hover {
    background: rgba(26, 26, 46, 0.7);
    border-left-color: #9dffd9;
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(50, 175, 166, 0.66);
}

.feature-item-pink {
    padding: 12px 20px 12px 45px;
    margin-bottom: 12px;
    background: rgba(26, 26, 46, 0.4);
    border-left: 3px solid #eb89fb;
    border-radius: 8px;
    color: #ccc;
    line-height: 1.7;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item-pink::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #eb89fb;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item-pink:hover {
    background: rgba(26, 26, 46, 0.7);
    border-left-color: #eb89fb;
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(168, 8, 160, 0.66);
}

.project-link {
    display: inline-block;
    position: relative;
    padding: 0;
    margin-top: 20px;
}

.project-link-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid #ffbd00;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 40px rgba(255, 189, 0, 0.3),
    inset 0 0 30px rgba(255, 189, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-width: 450px;
}

.project-link-card-peony-bloom {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid #eb89fb;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 40px rgba(164, 49, 177, 0.3),
    inset 0 0 30px rgba(84, 31, 90, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 450px;
}

.project-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 189, 0, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 189, 0, 0.3);
}

.project-thumbnail-peony-bloom {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(164, 49, 177, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(164, 49, 177, 0.3);
}

.project-thumbnail img,
.project-thumbnail-peony-bloom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-link:hover .project-thumbnail,
.project-link:hover .project-thumbnail-peony-bloom {
    border-color: #c740fd;
    box-shadow: 0 0 30px rgba(199, 64, 253, 0.5);
}

.project-link:hover .project-thumbnail img {
    transform: scale(1.1);
}

.project-link-card::before,
.project-link-card-peony-bloom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 189, 0, 0.15), transparent);
    transition: left 0.6s ease;
}

.project-link:hover .project-link-card::before,
.project-link:hover .project-link-card-peony-bloom::before {
    left: 100%;
}

.project-link:hover .project-link-card,
.project-link:hover .project-link-card-peony-bloom {
    transform: translateY(-8px) scale(1.03);
    border-color: #c740fd;
    box-shadow: 0 0 60px rgba(199, 64, 253, 0.5),
    0 15px 50px rgba(199, 64, 253, 0.3),
    inset 0 0 40px rgba(199, 64, 253, 0.1);
}

.link-content {
    flex: 1;
}

.link-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.link-text {
    font-size: 1.6rem;
    color: #ffbd00;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 189, 0, 0.5);
    transition: all 0.3s ease;
}

.link-text-peony-bloom {
    font-size: 1.6rem;
    color: #c664b9;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(164, 49, 177, 0.3);
    transition: all 0.3s ease;
}

.project-link:hover .link-text {
    color: #c740fd;
    text-shadow: 0 0 25px rgba(199, 64, 253, 0.7);
}

.link-arrow {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffbd00 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(255, 189, 0, 0.5);
}

.link-arrow-peony-bloom {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d581c9 0%, #b146a4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(164, 49, 177, 0.3);
}

.project-link:hover .link-arrow,
.project-link:hover .link-arrow-peony-bloom {
    background: linear-gradient(135deg, #c740fd 0%, #9333ea 100%);
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 0 35px rgba(199, 64, 253, 0.7);
}

.star {
    position: absolute;
    background: #ffbd00;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(1) {
    width: 15px;
    height: 15px;
    top: 5%;
    left: 15%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 10%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 30%;
    left: 10%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    width: 15px;
    height: 15px;
    top: 18%;
    left: 25%;
    animation-delay: 1s;
}

.star:nth-child(5) {
    width: 20px;
    height: 20px;
    top: 45%;
    left: 30%;
    animation-delay: 1s;
}

.star:nth-child(6) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.project-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.59),
    0 0 40px rgba(0, 212, 255, 0.32),
    0 0 60px rgba(147, 51, 234, 0.1),
    inset 0 0 20px rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    max-width: 60%;
    max-height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease;
    position: relative;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3),
    0 0 40px rgba(0, 212, 255, 0.2),
    0 0 60px rgba(147, 51, 234, 0.1),
    inset 0 0 20px rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2),
        0 0 60px rgba(147, 51, 234, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 157, 0.5),
        0 0 60px rgba(0, 212, 255, 0.4),
        0 0 90px rgba(147, 51, 234, 0.3);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    background: none;
    border: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 68, 68, 0.3);
}

.close-modal:hover {
    color: #ff4444;
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.8),
    0 0 30px rgba(255, 68, 68, 0.6),
    0 0 45px rgba(255, 68, 68, 0.4);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 36px;
    padding: 20px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    z-index: 1001;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2),
    0 0 30px rgba(0, 212, 255, 0.1);
}

.modal-nav:hover {
    background: rgba(0, 255, 157, 0.2);
    border-color: rgba(0, 255, 157, 0.6);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.5),
    0 0 50px rgba(0, 212, 255, 0.3),
    0 0 75px rgba(147, 51, 234, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1001;
}

.contact-section {
    padding: 20px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #222;
    border-radius: 25px;
    padding: 40px 35px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #00ff9d;
    box-shadow: 0 25px 70px rgba(0, 255, 157, 0.4);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #04334c 0%, #093b55 100%);
    color: #fff;
    box-shadow: 0 0 50px rgba(91, 193, 244, 0.4);
}

.contact-card:nth-child(1):hover .contact-icon {
    box-shadow: 0 0 50px rgba(0, 119, 181, 0.7);
    transform: rotate(360deg) scale(1.1);
}

.contact-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #84ecd4 0%, #0c5fbc 100%);
    color: #fff;
    box-shadow: 0 0 50px rgba(112, 229, 255, 0.4);
}

.contact-card:nth-child(2):hover .contact-icon {
    box-shadow: 0 0 50px rgba(37, 92, 211, 0.7);
    transform: rotate(360deg) scale(1.1);
}


.contact-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #188e6f 0%, #06ffea 100%);
    color: #fff;
    box-shadow: 0 0 50px rgba(78, 246, 207, 0.66);
}

.contact-card:nth-child(3):hover .contact-icon {
    box-shadow: 0 0 50px rgba(4, 104, 81, 0.7);
    transform: rotate(360deg) scale(1.1);
}


.contact-card:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #188e26 0%, #02773d 100%);
    color: #fff;
    box-shadow: 0 0 50px rgba(94, 246, 78, 0.66);
}

.contact-card:nth-child(4):hover .contact-icon {
    box-shadow: 0 0 50px rgba(10, 73, 32, 0.7);
    transform: rotate(360deg) scale(1.1);
}

.contact-card:nth-child(5) .contact-icon {
    background: linear-gradient(135deg, rgba(218, 35, 209, 0.3) 0%, #b146a4 100%);
    color: #fff;
    box-shadow: 0 0 30px rgb(237, 123, 221);
}

.contact-card:nth-child(5):hover .contact-icon {
    box-shadow: 0 0 50px rgb(155, 10, 239);
    transform: rotate(360deg) scale(1.1);
}

.contact-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-handle {
    font-size: 0.95rem;
    color: #888;
    text-align: center;
    position: relative;
    z-index: 1;
    word-break: break-word;
}

.github-links {
    margin-top: 20px;
}

.github-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.github-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    min-width: 280px;
}

.github-card:hover {
    border-color: #00ff9d;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
    transform: translateY(-5px);
}

.github-icon {
    color: #00ff9d;
}

.github-content {
    flex: 1;
}

.github-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.github-title {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}
@media (max-width: 968px) {
    .project-container, .project-content-peony-bloom {
        padding: 40px 15px;
        flex-direction: column;
        overflow-x: hidden;
    }

    .project-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .project-link-wrapper {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 40px;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .project-link {
        width: 100%;
        display: block;
    }

    .project-content, .project-content-peony-bloom {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .project-title {
        font-size: 2rem;
    }
    .project-title-peony-bloom {
        font-size: 1.4rem;
        padding: 20px;
    }

    .project-link-card, .project-link-card-peony-bloom {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        border-radius: 12px;
    }

    .project-thumbnail, .project-thumbnail-peony-bloom {
        width: 60px;
        height: 60px;
        min-width: 60px;
        flex-shrink: 0;
    }

    .link-content {
        flex: 1;
        min-width: 0;
        padding: 0;
        overflow: hidden;
    }

    .link-label {
        font-size: 9px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .link-text, .link-text-peony-bloom {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .link-arrow, .link-arrow-peony-bloom {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .project-container, .project-content-peony-bloom {
        padding: 30px 10px;
    }

    .project-content, .project-content-peony-bloom {
        padding: 0 5px;
    }

    .project-description {
        text-align: left;
    }

    .project-link-card, .project-link-card-peony-bloom {
        padding: 10px;
        gap: 8px;
        min-width: auto;
    }

    .project-thumbnail, .project-thumbnail-peony-bloom {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .link-text, .link-text-peony-bloom {
        font-size: 13px;
    }

    .link-arrow, .link-arrow-peony-bloom {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.2rem;
    }

    .contact-card {
        width: 100%;
        max-width: 280px;
    }
    .main-title {
        flex-wrap: nowrap;
        font-size: clamp(2.5rem, 8vw, 5rem);
        font-weight: 600;
        margin-bottom: 10px;

    }
}