:root {
    --brand-bg: #f5fbff;
    --brand-dark: #0f394c;
    --brand-accent: #49b5e7;
    --brand-white: #fff;
}

.content .game-section {
    background-color: var(--brand-bg);
}

.app {
    color: var(--brand-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.text-brand-dark {
    color: var(--brand-dark);
}

.text-brand-dark-40 {
    color: rgba(15, 57, 76, 0.4);
}

.text-brand-dark-60 {
    color: rgba(15, 57, 76, 0.6);
}

.text-brand-accent {
    color: var(--brand-accent);
}

.bg-brand-bg {
    background-color: var(--brand-bg);
}

.bg-brand-accent {
    background-color: var(--brand-accent);
}

.bg-brand-accent-10 {
    background-color: rgba(73, 181, 231, 0.1);
}

.border-brand-dark-5 {
    border-color: rgba(15, 57, 76, 0.05) !important;
}


.glass-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 57, 76, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.difficulty-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    text-transform: capitalize;
    color: rgba(15, 57, 76, 0.4);
}

.difficulty-btn:hover {
    color: rgba(15, 57, 76, 0.7);
    background-color: var(--brand-bg);
}

.difficulty-btn.active {
    background-color: var(--brand-accent);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(73, 181, 231, 0.4);
}

.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(15, 57, 76, 0.05);
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--brand-accent);
    transition: width 0.3s ease-out;
}

.feedback-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.feedback-default {
    background-color: var(--brand-bg);
    border-color: rgba(15, 57, 76, 0.05);
    color: rgba(15, 57, 76, 0.6);
}

.feedback-error {
    background-color: #fef2f2;
    border-color: #fee2e2;
    color: #dc2626;
}

.feedback-hint {
    background-color: rgba(73, 181, 231, 0.05);
    border-color: rgba(73, 181, 231, 0.1);
    color: var(--brand-accent);
}

.feedback-success {
    background-color: #ecfdf5;
    border-color: #d1fae5;
    color: #059669;
}

.guess-input {
    width: 100%;
    background-color: var(--brand-bg);
    border: 1px dashed rgba(73, 181, 231, 0.4);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    outline: none;
    transition: all 0.2s ease;
}

.guess-input:focus {
    border-color: var(--brand-accent);
}

.guess-input::placeholder {
    color: rgba(15, 57, 76, 0.2);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.play-again-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--brand-accent);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(73, 181, 231, 0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.play-again-btn:hover {
    background-color: rgba(73, 181, 231, 0.9);
}

.history-item {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 57, 76, 0.05);
    background-color: white;
    color: var(--brand-dark);
}

.history-item.correct {
    background-color: #10b981;
    color: white;
    border-color: #059669;
}

.mute-btn {
    position: absolute;
    right: 50px;
    top: 0;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: white;
    border: 1px solid rgba(15, 57, 76, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: rgba(15, 57, 76, 0.4);
    transition: color 0.2s ease;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 99;
}

@media (max-width: 600px) {
    .mute-btn {
        right: 20px;
        top: -50px;
    }
}

.mute-btn:hover {
    color: var(--brand-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

.fade-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease-out;
}

.hidden {
    display: none !important;
}