* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.8), rgba(0, 0, 0, 1));
    z-index: -1;
    animation: glow 6s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 50px rgba(0, 191, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 100px rgba(0, 191, 255, 0.3);
    }
}

.container {
    max-width: 1200px;
    width: 95%;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.game-header h1 {
    font-size: 2.5rem;
    text-shadow: 0 0 20px #00bfff;
    flex: 1;
    text-align: center;
}

.orange {
    color: #ff6811;
    text-shadow: 0 0 10px #ff6811;
}

.blue {
    color: #00bfff;
    text-shadow: 0 0 10px #00bfff;
}

.btn-back {
    padding: 10px 20px;
    background: rgba(255, 104, 17, 0.2);
    border: 2px solid #ff6811;
    color: #ff6811;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.btn-back:hover {
    background: #ff6811;
    color: #0a0a0a;
    transform: scale(1.05);
}

.stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid #00bfff;
    padding: 10px 15px;
    border-radius: 5px;
}

.stat-label {
    color: #00bfff;
    font-size: 0.9rem;
}

.stat-value {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 5px;
}

.game-info {
    text-align: center;
    margin-bottom: 15px;
    color: #00bfff;
    font-family: 'Roboto', sans-serif;
}

.game-area {
    flex: 1;
    background: rgba(20, 20, 20, 0.5);
    border: 3px solid #00bfff;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

.start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}

.start-screen h2 {
    font-size: 2.5rem;
    color: #ff6811;
    text-shadow: 0 0 20px #ff6811;
    margin-bottom: 20px;
}

.start-screen p {
    font-size: 1.2rem;
    color: #00bfff;
    margin-bottom: 30px;
}

.btn-game {
    padding: 15px 30px;
    background: #00bfff;
    color: #0a0a0a;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.btn-game:hover {
    background: #008fcc;
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 104, 17, 0.8);
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #ff6811;
}

.creature {
    position: absolute;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
    animation: float 2s ease-in-out infinite;
    z-index: 10;
}

.creature:hover {
    transform: scale(1.2);
}

.creature:active {
    transform: scale(0.9);
}

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

.creature.caught {
    animation: catchAnimation 0.5s forwards;
}

@keyframes catchAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(360deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.points-popup {
    position: absolute;
    color: #ff6811;
    font-size: 1.5rem;
    font-weight: bold;
    pointer-events: none;
    animation: pointsFloat 1s forwards;
    text-shadow: 0 0 10px #ff6811;
}

@keyframes pointsFloat {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.difficulty-info {
    margin-top: 15px;
    text-align: center;
}

.difficulty-info p {
    color: #00bfff;
    margin-bottom: 10px;
}

#difficultyLevel {
    color: #ff6811;
    font-weight: bold;
    font-size: 1.2rem;
}

.difficulty-bar {
    width: 100%;
    height: 10px;
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid #00bfff;
    border-radius: 5px;
    overflow: hidden;
}

.difficulty-progress {
    height: 100%;
    background: linear-gradient(90deg, #00bfff, #ff6811);
    width: 0%;
    transition: width 0.3s;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 3px solid #00bfff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.5);
    animation: modalAppear 0.5s;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h2 {
    color: #ff6811;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #ff6811;
}

.final-score {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
}

.final-score p {
    color: #00bfff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.final-score h3 {
    color: #ff6811;
    font-size: 3rem;
    text-shadow: 0 0 20px #ff6811;
}

.stats-summary {
    margin: 20px 0;
}

.stats-summary p {
    color: #00bfff;
    font-size: 1.1rem;
    margin: 10px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
        text-align: center;
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .creature {
        font-size: 2.5rem;
    }

    .start-screen h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .game-header h1 {
        font-size: 1.5rem;
    }

    .creature {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .btn-game {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

