/* Additional styles for game blocks */

.game-blocks-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #8b5cf6;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.daily-bonuses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.bonus-day {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    color: white;
    position: relative;
    transition: all 0.3s;
}

.bonus-day.claimed {
    opacity: 0.6;
}

.bonus-day.active {
    border: 3px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    transform: scale(1.05);
}

.bonus-day:hover:not(.claimed) {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.mission-item {
    background: rgba(249, 250, 251, 1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #3b82f6;
    transition: all 0.2s;
}

.mission-item:hover {
    background: rgba(243, 244, 246, 1);
    transform: translateX(4px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.booster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.booster-card {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.booster-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: scale(1.05);
}

.btn-blue {
    background: #3b82f6;
    color: white;
}

.btn-blue:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.event-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 2px solid #fbbf24;
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-red {
    background: #fee2e2;
    color: #dc2626;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.achievement-card.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.recent-action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(249, 250, 251, 1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.recent-action-item:hover {
    background: rgba(243, 244, 246, 1);
    transform: translateX(4px);
}

.wheel-container {
    width: 300px;
    height: 300px;
    margin: 1rem auto;
    background: conic-gradient(
        #ef4444 0deg 45deg,
        #14b8a6 45deg 90deg,
        #fbbf24 90deg 135deg,
        #10b981 135deg 180deg,
        #ef4444 180deg 225deg,
        #14b8a6 225deg 270deg,
        #fbbf24 270deg 315deg,
        #10b981 315deg 360deg
    );
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.wheel-container:hover {
    transform: scale(1.05);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #fff;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #8b5cf6;
}

.disclaimer-card {
    background: rgba(254, 226, 226, 0.95);
    border: 2px solid #ef4444;
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.age-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.wheel-section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Responsive adjustments */

/* Mobile devices (up to 640px) */
@media (max-width: 640px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .game-blocks-container {
        padding: 1rem 0.5rem;
    }
    
    .game-card {
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }
    
    .game-card-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .daily-bonuses {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .bonus-day {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .booster-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .booster-card {
        padding: 1rem;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .achievement-card {
        padding: 0.75rem;
    }
    
    .wheel-container {
        width: 200px;
        height: 200px;
    }
    
    .wheel-center {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .mission-item {
        padding: 0.75rem;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        min-height: 44px; /* Touch-friendly */
    }
    
    .disclaimer-card {
        padding: 1rem;
    }
    
    /* Wheel section grid adjustment */
    .wheel-section-grid {
        display: block !important;
    }
    
    .wheel-section-grid > div {
        margin-bottom: 1rem;
    }
}

/* Tablet devices (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    body {
        padding: 1.5rem 1rem;
    }
    
    .game-card {
        padding: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .daily-bonuses {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .booster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wheel-container {
        width: 280px;
        height: 280px;
    }
    
    /* Wheel section grid adjustment */
    .wheel-section-grid {
        grid-template-columns: 1fr 2fr 1fr !important;
        gap: 1rem !important;
    }
    
    @media (max-width: 768px) {
        .wheel-section-grid {
            display: block !important;
        }
    }
}

/* Desktop devices (1025px and above) */
@media (min-width: 1025px) {
    .game-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .daily-bonuses {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .booster-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .achievement-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .wheel-container {
        width: 300px;
        height: 300px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .bonus-day .btn {
        min-height: 36px;
        padding: 0.5rem 0.75rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .wheel-container {
        width: 220px;
        height: 220px;
    }
    
    .daily-bonuses {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .game-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

