/* Enhanced Visual Effects and Animations */

/* Glowing text effect */
.glow-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
    to { text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5); }
}

/* Matrix-style background effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
}

.matrix-column {
    position: absolute;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    animation: matrixFall linear infinite;
}

@keyframes matrixFall {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Typing cursor animation */
.typing-cursor::after {
    content: '|';
    animation: cursorBlink 1s infinite;
    color: #ffffff;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Neon border effect */
.neon-border {
    border: 2px solid #ffffff;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.3),
        inset 0 0 5px rgba(255, 255, 255, 0.1);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        box-shadow: 
            0 0 5px rgba(255, 255, 255, 0.3),
            inset 0 0 5px rgba(255, 255, 255, 0.1);
    }
    to {
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.8),
            inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

/* Holographic effect */
.holographic {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: holographicShine 3s ease-in-out infinite;
}

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

/* Scanline effect */
.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Glitch effect for buttons */
.btn-glitch {
    position: relative;
    overflow: hidden;
}

.btn-glitch::before,
.btn-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
}

.btn-glitch:hover::before {
    animation: glitch1 0.3s ease-in-out;
    color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.btn-glitch:hover::after {
    animation: glitch2 0.3s ease-in-out;
    color: rgba(255, 255, 255, 0.8);
    z-index: -2;
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); opacity: 0; }
    20% { transform: translate(-2px, 2px); opacity: 1; }
    40% { transform: translate(-2px, -2px); opacity: 1; }
    60% { transform: translate(2px, 2px); opacity: 1; }
    80% { transform: translate(2px, -2px); opacity: 1; }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); opacity: 0; }
    20% { transform: translate(2px, -2px); opacity: 1; }
    40% { transform: translate(2px, 2px); opacity: 1; }
    60% { transform: translate(-2px, -2px); opacity: 1; }
    80% { transform: translate(-2px, 2px); opacity: 1; }
}

/* Data stream effect */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '01001001 01101110 01101110 01101111 01110110 01100001 01110100 01101001 01101111 01101110';
    position: absolute;
    top: -50px;
    left: 0;
    width: 200%;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    white-space: nowrap;
    animation: dataFlow 10s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

/* Circuit board pattern */
.circuit-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px;
    background-position: 0 0, 40px 40px, 20px 20px, 60px 60px;
    animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
    0% { background-position: 0 0, 40px 40px, 20px 20px, 60px 60px; }
    100% { background-position: 100px 100px, 140px 140px, 120px 120px, 160px 160px; }
}

/* ===== MODERN CONTACT SECTION ===== */

/* Contact Section Base Styles */
.modern-contact {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Interactive Background Effects */
.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-particles-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: subtleFloat 20s ease-in-out infinite;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Interactive Floating Orbs */
.interactive-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-orb:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-orb:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.floating-orb:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.floating-orb:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 25%;
    animation-delay: 9s;
    animation-duration: 18s;
}

/* Interactive Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    height: 1px;
    animation: lineFlow 6s ease-in-out infinite;
    opacity: 0;
}

.connection-line:nth-child(1) {
    top: 20%;
    left: 0;
    width: 30%;
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 45%;
    right: 0;
    width: 25%;
    animation-delay: 2s;
}

.connection-line:nth-child(3) {
    top: 70%;
    left: 10%;
    width: 35%;
    animation-delay: 4s;
}

/* Interactive Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    opacity: 0.05;
    animation: shapeRotate 20s linear infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 255, 255, 0.8);
    top: 30%;
    left: 80%;
    animation-delay: 0s;
}

.geo-square {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    top: 65%;
    right: 20%;
    animation-delay: 5s;
}

.geo-circle {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 15%;
    right: 35%;
    animation-delay: 10s;
}

.geo-hexagon {
    width: 20px;
    height: 11.55px;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
    top: 75%;
    left: 15%;
    animation-delay: 15s;
}

.geo-hexagon:before,
.geo-hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.geo-hexagon:before {
    bottom: 100%;
    border-bottom: 5.77px solid rgba(255, 255, 255, 0.8);
}

.geo-hexagon:after {
    top: 100%;
    border-top: 5.77px solid rgba(255, 255, 255, 0.8);
}

/* Cursor Trail Effect */
.cursor-trail {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    animation: trailFade 1s ease-out forwards;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    33% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
    }
    66% {
        transform: translateY(10px) translateX(-15px) scale(0.9);
    }
}

@keyframes lineFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

@keyframes shapeRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.15;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.05;
    }
}

@keyframes trailFade {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

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

/* Interactive Memory Game Styles */
.contact-game-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.contact-game-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: gameGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.game-container {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
}

/* Interactive Game Prompt */
.game-attention-grabber {
    position: relative;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 69, 87, 0.1), rgba(255, 107, 107, 0.05));
    border: 1px solid rgba(255, 69, 87, 0.3);
    border-radius: 15px;
    overflow: hidden;
}

.game-attention-grabber::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 69, 87, 0.1) 0%, transparent 70%);
    animation: attentionPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.challenge-stats-teaser {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-teaser {
    text-align: center;
    padding: 8px 14px;
    background: rgba(255, 69, 87, 0.15);
    border: 1px solid rgba(255, 69, 87, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: auto;
    height: auto;
}

.stat-teaser:hover {
    background: rgba(255, 69, 87, 0.25);
    border-color: rgba(255, 69, 87, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 69, 87, 0.3);
}

.teaser-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ff4757;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 69, 87, 0.5);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 2px;
}

.teaser-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dare-button {
    position: relative;
    display: inline-block;
    margin: 20px 0;
    padding: 15px 35px;
    background: linear-gradient(135deg, rgba(255, 69, 87, 0.8), rgba(255, 107, 107, 0.6));
    border: 2px solid #ff4757;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 69, 87, 0.4);
    animation: dareButtonPulse 2s ease-in-out infinite;
}

.dare-button:hover {
    background: linear-gradient(135deg, rgba(255, 69, 87, 1), rgba(255, 107, 107, 0.8));
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 69, 87, 0.6);
    animation-play-state: paused;
}

.dare-text {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.dare-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 28px;
}

.dare-particles::before,
.dare-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: dareParticle1 3s ease-in-out infinite;
}

.dare-particles::after {
    animation: dareParticle2 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.floating-challenge-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.challenge-line {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff4757;
    text-shadow: 0 2px 10px rgba(255, 69, 87, 0.3);
    animation: challengeFloat 2s ease-in-out infinite;
}

.challenge-line:nth-child(2) {
    animation-delay: 0.5s;
    color: #ffa726;
}

.pulsing-arrow {
    font-size: 2rem;
    color: #ff6b6b;
    animation: arrowPulse 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.game-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.difficulty-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    backdrop-filter: blur(5px);
}

.badge.expert {
    background: linear-gradient(135deg, rgba(255, 69, 87, 0.2), rgba(255, 69, 87, 0.1));
    border-color: rgba(255, 69, 87, 0.5);
    color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 69, 87, 0.3);
}

.badge.timer {
    background: linear-gradient(135deg, rgba(255, 167, 38, 0.2), rgba(255, 167, 38, 0.1));
    border-color: rgba(255, 167, 38, 0.5);
    color: #ffa726;
    box-shadow: 0 0 15px rgba(255, 167, 38, 0.3);
}

.badge.hardcore {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.1));
    border-color: rgba(156, 39, 176, 0.5);
    color: #9c27b0;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    min-width: 70px;
    flex: 1;
    max-width: 100px;
}

.timer-stat {
    border: 2px solid rgba(255, 167, 38, 0.3);
    background: linear-gradient(135deg, rgba(255, 167, 38, 0.1), rgba(255, 167, 38, 0.05));
}

.timer-stat .stat-value {
    color: #ffa726;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 280px;
    height: auto;
    margin: 0 auto 30px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    place-items: center;
    align-content: center;
    justify-content: center;
}

.game-tile {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    justify-self: center;
    align-self: center;
}

.game-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-tile[data-color="red"] {
    background: linear-gradient(135deg, #ff4757, #c44569);
}

.game-tile[data-color="blue"] {
    background: linear-gradient(135deg, #3742fa, #2f3542);
}

.game-tile[data-color="green"] {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.game-tile[data-color="yellow"] {
    background: linear-gradient(135deg, #feca57, #ff6348);
}

.game-tile[data-color="purple"] {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
}

.game-tile[data-color="orange"] {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.game-tile.active {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    border-color: #ffffff;
}

.game-tile.wrong {
    animation: gameWrongTile 0.5s ease-out;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.game-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.game-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-btn:active {
    transform: translateY(0);
}

.game-btn i {
    font-size: 1.1rem;
}

.game-message {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-message p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

.game-completion {
    margin-top: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.1), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(129, 199, 132, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.completion-content h4 {
    color: #81c784;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.completion-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.achievement-badge {
    display: inline-block;
    margin: 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: achievementGlow 2s ease-in-out infinite;
}

.achievement-text {
    color: #ffd700;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
}

.contact-cta-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #81c784, #66bb6a);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(129, 199, 132, 0.3);
}

.contact-cta-btn:hover {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(129, 199, 132, 0.4);
}

.contact-cta-btn i {
    font-size: 1.2rem;
}

/* Game Animations */
@keyframes gameGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes gameWrongTile {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

@keyframes gameTileFlash {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

@keyframes attentionPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes challengeFloat {
    0%, 100% {
        transform: translateY(0px);
        text-shadow: 0 2px 10px rgba(255, 69, 87, 0.3);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 4px 20px rgba(255, 69, 87, 0.5);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px) scale(1.2);
        opacity: 1;
    }
}

@keyframes achievementGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
        border-color: rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
        border-color: rgba(255, 215, 0, 0.9);
    }
}

@keyframes dareButtonPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 69, 87, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 69, 87, 0.6);
        transform: scale(1.02);
    }
}

@keyframes dareParticle1 {
    0% {
        top: 20%;
        left: 10%;
        opacity: 0;
    }
    50% {
        top: 10%;
        left: 90%;
        opacity: 1;
    }
    100% {
        top: 80%;
        left: 20%;
        opacity: 0;
    }
}

@keyframes dareParticle2 {
    0% {
        top: 80%;
        left: 80%;
        opacity: 0;
    }
    50% {
        top: 20%;
        left: 20%;
        opacity: 1;
    }
    100% {
        top: 60%;
        left: 90%;
        opacity: 0;
    }
}

@keyframes teaserPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 69, 87, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 69, 87, 0.5);
    }
}

/* Responsive Game Design */

/* Section Header */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Contact Wrapper */
.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Information Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.card-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.location-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 0.5rem !important;
}

.card-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #cccccc;
    transform: translateX(5px);
}

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

.card-link:hover i {
    transform: translateX(3px);
}

/* Social Links Section */
.social-links-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.5rem;
    justify-content: flex-start;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Modern Contact Form */
.modern-contact-form {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #ffffff;
    transform: scale(0.9);
}

.form-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-group input:focus ~ .form-border,
.form-group textarea:focus ~ .form-border {
    width: 100%;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-text,
.btn-icon {
    transition: all 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    opacity: 0;
}

.submit-btn.loading .btn-loading {
    opacity: 1;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Form Status */
.form-status {
    margin-top: 1.5rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-message {
    display: none;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    animation: statusFadeIn 0.3s ease-out;
}

.status-message.show {
    display: flex;
}

.status-message.success {
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.status-message.error {
    background: rgba(183, 28, 28, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #e57373;
}

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

/* Bottom Quote */
.contact-quote-modern {
    text-align: center;
    margin-top: 80px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.contact-quote-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.contact-quote-modern blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.contact-quote-modern cite {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: normal;
}

/* Responsive Design */

/* Loading bar animation */
.loading-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: loadingMove 2s infinite;
}

@keyframes loadingMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Text scramble effect */
.text-scramble {
    position: relative;
}

.text-scramble::before {
    content: attr(data-scramble);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: scramble 0.5s ease-in-out;
}

@keyframes scramble {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Terminal cursor */
.terminal-cursor::after {
    content: '█';
    animation: terminalBlink 1s infinite;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes terminalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hexagonal grid pattern */
.hex-grid {
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 25% 43%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 43%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 52px;
    background-position: 0 0, 0 0, 0 0;
}

/* Particle trail effect */
.particle-trail {
    position: relative;
}

.particle-trail::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleTrail 2s ease-out infinite;
}

@keyframes particleTrail {
    0% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: scale(0.1) translate(20px, -20px);
    }
}

/* Static noise effect */
.static-noise {
    position: relative;
    overflow: hidden;
}

.static-noise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" /></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    animation: staticMove 0.1s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes staticMove {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1px, -1px); }
    20% { transform: translate(1px, -1px); }
    30% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, 1px); }
    50% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, -1px); }
    70% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, 1px); }
    90% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); }
}

/* ===== ENHANCED CERTIFICATES SECTION ===== */

/* Certificates Section Background */
.certificates {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
    padding: 100px 0;
}

.certificates-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Certificate Icons */
.floating-certificates {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-cert {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatCert 20s linear infinite;
    filter: blur(0.5px);
}

.floating-cert:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.floating-cert:nth-child(2) { left: 20%; animation-delay: 3s; animation-duration: 22s; }
.floating-cert:nth-child(3) { left: 30%; animation-delay: 6s; animation-duration: 28s; }
.floating-cert:nth-child(4) { left: 40%; animation-delay: 9s; animation-duration: 24s; }
.floating-cert:nth-child(5) { left: 60%; animation-delay: 12s; animation-duration: 26s; }
.floating-cert:nth-child(6) { left: 70%; animation-delay: 15s; animation-duration: 23s; }
.floating-cert:nth-child(7) { left: 80%; animation-delay: 18s; animation-duration: 27s; }
.floating-cert:nth-child(8) { left: 90%; animation-delay: 21s; animation-duration: 25s; }

@keyframes floatCert {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Digital Pattern Lines */
.digital-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pattern-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: patternMove 15s linear infinite;
}

.pattern-line:nth-child(1) { top: 20%; width: 60%; left: 20%; animation-delay: 0s; }
.pattern-line:nth-child(2) { top: 40%; width: 80%; left: 10%; animation-delay: 2s; }
.pattern-line:nth-child(3) { top: 60%; width: 70%; left: 15%; animation-delay: 4s; }
.pattern-line:nth-child(4) { top: 80%; width: 50%; left: 25%; animation-delay: 6s; }
.pattern-line:nth-child(5) { top: 30%; width: 90%; left: 5%; animation-delay: 8s; }
.pattern-line:nth-child(6) { top: 70%; width: 65%; left: 20%; animation-delay: 10s; }

@keyframes patternMove {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Achievement Particles */
.achievement-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 12s linear infinite;
}

.particle:nth-child(1) { left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 35%; animation-delay: 3s; }
.particle:nth-child(4) { left: 45%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 55%; animation-delay: 6s; }
.particle:nth-child(6) { left: 65%; animation-delay: 7.5s; }
.particle:nth-child(7) { left: 75%; animation-delay: 9s; }
.particle:nth-child(8) { left: 85%; animation-delay: 10.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Certification Waves */
.cert-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: waveMove 20s ease-in-out infinite;
}

.wave-1 { top: 25%; animation-delay: 0s; }
.wave-2 { top: 50%; animation-delay: 7s; }
.wave-3 { top: 75%; animation-delay: 14s; }

@keyframes waveMove {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
}

/* Interactive Grid */
.cert-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.05;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.grid-line:nth-child(1) {
    width: 1px;
    height: 100%;
    left: 25%;
    animation: gridPulse 8s ease-in-out infinite;
}

.grid-line:nth-child(2) {
    width: 1px;
    height: 100%;
    left: 50%;
    animation: gridPulse 8s ease-in-out infinite 2s;
}

.grid-line:nth-child(3) {
    width: 1px;
    height: 100%;
    left: 75%;
    animation: gridPulse 8s ease-in-out infinite 4s;
}

.grid-line:nth-child(4) {
    width: 100%;
    height: 1px;
    top: 50%;
    animation: gridPulse 8s ease-in-out infinite 6s;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.2; }
}

/* Holographic Effects */
.holographic-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.holo-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: holoScan 12s linear infinite;
}

.beam-1 { left: 20%; animation-delay: 0s; }
.beam-2 { left: 50%; animation-delay: 4s; }
.beam-3 { left: 80%; animation-delay: 8s; }

@keyframes holoScan {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Certificates Header */
.certificates-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.certificates-header .section-title {
    margin-bottom: 20px;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.underline-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    animation: fillUnderline 3s ease-in-out infinite;
}

@keyframes fillUnderline {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Certification Stats */
.cert-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.cert-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cert-stats .stat-item:hover::before {
    left: 100%;
}

.cert-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-stats .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.cert-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

.cert-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Certificates Constellation */
.certificates-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

/* Certificate Card */
.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.certificate-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Featured Certificate */
.featured-cert {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.featured-cert::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.certificate-card:hover .card-glow {
    opacity: 1;
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.certificate-card:hover .card-shine {
    left: 100%;
}

/* Certificate Ribbon */
.certificate-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.8));
    color: #000;
    padding: 5px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(15deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ribbon-text {
    position: relative;
    z-index: 1;
}

/* Certificate Header */
.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cert-logo {
    position: relative;
}

.cert-logo .cert-logo-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cert-logo .cert-logo-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: certLogoPulse 2s ease-in-out infinite;
}

@keyframes certLogoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0; }
}

.cert-badge {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Certificate Content */
.certificate-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.cert-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cert-issuer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.issuer-logo {
    font-size: 1.2rem;
}

.issuer-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.detail-item i {
    width: 16px;
    color: rgba(255, 255, 255, 0.5);
}

/* Certificate Skills */
.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Certificate Footer */
.certificate-footer {
    position: relative;
    z-index: 1;
}

.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.cert-btn:hover .btn-ripple {
    width: 100px;
    height: 100px;
}

/* Certificate Particles */
.cert-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cert-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: certParticleFloat 6s ease-in-out infinite;
}

.cert-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.cert-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.cert-particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes certParticleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* ===== ENHANCED ACHIEVEMENTS SECTION ===== */

/* Achievements Section Background */
.achievements {
    position: relative;
    background: linear-gradient(180deg, 
        #0a0a0a 0%, 
        #1a1a1a 15%, 
        #0f0f0f 30%, 
        #1a1a1a 45%, 
        #0f0f0f 60%, 
        #1a1a1a 75%, 
        #0a0a0a 100%
    );
    overflow: hidden;
    padding: 120px 0;
    
    /* Blend with previous section */
    margin-top: -1px;
    margin-bottom: -1px;
    
    /* Seamless transition */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    
    /* Add subtle inner shadow for depth */
    box-shadow: 
        inset 0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 -20px 40px rgba(0, 0, 0, 0.2);
}

/* Section Blending */
.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 1) 0%, 
        rgba(15, 15, 15, 0.8) 30%, 
        rgba(26, 26, 26, 0.4) 70%, 
        transparent 100%
    );
    z-index: 1;
}

.achievements::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, 
        rgba(10, 10, 10, 1) 0%, 
        rgba(15, 15, 15, 0.8) 30%, 
        rgba(26, 26, 26, 0.4) 70%, 
        transparent 100%
    );
    z-index: 1;
}

/* Main Container */
.achievements .container {
    position: relative;
    z-index: 10;
}

.achievements-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Floating Achievement Icons */
.floating-achievements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-achievement {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.1;
    animation: floatAchievement 25s linear infinite;
    filter: blur(0.5px);
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.floating-achievement:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 28s; }
.floating-achievement:nth-child(2) { left: 20%; animation-delay: 3s; animation-duration: 25s; }
.floating-achievement:nth-child(3) { left: 30%; animation-delay: 6s; animation-duration: 30s; }
.floating-achievement:nth-child(4) { left: 40%; animation-delay: 9s; animation-duration: 27s; }
.floating-achievement:nth-child(5) { left: 60%; animation-delay: 12s; animation-duration: 29s; }
.floating-achievement:nth-child(6) { left: 70%; animation-delay: 15s; animation-duration: 26s; }
.floating-achievement:nth-child(7) { left: 80%; animation-delay: 18s; animation-duration: 31s; }
.floating-achievement:nth-child(8) { left: 90%; animation-delay: 21s; animation-duration: 28s; }

@keyframes floatAchievement {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.8);
        opacity: 0;
        filter: blur(2px);
    }
    15% {
        opacity: 0.1;
        transform: scale(1);
        filter: blur(0.5px);
    }
    85% {
        opacity: 0.1;
        filter: blur(0.5px);
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(1.2);
        opacity: 0;
        filter: blur(2px);
    }
}

/* Success Pattern Rings */
.success-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pattern-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: ringExpand 15s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.02);
}

.pattern-ring:nth-child(1) { 
    width: 200px; 
    height: 200px; 
    margin: -100px 0 0 -100px; 
    animation-delay: 0s; 
}
.pattern-ring:nth-child(2) { 
    width: 400px; 
    height: 400px; 
    margin: -200px 0 0 -200px; 
    animation-delay: 3s; 
}
.pattern-ring:nth-child(3) { 
    width: 600px; 
    height: 600px; 
    margin: -300px 0 0 -300px; 
    animation-delay: 6s; 
}
.pattern-ring:nth-child(4) { 
    width: 800px; 
    height: 800px; 
    margin: -400px 0 0 -400px; 
    animation-delay: 9s; 
}
.pattern-ring:nth-child(5) { 
    width: 1000px; 
    height: 1000px; 
    margin: -500px 0 0 -500px; 
    animation-delay: 12s; 
}

@keyframes ringExpand {
    0%, 100% { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.1; 
    }
}

/* Achievement Particles */
.achievement-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ach-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: achParticleFloat 18s linear infinite;
}

.ach-particle:nth-child(1) { left: 15%; animation-delay: 0s; }
.ach-particle:nth-child(2) { left: 25%; animation-delay: 2s; }
.ach-particle:nth-child(3) { left: 35%; animation-delay: 4s; }
.ach-particle:nth-child(4) { left: 45%; animation-delay: 6s; }
.ach-particle:nth-child(5) { left: 55%; animation-delay: 8s; }
.ach-particle:nth-child(6) { left: 65%; animation-delay: 10s; }
.ach-particle:nth-child(7) { left: 75%; animation-delay: 12s; }
.ach-particle:nth-child(8) { left: 85%; animation-delay: 14s; }
.ach-particle:nth-child(9) { left: 5%; animation-delay: 16s; }
.ach-particle:nth-child(10) { left: 95%; animation-delay: 18s; }

@keyframes achParticleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
        transform: scale(1);
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Victory Rays */
.victory-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform-origin: bottom center;
    animation: rayRotate 20s linear infinite;
}

.ray:nth-child(1) { animation-delay: 0s; }
.ray:nth-child(2) { animation-delay: 3.33s; }
.ray:nth-child(3) { animation-delay: 6.66s; }
.ray:nth-child(4) { animation-delay: 10s; }
.ray:nth-child(5) { animation-delay: 13.33s; }
.ray:nth-child(6) { animation-delay: 16.66s; }

@keyframes rayRotate {
    0% { 
        transform: rotate(0deg) translateY(-50%); 
        opacity: 0; 
    }
    50% { 
        opacity: 0.5; 
    }
    100% { 
        transform: rotate(360deg) translateY(-50%); 
        opacity: 0; 
    }
}

/* Accomplishment Grid */
.accomplishment-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.05;
}

.grid-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: gridDotPulse 6s ease-in-out infinite;
}

.grid-dot:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.grid-dot:nth-child(2) { top: 20%; left: 50%; animation-delay: 0.7s; }
.grid-dot:nth-child(3) { top: 20%; left: 80%; animation-delay: 1.4s; }
.grid-dot:nth-child(4) { top: 50%; left: 20%; animation-delay: 2.1s; }
.grid-dot:nth-child(5) { top: 50%; left: 50%; animation-delay: 2.8s; }
.grid-dot:nth-child(6) { top: 50%; left: 80%; animation-delay: 3.5s; }
.grid-dot:nth-child(7) { top: 80%; left: 20%; animation-delay: 4.2s; }
.grid-dot:nth-child(8) { top: 80%; left: 50%; animation-delay: 4.9s; }
.grid-dot:nth-child(9) { top: 80%; left: 80%; animation-delay: 5.6s; }

@keyframes gridDotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.05; 
    }
    50% { 
        transform: scale(2); 
        opacity: 0.2; 
    }
}

/* Recognition Waves */
.recognition-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.rec-wave {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: recWaveMove 25s ease-in-out infinite;
}

.rec-wave:nth-child(1) { top: 30%; animation-delay: 0s; }
.rec-wave:nth-child(2) { top: 50%; animation-delay: 8s; }
.rec-wave:nth-child(3) { top: 70%; animation-delay: 16s; }

@keyframes recWaveMove {
    0%, 100% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Achievements Header */
.achievements-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.achievements-header .section-title {
    position: relative;
    margin-bottom: 20px;
}

.title-crown {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 1.5rem;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.achievements-header .title-underline {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.achievements-header .underline-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    animation: fillUnderlineAch 4s ease-in-out infinite;
}

@keyframes fillUnderlineAch {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.achievements-header .section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Achievement Stats */
.achievement-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.achievement-stats .stat-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.achievement-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.achievement-stats .stat-item:hover::before {
    left: 100%;
}

.achievement-stats .stat-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.achievement-stats .stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.achievement-stats .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.achievement-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Achievements Showcase */     
.achievements-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

/* Achievement Card */
.achievement-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.achievement-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

/* Featured Achievement */
.featured-achievement {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.featured-achievement::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: featuredShimmer 4s ease-in-out infinite;
}

@keyframes featuredShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Card Shine and Glow Effects */
.achievement-card .card-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), transparent, rgba(255, 255, 255, 0.15));
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.achievement-card:hover .card-glow {
    opacity: 1;
}

.achievement-card .card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.achievement-card:hover .card-shine {
    left: 100%;
}

/* Achievement Ribbon */
.achievement-ribbon {
    position: absolute;
    top: 25px;
    right: -15px;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.9));
    color: #000;
    padding: 8px 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* Achievement Header */
.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.achievement-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: none;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon-container {
    background: transparent;
    border: none;
    transform: scale(1.05);
    box-shadow: none;
}

.achievement-icon {
    font-size: 2rem;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    
    /* Complete reset for FontAwesome */
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    vertical-align: baseline !important;
    background: transparent !important;
    
    /* FontAwesome rendering */
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure FontAwesome icon is perfectly centered in grid */
.achievement-icon-container .achievement-icon {
    grid-area: 1 / 1;
}

/* Fallback for browsers without CSS Grid support */
@supports not (display: grid) {
    .achievement-icon-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.achievement-card:hover .achievement-icon {
    color: #ffffff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transform: scale(1.1) rotate(5deg);
}

.achievement-icon-container .icon-glow {
    display: none;
}

/* Icon glow disabled */

.achievement-icon-container .icon-pulse {
    display: none;
}

@keyframes achIconPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.3); 
        opacity: 0; 
    }
}

/* Achievement Rank */
.achievement-rank {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.rank-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.rank-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    animation: rankGlow 4s ease-in-out infinite;
}

@keyframes rankGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Achievement Content */
.achievement-content {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.achievement-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.achievement-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Achievement Meta */
.achievement-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.meta-item i {
    width: 18px;
    color: rgba(255, 255, 255, 0.5);
}

/* Achievement Tags */
.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.achievement-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.achievement-tags .tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Achievement Footer */
.achievement-footer {
    position: relative;
    z-index: 1;
}

.achievement-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.achievement-btn .btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.achievement-btn:hover .btn-ripple {
    width: 120px;
    height: 120px;
}

/* Achievement Sparkles */
.achievement-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.sparkle {
    position: absolute;
    font-size: 1.2rem;
    animation: sparkleFloat 4s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.sparkle-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 25%;
    right: 20%;
    animation-delay: 1.3s;
}

.sparkle-3 {
    bottom: 20%;
    left: 25%;
    animation-delay: 2.6s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* Personal Interests Section */
.personal-interests-section {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.interests-header {
    margin-bottom: 50px;
}

.interests-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-icon {
    position: absolute;
    top: -10px;
    right: -25px;
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(15deg); }
}

.interests-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Interests Constellation */
.interests-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Interest Card */
.interest-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.interest-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.interest-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.interest-card:hover .interest-glow {
    opacity: 1;
}

/* Interest Icon Container */
.interest-icon-container {
    position: relative;
    width: 90px;
    height: 90px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.interest-card:hover .interest-icon-container {
    background: transparent;
    border: none;
    transform: scale(1.05);
    box-shadow: none;
}

.interest-icon {
    font-size: 2.2rem;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    
    /* Complete reset for FontAwesome */
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    vertical-align: baseline !important;
    background: transparent !important;
    
    /* FontAwesome rendering */
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure FontAwesome icon is perfectly centered in grid */
.interest-icon-container .interest-icon {
    grid-area: 1 / 1;
}

/* Fallback for browsers without CSS Grid support */
@supports not (display: grid) {
    .interest-icon-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.interest-card:hover .interest-icon {
    color: #ffffff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transform: scale(1.1) rotate(-5deg);
}

.icon-orbit {
    display: none;
}

@keyframes iconOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interest Content */
.interest-content {
    text-align: center;
}

.interest-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.interest-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Interest Level */
.interest-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.level-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.level-bar {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    width: 85%;
    animation: levelFill 2s ease-in-out;
}

@keyframes levelFill {
    0% { width: 0; }
    100% { width: 85%; }
}

/* Interest Particles */
.interest-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.interest-particles .particle {
    position: absolute;
    font-size: 1rem;
    animation: interestParticleFloat 5s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.interest-particles .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.interest-particles .particle:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 1.7s;
}

.interest-particles .particle:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 3.4s;
}

@keyframes interestParticleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Responsive Design */

