:root {
    --primary: #2b2d42;
    --secondary: #8d99ae;
    --accent: #ef233c;
    --highlight: #06d6a0;
    --light: #edf2f4;
    --dark: #1a1a2e;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --code-bg: #011627;
    --simon-green: #06d614;
    --simon-red: #f81960;
    --simon-yellow: #ffff2d;
    --simon-blue: #3ee2ff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-container {
  padding: 20px;
}

.header {
    background: var(--primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--highlight);
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header h1 span {
    color: var(--highlight);
    font-family: 'Fira Code', monospace;
}

.header h1 i {
    color: var(--highlight);
}

.games-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.game-icon {
    width: 70px;
    height: 70px;
    background: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.8rem;
}

.game-card h3 {
    margin: 10px 0 0 0;
    color: var(--light);
    font-size: 1.4rem;
}

.game-info {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    min-height: 40px;
}

.players {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0 0 10px 0;
    color: var(--light);
}

.play-btn {
    text-decoration: none;
}

.game-header {
    background: var(--primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--highlight);
}

.game-header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-header h1 span {
    color: var(--highlight);
    font-family: 'Fira Code', monospace;
}

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

.wins, .losses {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2rem;
}

.wins {
    color: var(--highlight);
}

.losses {
    color: var(--light);
}

.game-area {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

@media (min-width: 900px) {
    .game-area {
        flex-direction: row;
        gap: 30px;
    }
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.about-card h3 {
    color: var(--highlight);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

/* Team Page Styles */
.member-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--dark);
    font-size: 2rem;
}

.member-card h3 {
    margin: 10px 0 5px;
    color: var(--light);
}

.member-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-card a, .repository-card a {
    color: var(--highlight);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.member-card a:hover, .repository-card a:hover {
    color: var(--light);
    text-decoration: underline;
}

.repository-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px; 
    text-align: center;
    border: 1px solid var(--highlight);
    margin-top: 40px;
}

.institution-card {
    background: rgba(6, 214, 160, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--highlight);
    margin-top: 30px;
}

.institution-card h3, .repository-card h3 {
    color: var(--highlight);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.institution-card p, .repository-card p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

#close-ranking {
    margin-top: 10px;
}

/* Estilos do Jogo da Forca */
.forca-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.forca-container {
    width: 100%;
    background: var(--code-bg);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid var(--highlight);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#forca-display {
    background-color: #011627;
    color: #4AF626;
    font-family: 'Fira Code', monospace;
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid #4AF626;
    white-space: pre-wrap;
    line-height: 1.5;
    min-height: 150px;
    overflow: hidden;
    position: relative;
}

#forca-display::after {
    content: "▋";
    animation: blink 1s infinite;
    opacity: 0.8;
}

#forca-display .error {
    color: #FF2E4D;
    text-shadow: 0 0 5px #FF2E4D;
}

#forca-display .critical {
    color: #FF9F1C;
    animation: glitch 0.5s infinite;
}

#forca-display.success {
    color: #4AF626;
    border-left-color: #4AF626;
    animation: pulse 0.5s 3;
}

/* Estilos do Simon Game */
.simon-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.simon-container {
    width: 100%;
    background: var(--code-bg);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid var(--highlight);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.simon-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 250px;
    height: 250px;
    position: relative;
}

.simon-btn {
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.3;
    position: relative;
}

.simon-btn:hover {
    opacity: 0.9;
}

.simon-btn.active {
    opacity: 1;
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.green {
    background-color: var(--simon-green);
    border-top-left-radius: 100%;
}

.red {
    background-color: var(--simon-red);
    border-top-right-radius: 100%;
}

.yellow {
    background-color: var(--simon-yellow);
    border-bottom-left-radius: 100%;
}

.blue {
    background-color: var(--simon-blue);
    border-bottom-right-radius: 100%;
}

.simon-btn i {
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.655);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilos do Emoji Encryption */
#game-board {
    display: grid;
    grid-template-columns: repeat(4, 70px);
    gap: 8px;
    justify-content: center;
    margin: 20px auto;
    width: fit-content;
}

.card {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: transparent;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card.flipped {
    background: var(--light);
    color: var(--dark);
    transform: rotateY(180deg);
    cursor: default;
}

.card.matched {
    background: var(--success);
    color: white;
    border-color: var(--success);
    cursor: not-allowed;
}

/* Estilos comuns */
.lives {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.hearts {
    display: flex;
    gap: 8px;
}

.hearts i {
    color: var(--danger);
    font-size: 1.2rem;
}

.attempts {
    font-size: 1.1rem;
    color: var(--light);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
}

.game-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.word-display {
    font-size: 2.2rem;
    letter-spacing: 8px;
    font-weight: 700;
    text-align: center;
    color: var(--highlight);
    margin: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    font-family: 'Fira Code', monospace;
}

.word-display span {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.word-display span::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--highlight);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.keyboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.key {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Fira Code', monospace;
    margin: 0;
}

.key:hover {
    background: var(--highlight);
    color: var(--dark);
    transform: translateY(-3px);
}

.key:active {
    transform: translateY(0);
}

.key.used {
    background: var(--secondary);
    color: var(--dark);
    cursor: not-allowed;
    opacity: 0.6;
}

.key.wrong {
    background: var(--danger);
    color: white;
}

.key.correct {
    background: var(--success);
    color: white;
}

.key.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.message-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.message-box i {
    font-size: 1.3rem;
}

.message-box.info {
    color: var(--light);
    border-left: 4px solid var(--highlight);
}

.message-box.success {
    color: var(--highlight);
    border-left: 4px solid var(--success);
}

.message-box.error {
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.message-text {
    font-weight: 500;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.level-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.hint-btn {
    background: var(--warning);
    color: var(--dark);
}

.hint-btn:hover {
    background: #f8961e;
}

.sound-btn {
    background: var(--secondary);
    color: var(--dark);
}

.sound-btn:hover {
    background: #8d99ae;
}

.restart-btn {
    background: var(--highlight);
    color: var(--dark);
    flex: 1;
    justify-content: center;
}

.restart-btn:hover {
    background: #06d6a0;
}

.footer {
    background: var(--primary);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hint-text {
    font-style: bold;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-size: 1.5rem;
}

#status {
    font-size: 1.1rem;
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.status-success {
    color: var(--highlight);
    border-left: 4px solid var(--success);
}

.status-info {
    border-left: 4px solid var(--highlight);
}

.rankings {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.rankings h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--highlight);
}

#ranking-list {
    list-style: none;
}

#ranking-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ranking */
.ranking-container {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 90%;
    max-width: 500px;
    color: white;
    border: 2px solid var(--highlight);
}

.ranking-container h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#ranking-list li span.rank {
    color: var(--highlight);
    font-weight: bold;
    width: 30px;
}

#ranking-list li span.name {
    flex: 1;
    text-align: left;
    padding-left: 15px;
}

#ranking-list li span.score {
    width: 80px;
    text-align: right;
}

#ranking-list li span.date {
    width: 80px;
    text-align: right;
    color: var(--secondary);
    font-size: 0.8rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.ranking-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: var(--highlight);
    color: var(--dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none;
}

/* Navbar */
.navbar {
    background: var(--primary);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--highlight);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 span {
    color: var(--highlight);
    font-family: 'Fira Code', monospace;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--highlight);
}

.nav-links a.active {
    background: var(--highlight);
    color: var(--dark);
}

.home-link a {
    font-size: 1.2rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.home-link a:hover {
    color: var(--highlight);
}

.main-content {
    padding: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Estilos específicos para o Brute Force */
.terminal-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.game-icon {
    width: 70px;
    height: 70px;
    background: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.8rem;
}

.game-card h3 {
    margin: 10px 0 0 0;
    color: var(--light);
    font-size: 1.4rem;
}

.game-info {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    min-height: 40px;
}

.players {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0 0 10px 0;
    color: var(--light);
}

.play-btn {
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .games-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.about-card h3 {
    color: var(--highlight);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

/* Team Page Styles */
.member-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--highlight);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--dark);
    font-size: 2rem;
}

.member-card h3 {
    margin: 10px 0 5px;
    color: var(--light);
}

.member-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-card a {
    color: var(--highlight);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.member-card a:hover {
    color: var(--light);
    text-decoration: underline;
}

.institution-card {
    background: rgba(6, 214, 160, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--highlight);
    margin-top: 40px;
}

.institution-card h3 {
    color: var(--highlight);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.institution-card p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

/* Estilos específicos para o Brute Force */
.terminal-container {
    width: 100%;
    background: var(--code-bg);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid var(--highlight);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#terminal-display {
    background-color: var(--code-bg);
    color: var(--highlight);
    font-family: 'Fira Code', monospace;
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap;
    line-height: 1.5;
    min-height: 100px;
    overflow: hidden;
    position: relative;
}

#terminal-display::after {
    content: "▋";
    animation: blink 1s infinite;
    opacity: 0.8;
}

.guess-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-family: 'Fira Code', monospace;
}

.guess-display span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight);
    width: 50px;
    text-align: center;
    border-bottom: 3px solid var(--highlight);
    transition: all 0.3s ease;
}

.guess-display .fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.guess-display.success span {
    color: var(--success);
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.7);
}

.try-btn, .clear-btn {
    width: 100%;
    margin: 0;
    padding: 12px;
    justify-content: center;
}

.try-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.clear-btn {
    background: var(--danger);
    color: white;
}

.hearts {
    display: flex;
    gap: 8px;
}

.hearts i {
    color: var(--danger);
    font-size: 1.5rem;
}

.attempts {
    font-size: 1.1rem;
    color: var(--light);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Responsividade para Brute Force */
@media (max-width: 600px) {
    .guess-display span {
        font-size: 2rem;
        width: 30px;
    }
    
    .hearts i {
        font-size: 1.2rem;
    }
    
    .terminal-container {
        padding: 15px;
    }
    
    #terminal-display {
        min-height: 80px;
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes type {
    from { box-shadow: inset 0 0 10px #4AF626; }
    to { box-shadow: none; }
}

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

.bounce {
    animation: bounce 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.3s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.3s;
}

@keyframes flip {
    0% { transform: rotateY(0); }
    100% { transform: rotateY(180deg); }
}

.typing {
    animation: type 0.5s steps(20);
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .games-grid, .team-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }
    
    .word-display {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }
    
    .key {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    #forca-display {
        font-size: 1rem;
        min-height: 150px;
    }
    
    .ranking-container {
        padding: 15px;
    }
    
    #ranking-list li span.date {
        display: none;
    }
    
    .card {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    #game-board {
        grid-template-columns: repeat(4, 55px);
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .simon-board {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 600px) {
    .simon-board.three-columns {
        grid-template-columns: 1fr 1fr 1fr;
        width: 350px;
        height: 350px;
    }
}