/* Achievements Section Enhanced Styles */
.achievements {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.achievements .container {
    position: relative;
    z-index: 3;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(33, 150, 243, 0.1), transparent 50%);
    pointer-events: none;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 3;
}

.achievement-tile {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.achievement-tile:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-top: 4px solid transparent;
    background: linear-gradient(to bottom, rgba(33, 150, 243, 0.1), rgba(255, 255, 255, 0.05));
    background-clip: padding-box;
}

.achievement-tile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(33, 150, 243, 0.2), 
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-tile:hover::before {
    opacity: 1;
}

.achievement-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2196f3, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-tile:hover::after {
    opacity: 1;
}

.achievement-tile-icon {
    font-size: 3rem;
    color: #2196f3;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.achievement-tile:hover .achievement-tile-icon {
    transform: rotate(360deg);
}

.achievement-tile-content h3.neon-count {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2196f3;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    transition: text-shadow 0.3s ease;
}

.achievement-tile:hover h3.neon-count {
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.8);
}

.achievement-tile-content p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Animated Stars Effect */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; left: 20%; animation-delay: 1s; }
.star:nth-child(4) { top: 40%; left: 70%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 50%; left: 15%; animation-delay: 2s; }
.star:nth-child(6) { top: 60%; left: 85%; animation-delay: 2.5s; }
.star:nth-child(7) { top: 70%; left: 25%; animation-delay: 0.3s; }
.star:nth-child(8) { top: 80%; left: 75%; animation-delay: 0.8s; }
.star:nth-child(9) { top: 15%; left: 50%; animation-delay: 1.3s; }
.star:nth-child(10) { top: 25%; left: 30%; animation-delay: 1.8s; }
.star:nth-child(11) { top: 35%; left: 90%; animation-delay: 0.2s; }
.star:nth-child(12) { top: 45%; left: 5%; animation-delay: 0.7s; }
.star:nth-child(13) { top: 55%; left: 60%; animation-delay: 1.2s; }
.star:nth-child(14) { top: 65%; left: 40%; animation-delay: 1.7s; }
.star:nth-child(15) { top: 75%; left: 95%; animation-delay: 0.4s; }
.star:nth-child(16) { top: 85%; left: 35%; animation-delay: 0.9s; }
.star:nth-child(17) { top: 5%; left: 65%; animation-delay: 1.4s; }
.star:nth-child(18) { top: 95%; left: 55%; animation-delay: 1.9s; }
.star:nth-child(19) { top: 12%; left: 45%; animation-delay: 0.1s; }
.star:nth-child(20) { top: 88%; left: 20%; animation-delay: 0.6s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Particle effect for background */
.achievement-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.achievement-particle {
    position: absolute;
    background: rgba(33, 150, 243, 0.4);
    border-radius: 50%;
    animation: particle-float 8s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    25% {
        transform: translate(40px, -30px);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, 50px);
        opacity: 0.9;
    }
    75% {
        transform: translate(30px, -25px);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
}

@keyframes particle-float-slow {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    33% {
        transform: translate(60px, -40px);
        opacity: 0.6;
    }
    66% {
        transform: translate(-30px, 70px);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
}

@keyframes particle-float-fast {
    0% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: translate(25px, -20px);
        opacity: 0.9;
    }
    40% {
        transform: translate(-15px, 35px);
        opacity: 1;
    }
    60% {
        transform: translate(20px, -15px);
        opacity: 0.7;
    }
    80% {
        transform: translate(-10px, 25px);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
}