@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-plus {
    font-size: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

a, button, input, textarea, .view-details {
    cursor: none;
}

a:hover, button:hover, input:hover, textarea:hover, .view-details:hover {
    cursor: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: #ff69b4;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff69b4;
}

nav ul li a i {
    margin-right: 5px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

#profile-container {
    text-align: center;
    margin-bottom: 50px;
}

#profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

#profile-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff69b4, #00bfff);
    z-index: -1;
    border-radius: 50%;
    animation: glowAnimation 3s infinite alternate;
}

@keyframes glowAnimation {
    0% {
        filter: blur(5px);
        opacity: 0.5;
    }
    100% {
        filter: blur(10px);
        opacity: 1;
    }
}

#pfp {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.about-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 250px;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0  5px 15px rgba(255, 105, 180, 0.3);
}

.about-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff69b4;
}

.about-item i {
    margin-right: 10px;
}

.skill-bars {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.bar div {
    height: 100%;
    border-radius: 5px;
    width: 0;
    transition: width 2s ease-out;
}

.python { background-color: #3572A5; }
.javascript { background-color: #f0db4f; }
.html { background-color: #e34c26; }
.css { background-color: #264de4; }
.uiux { background-color: #ff69b4; }
.database { background-color: #4CAF50; }
.typescript { background-color: #007acc; }
.lua { background-color: #ffffff; }

#stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-container {
    text-align: center;
    margin: 20px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff69b4;
}

#projects {
    padding: 50px 0;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2);
}

.project-image-container {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card:hover .project-image {
    filter: blur(5px);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff69b4;
}

.project-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-status {
    display: inline-block;
    background-color: #ffd700;
    color: #0a0a0a;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.project-links {
    display: flex;
    gap: 10px;
}

.view-details, .site-link, .github-link {
    display: inline-block;
    background-color: #ff69b4;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

.view-details:hover, .site-link:hover, .github-link:hover {
    background-color: #ff1493;
    transform: scale(1.05);
}

.site-link, .github-link {
    background-color: #4CAF50;
    padding: 6px 12px;
}

.site-link:hover, .github-link:hover {
    background-color: #45a049;
}

.project-card.featured {
    grid-column: span 2;
}

.project-card.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.project-card.coming-soon .project-info {
    text-align: center;
}

.project-card.coming-soon h3 {
    color: #ff69b4;
}

#ui-showcase {
    padding: 50px 0;
}

.ui-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.ui-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ui-item:hover {
    transform: scale(1.05);
}

.ui-item img {
    width: 100%;
    height: auto;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#modal-emojis {
    margin-top: 20px;
    font-size: 24px;
}



.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.discord-btn,
.github-btn,
.coffee-btn {
    display: inline-flex;
    align-items: center;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.discord-btn { background-color: #7289da; }
.github-btn { background-color: #333; }
.coffee-btn { background-color: #ff813f; }

.discord-btn:hover { background-color: #5b6eae; }
.github-btn:hover { background-color: #555; }
.coffee-btn:hover { background-color: #ff6a00; }

.discord-btn i,
.github-btn i,
.coffee-btn i {
    margin-right: 10px;
}

#emoji-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.emoji {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    transition: all 0.5s ease-out;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .contact-container {
        flex-direction: column;
    }

    .project-card.featured {
        grid-column: span 1;
    }
}