@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(
        135deg,
        #0a0e27 0%,
        #1a0a3e 25%,
        #0f1a3e 50%,
        #0a0e27 75%,
        #1a0a3e 100%
    );
    background-attachment: fixed;
    color: #ffffff;
    animation: bgShift 15s ease-in-out infinite alternate;
}
@keyframes bgShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}
.bento-card {
    background: linear-gradient(
        135deg,
        rgba(10, 14, 39, 0.9),
        rgba(26, 10, 62, 0.9)
    );
    backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #ffffff;
}
.bento-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.6),
        0 12px 40px rgba(122, 81, 255, 0.3);
    border-color: #00ffff;
    border: 2px solid #00ffff;
}
.cell {
    width: 60px;
    height: 60px;
    border: 2px solid #00ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    background: rgba(0, 255, 255, 0.1);
    color: #ffffff;
}
.cell:hover {
    background: rgba(0, 255, 255, 0.3);
}
.cell.winning-cell {
    background: linear-gradient(135deg, #00ff00 0%, #32cd32 100%);
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: winPulse 0.6s ease-in-out 3;
}
@keyframes winPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
.quote-card {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    color: white;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
.typing-area {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid #00ffff;
    border-radius: 8px;
    padding: 1rem;
    transition: border-color 0.3s;
    color: #ffffff;
}
.typing-area:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 10px rgba(122, 81, 255, 0.5);
}
.counter-card {
    color: white;
}
.success-message {
    background: linear-gradient(135deg, #00ff00 0%, #32cd32 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#click-image {
    transition: transform 0.1s ease-out;
}

#click-image:hover {
    transform: scale(1.1);
}

#click-image.click-animation {
    animation: clickBounce 0.3s ease-out;
}

@keyframes clickBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.plus-one-text {
    position: absolute;
    font-weight: bold;
    font-size: 20px;
    color: #058c1e;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    animation: floatUp 1.5s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.2);
    }
}
/* Rock Paper Scissors Button Styles */
.rps-btn {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.2) 0%,
        rgba(122, 81, 255, 0.2) 100%
    );
    border: 2px solid #00ffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.rps-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}
.rps-btn:hover::before {
    left: 100%;
}
.rps-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.4) 0%,
        rgba(122, 81, 255, 0.4) 100%
    );
    border-color: #7c3aed;
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.4);
}
.rps-btn:active {
    transform: scale(0.95);
}
.rps-result {
    animation: resultPop 0.5s ease-out;
}
@keyframes resultPop {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-bounce-in {
    animation: bounce-in 0.5s ease-out;
}
