* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 20%, #0f3460 40%, #1e1b4b 60%, #2d1b69 80%, #1a1f3a 100%);
    z-index: -1;
    animation: gradientAnimation 25s ease infinite;
    background-size: 400% 400%;
}

.section#home:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(78, 0, 146, 0.25) 0%, rgba(78, 0, 146, 0) 30%),
        radial-gradient(circle at 20% 80%, rgba(0, 120, 215, 0.25) 0%, rgba(0, 120, 215, 0) 30%),
        radial-gradient(circle at 50% 50%, rgba(156, 119, 255, 0.15) 0%, rgba(156, 119, 255, 0) 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: colorShift 20s ease infinite;
    pointer-events: none;
}

.section#home.active:before {
    opacity: 1;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes colorShift {
    0% {
        filter: hue-rotate(0deg);
    }
    25% {
        filter: hue-rotate(90deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    75% {
        filter: hue-rotate(270deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle var(--duration) ease-in-out infinite;
    opacity: 0;
    z-index: -1;
}

.container {
    max-width: 1200px;
    width: 90%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

.section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 1rem 1rem 200px 1rem;
}

.section.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.about-card {
    overflow-y: auto;
    padding-bottom: 2rem;
}

.info-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-card {
    flex: 1;
    min-width: 280px;
    background-color: rgba(30, 30, 50, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(156, 119, 255, 0.1);
    border: 1px solid rgba(156, 119, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.4s ease;
    backdrop-filter: blur(8px);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(156, 119, 255, 0.25);
    border-color: rgba(156, 119, 255, 0.3);
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card-header i {
    font-size: 1.5rem;
    color: #9c77ff;
    margin-right: 1rem;
}

.info-card-header h3 {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.info-item {
    display: flex;
    margin-bottom: 0.8rem;
    align-items: baseline;
}

.info-label {
    font-weight: 600;
    min-width: 100px;
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    color: #9c77ff;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-pill {
    display: flex;
    align-items: center;
    background-color: rgba(156, 119, 255, 0.08);
    border: 1.5px solid rgba(156, 119, 255, 0.4);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    color: #9c77ff;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.skill-pill:hover {
    background-color: rgba(156, 119, 255, 0.2);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(156, 119, 255, 0.3);
    border-color: rgba(156, 119, 255, 0.6);
}

.skill-pill i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: #9c77ff;
}

.skill-pill span {
    font-size: 0.9rem;
}

.skill-pill .os-logo {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.5rem;
    vertical-align: -0.1rem;
    color: #9c77ff !important;
    transition: transform 0.3s ease;
}

.skill-pill:hover .os-logo {
    transform: scale(1.15);
}

.skill-pill.minecraft i {
    color: #4CAF50;
}

.about-text {
    margin: 1.5rem 0;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.minecraft-skills {
    margin-top: 1.5rem;
}

.minecraft-skills h3 {
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.minecraft-skills h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, rgba(76, 175, 80, 0) 100%);
    border-radius: 2px;
}

.mc-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.mc-skill {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.8rem;
}

.mc-skill-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.mc-skill-icon i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.mc-skill-info {
    flex-grow: 1;
}

.mc-skill-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .info-cards-container {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        margin-bottom: 0.3rem;
    }
    
    .mc-skills-container {
        flex-direction: column;
    }
}

.card {
    background-color: rgba(20, 22, 35, 0.7);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(156, 119, 255, 0.15), 0 0 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(156, 119, 255, 0.2);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 85vh;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 119, 255, 0.3), transparent);
    border-radius: 16px;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 12px 48px rgba(156, 119, 255, 0.2), 0 0 60px rgba(0, 0, 0, 0.4);
}

.hero-card {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #9c77ff 0%, #6a5acd 50%, rgba(156, 119, 255, 0) 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(156, 119, 255, 0.4);
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.role, .cta {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.projects-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.projects-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.about-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.highlight.red,
.highlight.red:visited,
.highlight.red:active,
.highlight.red:hover {
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.purple {
    background-color: #9c77ff;
}

.orange {
    background-color: #fd7e14;
}

.red {
    background-color: #dc3545;
}

/* Enhanced animations for hero section */
.hero-card h1 {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) 0.2s both;
}

.hero-card .hero-subtitle {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) 0.35s both;
}

.hero-card .hero-buttons {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) 0.5s both;
}

.hero-card .cta {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1) 0.4s both;
}

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

/* Enhanced project card image animation */
.project-img {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Improved tech stack styling */
.tech-stack span {
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '▹';
    color: #9c77ff;
    position: absolute;
    left: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.project-card {
    background-color: rgba(30, 30, 50, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(156, 119, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(156, 119, 255, 0.25);
    border-color: rgba(156, 119, 255, 0.3);
}

.feature-project {
    grid-column: auto;
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(30, 33, 48, 0.9));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

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

.tech-stack {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    background-color: rgba(156, 119, 255, 0.2);
    color: #9c77ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}

.project-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9c77ff;
    transition: width 0.3s ease;
}

.project-links a:hover::after {
    width: 100%;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #9c77ff, #7c3aed);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    margin-top: 1rem;
    border: 1px solid rgba(156, 119, 255, 0.3);
    cursor: pointer;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 119, 255, 0.4);
    border-color: rgba(156, 119, 255, 0.6);
}

.buy-button i {
    font-size: 1rem;
}

.view-more-section {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(156, 119, 255, 0.1);
    grid-column: 1 / -1;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #9c77ff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(156, 119, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.view-more-link:hover {
    border-color: rgba(156, 119, 255, 0.8);
    color: #fff;
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.1), rgba(156, 119, 255, 0.05));
    transform: translateX(4px);
}

.view-more-link i {
    transition: transform 0.3s ease;
}

.view-more-link:hover i {
    transform: translateX(4px);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.05), rgba(156, 119, 255, 0.02));
    border: 1px solid rgba(156, 119, 255, 0.15);
    font-weight: 500;
}

.contact-link:hover {
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.15), rgba(156, 119, 255, 0.08));
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 119, 255, 0.25);
    border-color: rgba(156, 119, 255, 0.4);
}

.contact-link i {
    font-size: 1.3rem;
    color: #9c77ff;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #6a5acd;
}

.x-logo {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    filter: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(5312%) hue-rotate(225deg) brightness(87%) contrast(93%);
}

.x-logo-nav {
    width: 20px;
    height: 20px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    z-index: 10;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.8), transparent);
}

.social-icons {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(30, 33, 48, 0.85), rgba(20, 22, 35, 0.75));
    padding: 1.5rem 2rem;
    border-radius: 60px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(156, 119, 255, 0.2), 0 0 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(156, 119, 255, 0.3);
    animation: floatAnimation 3.5s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.icon-button {
    position: relative;
    width: 56px;
    height: 56px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(100, 70, 190, 0.3), rgba(80, 50, 150, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 2px solid rgba(156, 119, 255, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-button.active .icon-container {
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.6), rgba(120, 80, 200, 0.4));
    box-shadow: 0 0 25px rgba(156, 119, 255, 0.8), 0 0 50px rgba(156, 119, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.15);
    border-color: rgba(200, 150, 255, 0.8);
    transform: scale(1.1);
}

.icon-button.active .icon-container::before {
    opacity: 1;
}

.icon-button:hover .icon-container {
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.5), rgba(120, 80, 200, 0.35));
    transform: translateY(-8px) scale(1.12);
    box-shadow: 0 10px 35px rgba(156, 119, 255, 0.5), 0 0 20px rgba(156, 119, 255, 0.2);
    border-color: rgba(200, 150, 255, 0.6);
}

.icon-button i {
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 0 10px rgba(156, 119, 255, 0.3);
}

.icon-button:hover i {
    transform: scale(1.25) rotate(5deg);
}

.icon-tooltip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: linear-gradient(135deg, rgba(40, 40, 70, 0.95), rgba(30, 33, 48, 0.95));
    color: #e0e0ff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(156, 119, 255, 0.25), 0 0 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(156, 119, 255, 0.4);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.icon-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(40, 40, 70, 0.95) transparent transparent transparent;
}

.icon-button:hover .icon-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(15);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .container {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    .card {
        padding: 1rem 0.5rem;
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        max-height: 90vh;
    }
    .about-card {
        padding-bottom: 1rem;
    }
    .info-cards-container {
        gap: 0.7rem;
        margin: 1rem 0;
    }
    .info-card {
        padding: 1rem 0.5rem;
        min-width: unset;
    }
    .skills-grid {
        gap: 0.4rem;
    }
    .skill-pill {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }
    .about-text {
        margin: 1rem 0;
    }
    .minecraft-skills {
        margin-top: 1rem;
    }
    .mc-skills-container {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    .mc-skill {
        margin-bottom: 0.5rem;
    }
    .project-image {
        height: 140px;
    }
    .projects-grid {
        gap: 0.7rem;
        margin-top: 0.5rem;
    }
    .project-card {
        padding: 1rem 0.5rem;
    }
    .contact-links {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    .contact-link {
        gap: 0.7rem;
        padding: 0.3rem;
    }
    .icon-tooltip {
        font-size: 0.7rem;
        padding: 3px 7px;
    }
    footer {
        padding: 1rem 0.5rem;
    }
    .social-icons {
        padding: 1rem 1.2rem;
        gap: 0.6rem;
    }
    .icon-button {
        width: 44px;
        height: 44px;
    }
    .icon-container {
        font-size: 1rem;
    }
    h1 {
        font-size: 1.3rem;
        gap: 0.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    .logo-img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 375px) {
    .container, .card {
        padding: 0.2rem 0.1rem;
    }
    .project-image {
        height: 100px;
    }
    .logo-img {
        width: 18px;
        height: 18px;
    }
}

.hero-card h1,
.hero-card .subtitle,
.hero-card .role,
.hero-card .cta {
user-select: none;
}

.web-skills {
    margin-top: 1.5rem;
}

.web-skills h3 {
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.web-skills h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #007acc 0%, rgba(0, 122, 204, 0) 100%);
    border-radius: 2px;
}

.web-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.web-skill {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.8rem;
}

.web-skill-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 122, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.web-skill-icon i {
    color: #007acc;
    font-size: 1.2rem;
}

.web-skill-info {
    flex-grow: 1;
}

.web-skill-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.web-skill .skill-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.web-skill .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #007acc, #00a2ff);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .web-skills-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .web-skills {
        margin-top: 1rem;
    }
    
    .web-skills-container {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    
    .web-skill {
        margin-bottom: 0.5rem;
    }
}

.ip-tooltip {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0.95;
    pointer-events: none;
    animation: fadeOutTooltip 1.5s forwards;
}

@keyframes fadeOutTooltip {
    0% { opacity: 0.95; }
    80% { opacity: 0.95; }
    100% { opacity: 0; }
}

