/* ============================================
   СТИЛИ ТАВЕРНЫ
   ============================================ */

.tavern-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.tavern-header {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.tavern-header h2 {
    font-size: 1.62em; /* уменьшено примерно на 35% */
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.tavern-subtitle {
    color: #ddd;
    font-style: italic;
    font-size: 0.9em; /* уменьшено */
}

/* Выбор гильдии */
.guild-selection {
    margin: 30px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.guild-selection h3 {
    font-size: 1.8em;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guild-desc {
    color: #ddd;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.guild-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.guild-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    max-width: 160px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.guild-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
    border-color: #ffd700;
}

.guild-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.guild-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.guild-name {
    font-size: 1.3em;
    font-weight: bold;
    margin: 10px 0;
}

.guild-btn small {
    display: block;
    font-size: 0.85em;
    color: #e0e0e0;
    margin-top: 8px;
    line-height: 1.3;
}

/* Контент таверны */
.tavern-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tavern-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.tavern-section h3 {
    font-size: 1.4em; /* совпадает с #playerProfile .player-name */
    color: #ffd700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Сворачиваемая секция (Турнир гильдий) */
.tavern-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tavern-section-header--collapsible {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding: 6px 0;
    min-height: 44px; /* удобная зона тапа */
}

.tavern-section-header--collapsible h3 {
    margin: 0;
}

.tavern-section-caret {
    color: #ffd700;
    font-size: 1.3em;
    line-height: 1;
    transform-origin: 50% 50%;
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

.tavern-section.collapsed .tavern-section-caret {
    transform: rotate(-90deg);
}

.tavern-section.collapsed .tavern-section-body {
    display: none;
}

.section-desc {
    color: #ddd;
    margin-bottom: 15px;
    font-style: italic;
}

/* Недоступная секция */
.tavern-section.disabled-section {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
    filter: grayscale(60%);
}

.tavern-section.disabled-section::after {
    content: '🔒 В разработке';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 10;
}

/* Профиль игрока */
.player-profile .profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.player-profile .profile-header h3 {
    margin: 0;
}

.settings-btn {
    background: linear-gradient(135deg, #d4a949 0%, #c9942f 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(212, 169, 73, 0.4);
}

.settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 169, 73, 0.6);
    border-color: #ffd700;
    background: linear-gradient(135deg, #e0b961 0%, #d4a949 100%);
}

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

.settings-icon {
    font-size: 1.5em;
}

/* Адаптив: компактнее текст кнопки настроек на мобильных */
.settings-text {
    font-size: 1em;
    line-height: 1;
}

/* По умолчанию показываем полную метку, короткая скрыта */
.settings-text.full { display: inline; }
.settings-text.short { display: none; }

@media (max-width: 600px) {
    .settings-text { font-size: 0.9em; }
    .settings-btn { padding: 8px 12px; gap: 6px; }
    .settings-icon { font-size: 1.3em; }
}

@media (max-width: 420px) {
    .settings-text { font-size: 0.8em; }
    .settings-btn { padding: 6px 10px; }
}

/* Очень узкие экраны: показываем сокращённую 'Настр.' вместо полной 'Настройки' */
@media (max-width: 360px) {
    .settings-text.full { display: none; }
    .settings-text.short { display: inline; }
    .settings-btn { padding: 6px 8px; }
}

/* Панель настроек */
.settings-panel {
    background: rgba(255, 215, 0, 0.04);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.settings-row:last-child {
    margin-bottom: 0;
}

.settings-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 20px;
}

.settings-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-label {
    color: #ddd;
    font-size: 1.1em;
    font-weight: 500;
    min-width: 150px;
}

.settings-name-input {
    display: flex;
    gap: 10px;
    flex: 1;
}

.settings-name-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    transition: all 0.3s ease;
}

.settings-name-input input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.settings-ok-btn {
    padding: 10px 20px;
    background: #4caf50;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-ok-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.settings-select {
    flex: 1;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-select:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.settings-select option {
    background: #2a2a2a;
    color: white;
}

.settings-toggle-btn {
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    color: #ddd;
    font-weight: 500;
    min-width: 140px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-toggle-btn .toggle-text {
    color: #ddd;
    font-size: 0.63em; /* уменьшено на 30% */
}

.settings-toggle-btn .toggle-icon {
    font-weight: bold;
    color: #fff;
    font-size: 0.7em; /* уменьшено на 30% */
}

.settings-toggle-btn.active {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-color: #4caf50;
}

.settings-toggle-btn.active .toggle-icon {
    color: #fff;
}

.settings-toggle-btn.disabled {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

.settings-toggle-btn.disabled .toggle-icon {
    color: #ff6b6b;
}

.settings-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.player-profile .player-card {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
}

.player-card .player-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Переопределение для профиля текущего игрока (точный селектор) */
#playerProfile .player-name {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}
.player-card .player-guild {
    font-size: 1.2em;
    color: #ffd700;
    margin-bottom: 15px;
}

/* Уменьшение шрифта описания гильдии в профиле на ~33% */
#playerProfile .player-guild {
    font-size: 0.8em;
}

.player-card .player-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.player-card .stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.player-card .stat-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffd700;
}

.player-card .stat-label {
    font-size: 0.9em;
    color: #ddd;
}

/* Таблица лидеров */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #fff;
    gap: 15px;
}

.leaderboard-entry .player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.leaderboard-entry .player-name-line {
    display: flex;
    align-items: baseline;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.leaderboard-entry .player-name-line .rank-inline {
    display: inline-block;
    width: 1.2cm;
    color: #ffd700;
    font-weight: bold;
}

.leaderboard-entry .player-name-line .guild-icon-name {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.1em;
}

.leaderboard-entry .player-name-line .player-presence-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    transform: translateY(-1px);
    flex: 0 0 auto;
}

.leaderboard-entry .player-name-line .player-presence-dot.online {
    background: #4caf50;
}

.leaderboard-entry .player-name-line .player-presence-dot.offline {
    background: #ff6b6b;
}

.leaderboard-entry .level-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(100, 200, 255, 0.3);
    border-radius: 6px;
    font-size: 0.64em;
    color: #64c8ff;
    border: 1px solid rgba(100, 200, 255, 0.5);
    font-weight: 600;
    white-space: nowrap;
}

.leaderboard-entry:first-child .player-name-line {
    color: #ffd700;
}

.leaderboard-entry .player-stats-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95em;
}

.leaderboard-entry .player-stats-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.leaderboard-entry.current-player .level-badge {
    font-size: 0.68em;
}

.leaderboard-entry:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.leaderboard-entry.current-player {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.leaderboard-entry .rank {
    font-weight: bold;
    font-size: 1.3em;
    min-width: 35px;
    color: #ffd700;
}

.leaderboard-entry .guild-icon {
    font-size: 1.3em;
}

.leaderboard-entry .score {
    font-weight: bold;
    color: #4facfe;
    font-size: 1.1em;
}

.leaderboard-entry .wins {
    font-size: 1.0em;
}

/* Анимация загрузки */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #fff;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 215, 0, 0.2);
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2em;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Система подарков */
.karma-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.player-select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-select:hover {
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.15);
}

.player-select option {
    background: #1e3c72;
    color: #fff;
}

.gift-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.gift-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gift-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.5);
}

.gift-btn:active {
    transform: translateY(-1px);
}

.gift-btn.gift-life {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.gift-btn.gift-life:hover {
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.gift-btn.gift-compass {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gift-btn.gift-compass:hover {
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.5);
}

.gift-btn.gift-curse {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.gift-btn.gift-curse:hover {
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

.gift-icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.gift-name {
    font-size: 1.1em;
    font-weight: bold;
    margin: 8px 0;
}

.gift-btn small {
    display: block;
    font-size: 0.85em;
    color: #e0e0e0;
    margin-top: 5px;
}

/* Доска сообщений */
.message-board {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.message-board::-webkit-scrollbar {
    width: 8px;
}

.message-board::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.message-board::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.message-board::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.message-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #4facfe;
}

.message-author {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.message-text {
    color: #fff;
    line-height: 1.5;
}

.message-time {
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

.message-input {
    display: flex;
    gap: 10px;
}

.message-input input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
}

.message-input input:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.15);
}

.message-input input::placeholder {
    color: #aaa;
}

.send-message-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

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

/* Статистика гильдий */
.guild-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.guild-stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.guild-stat-card:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.guild-stat-card .guild-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.guild-stat-card .guild-stat-icon {
    font-size: 2em;
}

.guild-stat-card .guild-stat-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffd700;
}

.guild-stat-card .guild-stat-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
}

.guild-stat-card .guild-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .settings-btn {
        padding: 10px 15px;
        font-size: 1em;
    }
    
    .settings-text {
        display: none;
    }
    
    .settings-icon {
        font-size: 1.5em;
    }
    
    .settings-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .settings-label {
        min-width: auto;
    }
    
    .settings-name-input,
    .settings-select {
        width: 100%;
    }
}


.guild-stat-card .guild-stat-label {
    color: #ddd;
}

.guild-stat-card .guild-stat-value {
    font-weight: bold;
    color: #4facfe;
}

/* Адаптивность для таверны */
@media (max-width: 768px) {
    .tavern-container {
        padding: 15px;
    }

    .tavern-header h2 {
        font-size: 1.3em; /* уменьшено для планшетов */
    }

    .tavern-section h3 {
        font-size: 1.4em; /* совпадает с #playerProfile .player-name */
    }

    .guild-options {
        gap: 10px;
    }

    .guild-btn {
        min-width: 130px;
        max-width: 140px;
        padding: 15px 10px;
    }

    .guild-icon {
        font-size: 2.5em;
    }

    .gift-options {
        flex-direction: column;
    }

    .gift-btn {
        max-width: 100%;
    }

    .guild-stats {
        grid-template-columns: 1fr;
    }

    .leaderboard-entry {
        font-size: 0.9em;
        padding: 10px;
    }

    .player-card .player-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .tavern-header h2 {
        font-size: 1.1em; /* мобильный заголовок */
    }

    .tavern-section h3 {
        font-size: 1.4em; /* совпадает с #playerProfile .player-name */
    }

    .tavern-section {
        padding: 15px;
    }

    .guild-btn {
        min-width: 100px;
        max-width: 120px;
    }
}

/* Центрировать кнопку 'В меню' на экране таверны */
.tavern-container > .menu-btn {
    display: block;
    margin: 20px auto 0 auto;
    min-width: 260px; /* немного меньше, чтобы поместилась на мобильных */
}

@media (max-width: 420px) {
    .tavern-container > .menu-btn {
        min-width: 160px;
        padding: 10px 18px;
        font-size: 1em;
    }
}

/* ============================================
   СТИЛИ БОНУСОВ ГИЛЬДИЙ
   ============================================ */

/* Кнопка бонуса гильдии */
.guild-bonus-btn {
    position: absolute;
    top: 120px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid gold;
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 100;
    animation: pulse-gold 2s infinite;
}

.guild-bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.5);
}

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

.guild-bonus-btn small {
    display: block;
    font-size: 0.7em;
    margin-top: 5px;
    opacity: 0.9;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 10px rgba(255,215,0,0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 25px rgba(255,215,0,0.6);
    }
}

/* Анимация исчезновения */
.monk-fade-out {
    animation: fadeOutScale 0.5s ease-out forwards;
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .guild-bonus-btn {
        top: 80px;
        right: 10px;
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .guild-bonus-btn {
        top: 70px;
        right: 5px;
        padding: 10px 12px;
        font-size: 12px;
    }
}
