/* Estilos Gerais - Tema Aristocrático Colonial */
:root {
    --primary-color: #5a3921; /* Marrom escuro */
    --secondary-color: #8b5a2b; /* Marrom médio */
    --accent-color: #d4af37; /* Dourado */
    --light-color: #f5e9d9; /* Bege claro */
    --dark-color: #3c2415; /* Marrom muito escuro */
    --warning-color: #9b2226; /* Vermelho escuro */
    --danger-color: #660708; /* Vermelho mais escuro */
    --success-color: #386641; /* Verde escuro */
    --text-color: #2b2117; /* Quase preto */
    --background-color: #f8f1e5; /* Bege muito claro */
    --border-radius: 0; /* Sem bordas arredondadas para um estilo mais antigo */
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --gold-gradient: linear-gradient(to bottom, #f9e076 0%, #d4af37 50%, #aa8520 100%);
    --paper-texture: url('https://www.transparenttextures.com/patterns/old-paper.png');
    --wood-texture: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    --leather-texture: url('https://www.transparenttextures.com/patterns/leather.png');
}

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

body {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    background-color: var(--background-color);
    background-image: var(--paper-texture);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button {
    cursor: pointer;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 10px 18px;
    background-color: var(--light-color);
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

button:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
}

button:hover::before {
    left: 100%;
}

button:active {
    transform: translateY(0);
}

/* Layout do Jogo */
.game-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0;
    background-color: var(--light-color);
    background-image: var(--paper-texture);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border: 8px solid var(--dark-color);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-color);
    pointer-events: none;
    margin: 4px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background-color: var(--dark-color);
    background-image: var(--wood-texture);
    color: var(--light-color);
    margin-bottom: 0;
    border-bottom: 4px solid var(--accent-color);
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 6px;
    background: var(--gold-gradient);
    border-radius: 0 0 50% 50%;
}

header h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
}

.resources {
    display: flex;
    gap: 25px;
}

.resource {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(212, 175, 55, 0.2);
    padding: 10px 18px;
    border: 1px solid var(--accent-color);
    font-weight: bold;
    position: relative;
}

.resource::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.resource i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

/* Área Principal do Jogo */
.game-area {
    display: flex;
    gap: 0;
    flex: 1;
    padding: 20px;
    background-image: var(--paper-texture);
}

/* Barra lateral de recursos */
.resources-sidebar {
    width: 280px;
    background-color: var(--light-color);
    padding: 25px;
    margin-right: 20px;
    border: 2px solid var(--dark-color);
    position: relative;
    background-image: var(--paper-texture);
}

.resources-sidebar::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

.resources-sidebar h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    font-size: 1.8rem;
}

.resources-sidebar h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gold-gradient);
}

.resources-section {
    margin-bottom: 30px;
}

.resources-section h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.2rem;
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.resources-section h3::before {
    content: '❧';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-size: 1.4rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.resource-item {
    background-color: var(--light-color);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--dark-color);
    transition: transform 0.2s ease;
    position: relative;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
    opacity: 0.5;
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.resource-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.resource-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
}

.resource-amount {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Barra lateral de gestão */
.sidebar {
    width: 300px;
    background-color: var(--light-color);
    padding: 25px;
    border: 2px solid var(--dark-color);
    position: relative;
    background-image: var(--leather-texture);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

.sidebar h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    font-size: 1.8rem;
}

.sidebar h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gold-gradient);
}

.menu-section {
    margin-bottom: 30px;
    position: relative;
}

.menu-section::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: var(--accent-color);
    opacity: 0.5;
}

.menu-section:last-child::after {
    display: none;
}

.menu-section h3 {
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent-color);
    position: relative;
    text-align: center;
}

.menu-section h3::before,
.menu-section h3::after {
    content: '✦';
    position: absolute;
    top: 0;
    color: var(--accent-color);
}

.menu-section h3::before {
    left: 0;
}

.menu-section h3::after {
    right: 0;
}

.menu-btn {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: var(--light-color);
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    position: relative;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

.cost {
    background-color: rgba(212, 175, 55, 0.2);
    padding: 3px 10px;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
}

.crop-selection, .factory-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.crop-btn, .factory-btn {
    padding: 10px;
    font-size: 0.9rem;
    background-color: var(--light-color);
    border: 1px solid var(--dark-color);
    position: relative;
}

.crop-btn::before, .factory-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

.crop-btn.selected, .factory-btn.selected {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--dark-color);
}

/* Área principal de visualização */
.main-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 20px;
}

.plantation-view, .factory-view, .housing-view {
    background-color: var(--light-color);
    padding: 25px;
    border: 2px solid var(--dark-color);
    position: relative;
    background-image: var(--paper-texture);
}

.plantation-view::before, .factory-view::before, .housing-view::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

.plantation-view h2, .factory-view h2, .housing-view h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
    padding-bottom: 10px;
    position: relative;
}

.plantation-view h2::after, .factory-view h2::after, .housing-view h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gold-gradient);
}

/* Grids */
.plantation-grid, .factory-grid, .housing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    min-height: 150px;
}

.field-tile, .factory-tile, .housing-tile {
    height: 170px;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--dark-color);
}

.field-tile::before, .factory-tile::before, .housing-tile::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
    z-index: 3;
}

.field-tile {
    background-image: url('../img/field.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.factory-tile {
    background-image: url('../img/factory.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.housing-tile {
    background-image: url('../img/housing.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.tile-content {
    position: relative;
    z-index: 2;
}

.field-tile:hover, .factory-tile:hover, .housing-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.field-icon, .factory-icon, .housing-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.field-status, .factory-status, .housing-status {
    width: 90%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.status-bar {
    height: 100%;
    background: var(--gold-gradient);
    width: 0%;
    transition: width 0.5s ease;
}

/* Notificações */
.notification-area {
    margin: 20px;
    max-height: 150px;
    overflow-y: auto;
    padding: 15px;
    background-color: var(--light-color);
    border: 2px solid var(--dark-color);
    position: relative;
    background-image: var(--paper-texture);
}

.notification-area::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

.notification {
    padding: 12px;
    margin-bottom: 10px;
    background-color: white;
    border: 1px solid var(--dark-color);
    position: relative;
    animation: fadeIn 0.5s ease;
    font-family: 'Playfair Display', serif;
}

.notification::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    opacity: 0.3;
    pointer-events: none;
}

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

.notification-warning {
    border-left: 4px solid var(--warning-color);
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.modal-content {
    background-color: var(--light-color);
    background-image: var(--paper-texture);
    padding: 35px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 4px solid var(--dark-color);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--accent-color);
    pointer-events: none;
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
    padding-bottom: 10px;
    position: relative;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gold-gradient);
}

.event-choices {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

#event-close, #info-close {
    margin-top: 25px;
    background-color: var(--light-color);
    display: block;
    width: 100%;
    border: 2px solid var(--dark-color);
    position: relative;
}

#event-close::before, #info-close::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

/* Footer */
footer {
    margin: 0;
    text-align: center;
    padding: 20px;
    background-color: var(--dark-color);
    background-image: var(--wood-texture);
    color: var(--light-color);
    border-top: 4px solid var(--accent-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    opacity: 0.5;
}

#show-info {
    background: none;
    color: var(--accent-color);
    text-decoration: underline;
    padding: 0;
    font-weight: normal;
    border: none;
    box-shadow: none;
}

#show-info:hover {
    color: var(--light-color);
    transform: none;
}

/* Elementos decorativos */
.decorative-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    z-index: 10;
}

.top-left {
    top: 0;
    left: 0;
    border-bottom-right-radius: 100%;
}

.top-right {
    top: 0;
    right: 0;
    border-bottom-left-radius: 100%;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-top-right-radius: 100%;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-top-left-radius: 100%;
}

/* Responsividade */
@media (max-width: 1200px) {
    .game-area {
        flex-wrap: wrap;
    }
    
    .resources-sidebar, .sidebar {
        width: 48%;
        margin-right: 0;
    }
    
    .main-view {
        width: 100%;
        order: 3;
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .resources-sidebar, .sidebar {
        width: 100%;
    }
    
    .sidebar {
        margin-top: 20px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .resources {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .resource {
        flex: 1 0 45%;
        margin-bottom: 10px;
    }
}

/* Elementos decorativos adicionais */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    width: 80%;
}

.ornament-line {
    flex-grow: 1;
    height: 1px;
    background: var(--gold-gradient);
}

.ornament-symbol {
    margin: 0 15px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.ornament-text {
    margin: 0 15px;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.notification-title {
    margin-bottom: 15px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-ornament {
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12 2L9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 15px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-ornament {
    width: 40px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 15px;
}

/* Estilização adicional para botões */
.menu-btn, .crop-btn, .factory-btn {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.menu-btn:hover::after {
    width: 80%;
}

/* Efeito de papel antigo para o fundo */
.game-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(0,0,0,0.03)" stroke-width="0.5"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Estilização para os campos, fábricas e alojamentos */
.field-tile, .factory-tile, .housing-tile {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.field-name, .factory-name, .housing-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Estilização para as notificações */
.notification {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Estilização para os textos nos modais */
.modal-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

/* Estilos para o sistema de patentes */
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rank-display {
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    position: relative;
}

.rank-display::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    pointer-events: none;
}

.rank-title {
    font-size: 0.9rem;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.rank-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rank-progress {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.rank-progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    width: 0%;
    transition: width 0.8s ease;
}

/* Estilos para os diferentes níveis de patente */
.rank-bronze {
    color: #cd7f32;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rank-silver {
    color: #c0c0c0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rank-gold {
    color: #ffd700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.rank-platinum {
    color: #e5e4e2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 5px rgba(229, 228, 226, 0.5);
}

.rank-diamond {
    color: #b9f2ff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 8px rgba(185, 242, 255, 0.7);
}

/* Ajuste para o layout responsivo */
@media (max-width: 768px) {
    .header-left {
        width: 100%;
        align-items: center;
    }
    
    .rank-display {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Estilos para o botão KFC */
.special-btn {
    background-color: #e4002b; /* Vermelho KFC */
    color: white;
    border: 2px solid #a50020;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.special-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: 0.5s;
}

.special-btn:hover {
    background-color: #a50020;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.special-btn:hover::before {
    left: 100%;
}

/* Estilos para a barra KFC RUSH */
.kfc-rush-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e4002b;
    color: white;
    padding: 10px 20px;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: kfcPulse 1.5s infinite;
}

@keyframes kfcPulse {
    0% { background-color: #e4002b; }
    50% { background-color: #a50020; }
    100% { background-color: #e4002b; }
}

.kfc-rush-text {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.kfc-rush-progress {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.kfc-rush-progress-bar {
    height: 100%;
    background-color: white;
    width: 100%;
    transition: width 0.1s linear;
}

/* Estilos para o painel de conselheiros */
.advisors-view {
    background-color: var(--light-color);
    padding: 25px;
    border: 2px solid var(--dark-color);
    position: relative;
    background-image: var(--paper-texture);
    margin-top: 20px;
}

.advisors-view::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--accent-color);
    pointer-events: none;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.advisor-placeholder {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--dark-color);
    padding: 20px;
    text-align: center;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advisor-placeholder::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

.advisor-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.advisor-type {
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.advisor-status {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.advisor-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.advisor-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.advisor-level {
    display: flex;
    margin-bottom: 10px;
}

.level-star {
    color: var(--accent-color);
    margin: 0 2px;
}

.hire-advisor-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.hire-advisor-btn:hover {
    background-color: var(--primary-color);
}

.dismiss-advisor-btn {
    background-color: var(--warning-color);
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.dismiss-advisor-btn:hover {
    background-color: var(--danger-color);
}

/* Estilos para o modal de contratação de conselheiros */
.advisors-for-hire {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.advisor-option {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--dark-color);
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.advisor-option::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

.advisor-option-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(88, 129, 87, 0.1);
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
}

.advisor-option-details {
    flex: 1;
}

.advisor-option-name {
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.advisor-option-description {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.advisor-option-level {
    display: flex;
    margin-bottom: 5px;
}

.advisor-option-cost {
    font-weight: bold;
    color: var(--primary-color);
}

.advisor-option-hire-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.advisor-option-hire-btn:hover {
    background-color: var(--primary-color);
}

/* Estilos para conselheiros especiais */
.special-advisor {
    background-color: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--accent-color);
}

.special-advisor .advisor-option-name,
.special-advisor .advisor-name {
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.special-advisor .advisor-option-icon,
.special-advisor .advisor-icon {
    background-color: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.bizagi-icon {
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M3 3h18v18H3V3zm16 16V5H5v14h14zM7 7h10v2H7V7zm0 4h10v2H7v-2zm0 4h7v2H7v-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
} 