/* Showcase & Testimonials Section */
.showcase-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(125, 146, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(125, 146, 158, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.showcase-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.showcase-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1e293b, #7d929e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Projects Gallery */
.gallery-section {
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.gallery-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-title i {
    color: #7d929e;
    font-size: 1.5rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-item {
    transition: all var(--transition-normal);
    animation: fadeInUp 1s ease-out both;
}

.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }

.project-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f1f5f9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.project-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-normal);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all var(--transition-normal);
}

.project-image:hover .project-overlay {
    transform: translateY(0);
}

.project-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.project-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.75rem 0;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(125, 146, 158, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.testimonials-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials-title i {
    color: #7d929e;
    font-size: 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(125, 146, 158, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7d929e, #a5b4bc);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7d929e, #a5b4bc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.user-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.user-info p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    font-style: italic;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #7d929e;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
    opacity: 0.3;
}

/* Creative Impact Showcase */
.creative-impact {
    background: linear-gradient(135deg, #2e3234 0%, #3a3f42 50%, #4a5358 100%);
    border-radius: 25px;
    padding: 4rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.9s both;
    border: 1px solid rgba(125, 146, 158, 0.3);
}

.creative-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(125, 146, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(125, 146, 158, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.creative-impact > * {
    position: relative;
    z-index: 2;
}

.impact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.impact-header h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.impact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pixel Creation Demo */
.pixel-creation-demo {
    margin-bottom: 3rem;
}

.creation-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.step.active {
    opacity: 1;
    transform: scale(1.1);
}

.pixel-canvas {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step:hover .pixel-canvas {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pixel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    width: 60px;
    height: 60px;
}

.pixel {
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.pixel.red {
    background: #7d929e;
    animation: pixelPulse 2s ease-in-out infinite;
}

.pixel.blue {
    background: #6b7f8a;
    animation: pixelPulse 2s ease-in-out infinite 0.5s;
}

.pixel.green {
    background: #10b981;
    animation: pixelPulse 2s ease-in-out infinite 1s;
}

@keyframes pixelPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.pixel-grid.animated .pixel {
    animation: colorCycle 3s ease-in-out infinite;
}

@keyframes colorCycle {
    0% { background: #7d929e; }
    33% { background: #6b7f8a; }
    66% { background: #10b981; }
    100% { background: #7d929e; }
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.step-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Achievement Cards */
.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.achievement-card {
    background: rgba(125, 146, 158, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(125, 146, 158, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(125, 146, 158, 0.6);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(125, 146, 158, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.achievement-card:hover .card-glow {
    transform: translateX(100%);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7d929e, #a5b4bc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(125, 146, 158, 0.3);
}

.steam-card .achievement-icon {
    background: linear-gradient(135deg, #1b2838, #2a475e);
}

.community-card .achievement-icon {
    background: linear-gradient(135deg, #7d929e, #a5b4bc);
}

.games-card .achievement-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.legacy-card .achievement-icon {
    background: linear-gradient(135deg, #6b7f8a, #7d929e);
}

.achievement-content {
    position: relative;
    z-index: 2;
}

.achievement-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.big-stat {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.achievement-content p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sub-stat {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Creative Quote */
.creative-quote {
    text-align: center;
    background: rgba(125, 146, 158, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(125, 146, 158, 0.2);
}

.creative-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.creative-quote blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(125, 146, 158, 0.4);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.quote-author i {
    color: #7d929e;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .showcase-section {
        padding: 4rem 0;
    }

    .showcase-header {
        margin-bottom: 3rem;
    }

    .gallery-section,
    .testimonials-section {
        margin-bottom: 3rem;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .creative-impact {
        padding: 2rem;
        margin: 2rem 0;
    }

    .impact-header h3 {
        font-size: 2rem;
    }

    .creation-steps {
        gap: 1.5rem;
    }

    .achievement-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .achievement-card {
        padding: 1.5rem;
    }

    .big-stat {
        font-size: 2.5rem;
    }

    .creative-quote {
        padding: 2rem;
    }

    .creative-quote blockquote {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .creative-impact {
        padding: 1.5rem;
    }

    .creation-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .achievement-cards {
        grid-template-columns: 1fr;
    }

    .achievement-card {
        padding: 1.25rem;
    }

    .big-stat {
        font-size: 2rem;
    }

    .creative-quote {
        padding: 1.5rem;
    }

    .creative-quote blockquote {
        font-size: 1.125rem;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
