/**
 * Gaming Section Styles
 * STP Token - Roblox City of the Future Game
 */

/* ============================================
   GAMING SECTION - MAIN
   ============================================ */

.gaming-section {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(211, 84, 0, 0.1) 100%);
    border: 2px solid #e67e22;
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.gaming-section::before {
    content: '🎮';
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 200px;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

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

.gaming-header {
    text-align: center;
    margin-bottom: 50px;
}

.gaming-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gaming-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gaming-subtitle {
    color: #b8c5c5;
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   GAME SHOWCASE - HERO
   ============================================ */

.game-showcase {
    background: linear-gradient(135deg, rgba(10, 31, 31, 0.9) 0%, rgba(15, 40, 40, 0.9) 100%);
    border: 3px solid #e67e22;
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.game-showcase::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.game-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(10, 31, 31, 0.8);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid rgba(230, 126, 34, 0.3);
    z-index: 1;
}

.game-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2), rgba(211, 84, 0, 0.2));
}

.game-placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.game-placeholder-text {
    color: #e67e22;
    font-size: 24px;
    font-weight: 700;
}

.game-placeholder-subtext {
    color: #b8c5c5;
    font-size: 16px;
    margin-top: 10px;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    z-index: 1;
    position: relative;
}

.game-info-card {
    background: rgba(230, 126, 34, 0.1);
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.game-info-card:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.game-info-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.game-info-label {
    color: #95a5a6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.game-info-value {
    color: #e67e22;
    font-size: 20px;
    font-weight: 700;
}

/* ============================================
   GAME FEATURES GRID
   ============================================ */

.game-features {
    margin: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(10, 31, 31, 0.8) 0%, rgba(15, 40, 40, 0.8) 100%);
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #e67e22;
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.feature-title {
    color: #e67e22;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-description {
    color: #b8c5c5;
    line-height: 1.8;
    font-size: 15px;
}

/* ============================================
   TOKEN INTEGRATION SECTION
   ============================================ */

.token-integration {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border: 2px solid #f39c12;
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.integration-card {
    background: rgba(10, 31, 31, 0.7);
    border: 2px solid rgba(241, 196, 15, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: scale(1.05);
    border-color: #f39c12;
    box-shadow: 0 10px 30px rgba(241, 196, 15, 0.3);
}

.integration-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.integration-title {
    color: #f39c12;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.integration-text {
    color: #b8c5c5;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   GAME ROADMAP
   ============================================ */

.game-roadmap {
    margin: 50px 0;
}

.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}

.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(180deg, #e67e22, rgba(230, 126, 34, 0.3));
}

.roadmap-item:last-child::before {
    display: none;
}

.roadmap-phase {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    position: relative;
    z-index: 1;
}

.roadmap-content {
    flex: 1;
    background: rgba(10, 31, 31, 0.7);
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    border-color: #e67e22;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.2);
}

.roadmap-date {
    color: #e67e22;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.roadmap-title {
    color: #f4d03f;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.roadmap-description {
    color: #b8c5c5;
    line-height: 1.6;
}

/* ============================================
   CALL TO ACTION
   ============================================ */

.gaming-cta {
    text-align: center;
    margin: 60px 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-game-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-game-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.6);
}

.btn-game-secondary {
    background: transparent;
    color: #e67e22;
    padding: 18px 40px;
    border: 2px solid #e67e22;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-game-secondary:hover {
    background: rgba(230, 126, 34, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

/* ============================================
   ROBLOX INTEGRATION
   ============================================ */

.roblox-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

.roblox-badge::before {
    content: '🎮';
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .gaming-section {
        padding: 30px 20px;
    }
    
    .gaming-title {
        font-size: 32px;
    }
    
    .gaming-subtitle {
        font-size: 16px;
    }
    
    .features-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .game-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .roadmap-item::before {
        left: 30px;
        top: 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-game-primary,
    .btn-game-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gaming-title {
        font-size: 24px;
    }
    
    .game-info-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        font-size: 36px;
    }
    
    .integration-icon {
        font-size: 42px;
    }
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

.gaming-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e67e22;
    border-radius: 50%;
    animation: float-particle 10s infinite;
}

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

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
