/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary-color: #6C5CE7;
    --secondary-color: #A29BFE;
    --accent-color: #FD79A8;
    --success-color: #00B894;
    --warning-color: #FDCB6E;
    --danger-color: #E17055;
    --dark-color: #2D3436;
    --light-color: #DFE6E9;
    --white: #FFFFFF;
    
    --card-comprimento: #74B9FF;
    --card-massa: #55EFC4;
    --card-tempo: #FFEAA7;
    --card-forca: #FF7675;
    --card-special: #A29BFE;
    --card-wild: linear-gradient(135deg, #6C5CE7, #FD79A8, #FDCB6E, #00B894);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --font-main: 'Nunito', sans-serif;
    --font-title: 'Fredoka One', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* ===== TELAS ===== */
.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== TELA INICIAL ===== */
.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.game-logo {
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--white);
    text-shadow: 4px 4px 0 var(--accent-color), 
                 8px 8px 0 rgba(0,0,0,0.2);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-top: 10px;
}

.start-menu {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.player-setup {
    margin-bottom: 30px;
}

.player-setup label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.player-setup input,
.player-setup select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-main);
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.player-setup input:focus,
.player-setup select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== TOGGLE DE DICAS ===== */
.tips-toggle-container {
    background: var(--light-color);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--success-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.tips-status {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 700;
}

.tips-status.disabled {
    color: #999;
}

.toggle-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Header controls */
.header-controls {
    display: flex;
    gap: 8px;
}

.tips-btn {
    background: rgba(0, 184, 148, 0.3) !important;
}

.tips-btn.disabled {
    background: rgba(255,255,255,0.2) !important;
    opacity: 0.7;
}

/* ===== BOTÕES ===== */
.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-small:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== CRÉDITOS ===== */
.credits {
    position: fixed;
    bottom: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.credits strong {
    color: var(--white);
}

/* ===== TUTORIAL E SOBRE ===== */
.tutorial-container,
.about-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.tutorial-container h2,
.about-container h2 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
}

.tutorial-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light-color);
}

.tutorial-section:last-of-type {
    border-bottom: none;
}

.tutorial-section h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.card-types {
    display: grid;
    gap: 12px;
}

.card-type {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--light-color);
    border-radius: var(--radius-sm);
}

.card-icon {
    width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.card-icon.unit { background: var(--card-forca); }
.card-icon.prefix { background: var(--card-comprimento); }
.card-icon.special { background: var(--card-special); font-size: 1.5rem; }
.card-icon.wild { background: var(--card-wild); font-size: 1.5rem; }

.about-content h3 {
    color: var(--primary-color);
    margin: 24px 0 12px;
}

.about-content ul {
    padding-left: 24px;
}

.about-content li {
    margin-bottom: 8px;
}

.authors {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.author {
    text-align: center;
}

.author-icon {
    font-size: 3rem;
}

/* ===== TELA DO JOGO ===== */
#game-screen.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 20px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    color: var(--white);
}

.game-info {
    display: flex;
    gap: 24px;
}

/* ===== ÁREA DOS OPONENTES ===== */
.opponents-area {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.opponent {
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--white);
    transition: all 0.3s;
    min-width: 150px;
}

.opponent.active {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.opponent-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.opponent-cards {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.mini-card {
    width: 25px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

/* ===== MESA DE JOGO ===== */
.table-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

.deck-area {
    display: flex;
    gap: 40px;
    align-items: center;
}

.discard-section {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.previous-pile {
    opacity: 0.6;
    transform: scale(0.7);
    transition: all 0.3s;
}

.previous-pile:hover {
    opacity: 0.9;
    transform: scale(0.75);
}

.previous-pile .pile-label {
    font-size: 0.75rem;
}

.mini-previous {
    width: 70px !important;
    height: 100px !important;
    cursor: default !important;
}

.mini-previous:hover {
    transform: none !important;
}

.clickable-card {
    cursor: pointer;
    transition: all 0.3s;
}

.clickable-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.card-pile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pile-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.pile-count {
    background: rgba(0,0,0,0.3);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.draw-pile {
    cursor: pointer;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.draw-pile:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.category-indicator {
    background: rgba(255,255,255,0.9);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
}

#category-name {
    color: var(--primary-color);
}

/* ===== CARTAS ===== */
.card {
    width: 120px;
    height: 175px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--white);
    border: 3px solid transparent;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: var(--shadow-lg);
}

/* Imagem da carta */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 3px);
}

.card.comprimento { 
    background: linear-gradient(135deg, #74B9FF, #0984E3); 
    color: var(--white);
}
.card.massa { 
    background: linear-gradient(135deg, #55EFC4, #00B894); 
    color: var(--white);
}
.card.tempo { 
    background: linear-gradient(135deg, #FFEAA7, #FDCB6E); 
    color: var(--dark-color);
}
.card.forca { 
    background: linear-gradient(135deg, #FF7675, #D63031); 
    color: var(--white);
}
.card.eletrica { 
    background: linear-gradient(135deg, #FD79A8, #E84393); 
    color: var(--white);
}
.card.special { 
    background: linear-gradient(135deg, #A29BFE, #6C5CE7); 
    color: var(--white);
}
.card.wild { 
    background: var(--card-wild);
    color: var(--white);
}

.card-symbol {
    font-size: 1.8rem;
    font-family: var(--font-title);
}

.card-name {
    font-size: 0.7rem;
    margin-top: 4px;
    text-align: center;
    padding: 0 4px;
}

.card.playable {
    border-color: var(--success-color);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 184, 148, 0); }
}

.card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.card.disabled:hover {
    transform: none;
}

/* ===== MÃO DO JOGADOR ===== */
.player-area {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.player-info {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    margin-bottom: 15px;
    padding: 0 10px;
}

#player-name-display {
    font-weight: 700;
    font-size: 1.2rem;
}

.player-hand {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 130px;
    padding: 10px;
}

/* ===== DICA EDUCATIVA ===== */
.educational-tip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    animation: slideIn 0.5s ease;
    z-index: 100;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.close-tip {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark-color);
    opacity: 0.5;
}

.close-tip:hover {
    opacity: 1;
}

.tip-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.hidden {
    display: none !important;
}

/* ===== MODAIS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content h3 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* ===== MODAL DE INFORMAÇÕES DA CARTA DO TOPO ===== */
.top-card-info {
    max-width: 450px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--danger-color);
}

.top-card-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-details {
    background: var(--light-color);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: left;
}

.card-details p {
    margin: 8px 0;
}

.playable-info {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    text-align: left;
}

.playable-info h4 {
    color: var(--success-color);
    margin-bottom: 12px;
}

.playable-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.playable-info li {
    background: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid var(--success-color);
}

.dimensional-info {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: left;
}

.dimensional-info h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.dimensional-info p {
    margin: 4px 0;
    font-size: 0.95rem;
}

.category-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-btn {
    padding: 16px;
    border: 2px solid var(--light-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
    color: var(--white);
}

/* ===== MODAL DE CONFIRMAÇÃO DE CARTA ===== */
.card-confirm {
    max-width: 380px;
}

.confirm-header h3 {
    margin-bottom: 16px;
}

.confirm-card-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.preview-card {
    width: 140px !important;
    height: 200px !important;
    cursor: default !important;
    transform: none !important;
    animation: cardFloat 2s ease-in-out infinite;
}

.preview-card:hover {
    transform: none !important;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.confirm-tip {
    background: linear-gradient(135deg, #FFF9E6, #FFF3CD);
    border: 2px solid #FDCB6E;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tip-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.confirm-tip p {
    font-size: 0.95rem;
    color: var(--dark-color);
    line-height: 1.5;
    margin: 0;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
}

.confirm-buttons .btn-primary,
.confirm-buttons .btn-secondary {
    flex: 1;
    margin-bottom: 0;
}
    color: var(--white);
}

.end-game h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.end-stats {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.end-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .game-logo {
        font-size: 2.5rem;
    }
    
    .start-menu {
        padding: 24px;
    }
    
    .opponents-area {
        gap: 15px;
    }
    
    .opponent {
        padding: 10px 15px;
        min-width: 100px;
    }
    
    .deck-area {
        gap: 20px;
    }
    
    .card {
        width: 90px;
        height: 130px;
    }
    
    .card-symbol {
        font-size: 1.4rem;
    }
    
    .card-name {
        font-size: 0.6rem;
    }
    
    .player-hand {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tutorial-container,
    .about-container {
        padding: 24px;
        margin: 10px;
    }
    
    .category-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .game-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .card {
        width: 70px;
        height: 100px;
    }
    
    .card-symbol {
        font-size: 1.1rem;
    }
    
    .educational-tip {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* ===== MODAL DE REGRAS RÁPIDAS ===== */
.quick-rules {
    max-width: 500px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.rules-header {
    margin-bottom: 24px;
}

.rules-header h2 {
    font-family: var(--font-title);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 16px;
}

.rules-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.progress-dot.completed {
    background: var(--success-color);
}

/* Slides das regras */
.rules-slides {
    min-height: 280px;
    position: relative;
}

.rules-slide {
    display: none;
    animation: slideIn 0.4s ease;
}

.rules-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.rules-slide h3 {
    font-family: var(--font-title);
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.slide-main {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.6;
}

.slide-detail {
    font-size: 1rem;
    color: #666;
}

.slide-examples {
    background: var(--light-color);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.example {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.example:last-child {
    margin-bottom: 0;
}

.example-label {
    font-size: 0.9rem;
    color: #666;
}

.example-cards {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.special-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.special-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    transition: transform 0.3s;
}

.special-item:hover {
    transform: translateY(-4px);
}

.special-item span:first-child {
    font-size: 2rem;
}

.special-item span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
}

.tips-list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.tips-list li {
    padding: 12px 16px;
    background: var(--light-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 1rem;
    transition: transform 0.3s;
}

.tips-list li:hover {
    transform: translateX(8px);
}

/* Navegação das regras */
.rules-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-nav {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-skip {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-skip:hover {
    color: var(--primary-color);
}

/* Responsivo para regras */
@media (max-width: 480px) {
    .quick-rules {
        padding: 20px;
        margin: 10px;
    }
    
    .slide-icon {
        font-size: 3rem;
    }
    
    .special-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rules-navigation {
        flex-direction: column;
    }
}
