/**
 * Cloud Gaming Map Showcase
 * Design Dark Profissional para Home Page
 */

.cgm-showcase-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 0px;
    overflow: hidden;
}

/* Header */
.cgm-showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.cgm-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #a8ff78 0%, #78ffd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cgm-showcase-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.6;
}

/* Content Area */
.cgm-showcase-content {
    background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(168, 255, 120, 0.1);
    position: relative;
    overflow: hidden;
}

.cgm-showcase-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 255, 120, 0.03) 0%, rgba(120, 255, 214, 0.03) 100%);
    pointer-events: none;
}

/* Map Preview */
.cgm-showcase-map-preview {
    width: 100%;
    height: 400px;
    background: #0a0a0a;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(168, 255, 120, 0.2);
}

.cgm-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 255, 120, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(120, 255, 214, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(51, 217, 178, 0.05) 0%, transparent 60%);
}

.cgm-map-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    pointer-events: none;
}

/* Animated Dots (Servers) */
.cgm-map-dots {
    position: relative;
    width: 100%;
    height: 100%;
}

.cgm-map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(168, 255, 120, 0.8);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px rgba(168, 255, 120, 0.6),
        0 0 20px rgba(168, 255, 120, 0.4);
}

.cgm-map-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(168, 255, 120, 0.2);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes ripple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

/* Connection Lines */
.cgm-map-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
}

.cgm-connections-svg {
    width: 100%;
    height: 100%;
}

.cgm-connection-line {
    animation: fade-line 3s ease-in-out infinite;
}

@keyframes fade-line {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
}

/* Stats Cards */
.cgm-showcase-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cgm-stat-card {
    background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(168, 255, 120, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up 0.6s ease forwards;
}

.cgm-stat-card[data-animation-delay="0"] {
    animation-delay: 0.1s;
}

.cgm-stat-card[data-animation-delay="100"] {
    animation-delay: 0.2s;
}

.cgm-stat-card[data-animation-delay="200"] {
    animation-delay: 0.3s;
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cgm-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 255, 120, 0.4);
    box-shadow: 0 12px 30px rgba(168, 255, 120, 0.15);
}

.cgm-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(168, 255, 120, 0.15) 0%, rgba(120, 255, 214, 0.15) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8ff78;
    flex-shrink: 0;
}

.cgm-stat-content {
    flex: 1;
}

.cgm-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.cgm-stat-label {
    font-size: 0.9rem;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Grid */
.cgm-showcase-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.cgm-feature-item {
    background: rgba(168, 255, 120, 0.05);
    border: 1px solid rgba(168, 255, 120, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.cgm-feature-item:hover {
    background: rgba(168, 255, 120, 0.08);
    border-color: rgba(168, 255, 120, 0.2);
    transform: translateX(5px);
}

.cgm-feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cgm-feature-text {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.5;
}

/* CTA Button */
.cgm-showcase-cta {
    text-align: center;
    margin-top: 50px;
}

.cgm-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #a8ff78 0%, #78ffd6 100%);
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(168, 255, 120, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cgm-showcase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 255, 120, 0.4);
    color: #000000;
}

.cgm-showcase-btn svg {
    transition: transform 0.3s ease;
}

.cgm-showcase-btn:hover svg {
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .cgm-showcase-wrapper {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .cgm-showcase-header {
        margin-bottom: 35px;
    }
    
    .cgm-showcase-title {
        font-size: 2rem;
    }
    
    .cgm-showcase-subtitle {
        font-size: 1rem;
    }
    
    .cgm-showcase-content {
        padding: 25px;
        border-radius: 16px;
    }
    
    .cgm-showcase-map-preview {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .cgm-showcase-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .cgm-stat-card {
        padding: 25px;
    }
    
    .cgm-stat-number {
        font-size: 2rem;
    }
    
    .cgm-showcase-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cgm-showcase-btn {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cgm-showcase-title {
        font-size: 1.6rem;
    }
    
    .cgm-showcase-map-preview {
        height: 250px;
    }
    
    .cgm-stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .cgm-stat-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .cgm-stat-number {
        font-size: 1.8rem;
    }
    
    .cgm-stat-label {
        font-size: 0.8rem;
    }
    
    .cgm-feature-icon {
        font-size: 1.5rem;
    }
    
    .cgm-feature-text {
        font-size: 0.9rem;
    }
}

