/* Dropping Emojis Game Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.game-header {
    text-align: center;
    margin-bottom: 1rem;
}

.game-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 175px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.stat .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fbbf24;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.game-area-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 600px;
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#game-area {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#emoji-panel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 5;
}

.emoji-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.emoji-option:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #fbbf24;
}

.emoji-option:active {
    transform: translateY(-1px) scale(0.98);
}

.emoji-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    will-change: transform;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.emoji-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Popup Styles */
#start-screen,
#game-over {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 40px;
    text-align: center;
}

#start-screen h2,
#game-over h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#start-screen p,
#game-over p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
    max-width: 500px;
}

.game-over-reason {
    color: #ef4444;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    margin: 1rem 0;
}

.hidden {
    display: none !important;
}

.adsense-container {
    width: 100%;
    max-width: 728px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.game-instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.game-instructions h3 {
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 1.3rem;
}

.game-instructions ul {
    list-style: none;
    padding-left: 0;
}

.game-instructions li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.game-instructions li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.back-link-container {
    text-align: center;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* YouTube Unblocker Extension Styles */
.free-time-rewards {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    z-index: 15;
    padding: 20px;
    box-sizing: border-box;
}

.free-time-rewards h2 {
    color: #FFD700;
    font-size: 1.4rem;
    margin: 0 0 20px;
    text-align: center;
}

.reward-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    max-width: 90%;
}

.reward-info p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.reward-info strong {
    color: #FFD700;
    font-size: 18px;
}

.reward-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.claim-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.claim-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.claim-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.try-again-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.try-again-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
}

.play-fun-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-fun-btn:hover {
    background: linear-gradient(135deg, #1976D2, #2196F3);
    transform: translateY(-2px);
}

.session-used-message {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    z-index: 15;
    padding: 20px;
    box-sizing: border-box;
}

.session-used-message h2 {
    color: #FFD700;
    font-size: 1.3rem;
    margin: 0 0 20px;
    text-align: center;
}

.session-used-message p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
}

.session-info {
    color: #FFA500 !important;
    font-weight: bold;
    background: rgba(255, 165, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 4px solid #FFA500;
}

.message-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.close-btn {
    background: #666;
    color: white;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background: #555;
}

.error-message {
    color: #ff6b6b !important;
    font-weight: bold;
    background: rgba(255, 107, 107, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 4px solid #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        padding: 1rem;
    }
    
    .game-header h1 {
        font-size: 2rem;
    }
    
    .game-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }
    
    .game-area-container {
        height: 500px;
        max-width: 100%;
    }
    
    #start-screen h2,
    #game-over h2 {
        font-size: 2rem;
    }
    
    #start-screen p,
    #game-over p {
        font-size: 1rem;
    }
    
    .emoji-option {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    #emoji-panel {
        gap: 8px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .game-container {
        border-radius: 15px;
        padding: 1rem;
    }
    
    .game-header h1 {
        font-size: 1.75rem;
    }
    
    .stat {
        min-width: 80px;
        padding: 0.3rem 0.5rem;
    }
    
    .game-area-container {
        height: 500px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
