/* Game Services Section - Modern Hexagon Design */
/* Using Logo Colors: Orange (#FF9A3C), Pink (#FF4D7D), Purple (#8B5CF6), Blue (#3B82F6) */

.game-services-modern {
    padding: 5rem 0;
    background: rgba(13, 17, 23, 0.5);
    position: relative;
    overflow: hidden;
}

.game-services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 154, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.game-services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.game-services-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.game-services-icon {
    font-size: 3rem;
    animation: game-icon-bounce 2s ease infinite;
}

@keyframes game-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-services-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Grid Layout */
.game-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hexagon Card */
.game-hex-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.game-hex-card:hover {
    transform: translateY(-10px);
}

/* Hexagon Shape */
.game-hex-shape {
    width: 150px;
    height: 150px;
    position: relative;
}

.game-hex-inner {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.1), rgba(139, 92, 246, 0.1));
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.game-hex-inner::before {
    content: '';
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(13, 17, 23, 0.95);
    z-index: 1;
}

/* Icon Container */
.game-hex-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.game-hex-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Glow Effect */
.game-hex-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.3), rgba(255, 77, 125, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

/* Active Game Hover */
.game-hex-active:hover .game-hex-inner {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.3), rgba(255, 77, 125, 0.3));
    animation: game-hex-pulse 1.5s ease infinite;
}

@keyframes game-hex-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 154, 60, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 77, 125, 0.5); }
}

.game-hex-active:hover .game-hex-glow {
    opacity: 1;
}

.game-hex-active:hover .game-hex-icon img {
    transform: scale(1.1) rotate(5deg);
}

/* Coming Soon Overlay */
.game-hex-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.game-hex-soon-text {
    color: #FF4D7D;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 77, 125, 0.5);
}

.game-hex-soon .game-hex-icon img {
    filter: grayscale(100%) opacity(0.5);
}

/* Card Info */
.game-hex-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.game-hex-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Badge */
.game-hex-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-hex-badge-active {
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3);
}

.game-hex-badge-soon {
    background: rgba(255, 77, 125, 0.2);
    color: #FF4D7D;
    border: 1px solid rgba(255, 77, 125, 0.3);
}

/* Hover Effects for Active Games */
.game-hex-active .game-hex-badge-active {
    animation: game-badge-glow 2s ease infinite;
}

@keyframes game-badge-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 77, 125, 0.6); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .game-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem;
    }
    
    .game-hex-shape {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 992px) {
    .game-services-modern {
        padding: 4rem 0;
    }
    
    .game-services-title {
        font-size: 2.5rem;
    }
    
    .game-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    
    .game-hex-shape {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .game-services-modern {
        padding: 3rem 0;
    }
    
    .game-services-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .game-services-subtitle {
        font-size: 1rem;
    }
    
    .game-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .game-hex-shape {
        width: 100px;
        height: 100px;
    }
    
    .game-hex-title {
        font-size: 0.95rem;
    }
    
    .game-hex-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .game-services-header {
        margin-bottom: 2rem;
    }
    
    .game-services-title {
        font-size: 1.8rem;
    }
    
    .game-services-icon {
        font-size: 2rem;
    }
    
    .game-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .game-hex-shape {
        width: 90px;
        height: 90px;
    }
}

/* Loading Animation */
@keyframes game-hex-load {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.game-hex-card {
    animation: game-hex-load 0.5s ease forwards;
}
