/* ============================================ */
/* portal_games.css – Стили для мини-игр портала */
/* ============================================ */

/* -------------------- ОБЩИЙ ХАБ (games.php) -------------------- */
.games-page .content {
    background: rgba(26,17,12,0.85);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 30px 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 0 30px rgba(212,175,55,0.1);
    border: 2px solid #b8860b;
}

.games-page .page-title {
    background: linear-gradient(145deg, rgba(44,30,21,0.9), rgba(26,17,12,0.9));
    border: 2px solid #a0522d;
    border-radius: 10px;
    padding: 20px 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.games-page .page-title h1 {
    font-size: 42px;
    font-weight: 800;
    color: #ffd966;
    text-shadow: 2px 2px 0 #2b1e0e;
    letter-spacing: 2px;
    margin: 0;
}

.games-page .page-title .subtitle {
    color: #e6d5b8;
    font-size: 18px;
    font-style: italic;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.game-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.95));
    border: 2px solid #8b5a2b;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 0 20px rgba(255,215,0,0.2);
}

.game-card.placeholder {
    opacity: 0.8;
    border-style: dashed;
}

.game-card.info-card {
    border-color: #8b5a2b;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.3));
}

.game-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffd966;
    margin-bottom: 10px;
}

.game-card p {
    color: #e6d5b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-meta {
    margin-bottom: 20px;
}

.game-status {
    display: inline-block;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #b8a58e;
    border: 1px solid #8b5a2b;
}

.game-card:hover .game-status {
    border-color: #ffd700;
    color: #ffd966;
}

.game-button {
    background: linear-gradient(145deg, #a0522d, #8b4513);
    border: 2px solid #b8860b;
    border-radius: 40px;
    padding: 12px 20px;
    color: #ffd966;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.game-button:hover:not(:disabled) {
    background: linear-gradient(145deg, #8b4513, #5d2906);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #3f2e22, 0 12px 25px #000, 0 0 20px gold;
    color: #fff;
}

.game-button.disabled,
.game-button:disabled {
    opacity: 0.5;
    filter: grayscale(0.7);
    cursor: not-allowed;
    pointer-events: none;
}

/* -------------------- КОЛЕСО ФОРТУНЫ (fortune.php) -------------------- */
.fortune-page .daily-bonus-section,
.fortune-page .dashboard-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.98), rgba(26,17,12,0.98));
    border-radius: 20px;
    border: 2px solid #a0522d;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 30px rgba(212,175,55,0.1);
}

.fortune-page .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd966;
    margin-bottom: 20px;
    border-bottom: 2px solid #b8860b;
    padding-bottom: 10px;
}

/* Полоска дней */
.streak-days {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: center;
}

.streak-day {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    background: #3f2e22;
    border: 2px solid #8b5a2b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.streak-day.active {
    background: #b8860b;
    border-color: #ffd700;
    box-shadow: 0 0 15px gold, inset 0 0 10px rgba(255,215,0,0.3);
}

.streak-day.past {
    background: #27ae60;
    border-color: #2ecc71;
}

.streak-day .day-number {
    font-size: 1.2rem;
    line-height: 1;
}
.streak-day .day-tokens {
    font-size: 0.7rem;
    opacity: 0.8;
}

.next-bonus-timer {
    margin-top: 15px;
    color: #b8a58e;
    font-size: 1rem;
}

/* Кнопка бонуса */
.bonus-button {
    background: linear-gradient(145deg, #27ae60, #229954);
    border: 2px solid #2ecc71;
    border-radius: 40px;
    padding: 10px 30px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.bonus-button:hover {
    background: linear-gradient(145deg, #229954, #1e8449);
    transform: translateY(-2px);
    box-shadow: 0 0 20px #2ecc71;
}

/* Статистика вращений */
.spin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.stat-box {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #8b5a2b;
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd966;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.8rem;
    color: #b8a58e;
    text-transform: uppercase;
}
.stat-value .token-image {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Игровой автомат */
.slot-machine-container {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.95));
    border: 3px solid #a0522d;
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px #000, inset 0 0 30px rgba(212,175,55,0.2);
}

.slot-visible-area {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #2b1e0e;
    border-radius: 20px;
    border: 3px solid #b8860b;
    margin-bottom: 20px;
}

.slot-items {
    transition: transform 0.1s linear;
    will-change: transform;
}

.slot-item {
    height: 100px;
    padding: 10px 20px;
    border-bottom: 2px solid #8b5a2b;
    background: linear-gradient(145deg, rgba(44,30,21,0.9), rgba(26,17,12,0.9));
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.slot-item.winning {
    background: rgba(255,215,0,0.3);
    border: 3px solid gold;
    box-shadow: 0 0 30px gold;
}

.slot-center-indicator {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100px;
    border-top: 3px solid #ffd700;
    border-bottom: 3px solid #ffd700;
    box-shadow: 0 0 20px gold;
    pointer-events: none;
    z-index: 10;
}

.slot-top-overlay,
.slot-bottom-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(26,17,12,1), transparent);
    pointer-events: none;
    z-index: 5;
}
.slot-top-overlay { top: 0; }
.slot-bottom-overlay { bottom: 0; background: linear-gradient(to top, rgba(26,17,12,1), transparent); }

.slot-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.slot-info {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #8b5a2b;
}

.slot-tokens {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd966;
}
.token-image {
    width: 35px;
    height: 35px;
}

.slot-spin-count {
    color: #b8a58e;
    font-size: 1rem;
}

.spin-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.spin-button {
    background: linear-gradient(145deg, #a0522d, #8b4513);
    border: 2px solid #b8860b;
    border-radius: 40px;
    padding: 10px 25px;
    color: #ffd966;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spin-button:hover:not(:disabled) {
    background: linear-gradient(145deg, #8b4513, #5d2906);
    transform: translateY(-2px);
    box-shadow: 0 0 20px gold;
    color: #fff;
}

.spin-button:disabled {
    opacity: 0.5;
    filter: grayscale(0.7);
    cursor: not-allowed;
}

.spin-button-free {
    background: linear-gradient(145deg, #2e7d32, #1b5e20);
    border-color: #4caf50;
}

.spin-button-paid {
    background: linear-gradient(145deg, #1565c0, #0d47a1);
    border-color: #42a5f5;
}

/* Карточки призов с редкостью */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
}
.prize-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.95));
    border: 2px solid #8b5a2b;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.prize-card:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
}
.prize-icon {
    position: relative;
    margin-bottom: 10px;
}
.prize-icon img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    border: 2px solid #b8860b;
}
.prize-count {
    position: absolute;
    bottom: -5px;
    right: 5px;
    background: #b8860b;
    color: #1f140c;
    border-radius: 50%;
    min-width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid gold;
}
.prize-name {
    font-weight: 600;
    color: #ffd966;
    font-size: 0.9rem;
    margin-bottom: 5px;
    word-break: break-word;
}
.prize-rarity {
    font-size: 0.8rem;
}
.rarity-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.rarity-legendary { background: rgba(255,215,0,0.2); color: #FFD700; border: 1px solid #FFD700; }
.rarity-epic { background: rgba(147,112,219,0.2); color: #9370DB; border: 1px solid #9370DB; }
.rarity-rare { background: rgba(65,105,225,0.2); color: #4169E1; border: 1px solid #4169E1; }
.rarity-valuable { background: rgba(32,178,170,0.2); color: #20B2AA; border: 1px solid #20B2AA; }
.rarity-common { background: rgba(112,128,144,0.2); color: #708090; border: 1px solid #708090; }

/* История вращений */


.fortune-page .history-list {
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 2px solid #8b5a2b;
    overflow-y: auto;
    max-height: 300px;
}

.fortune-page .history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #3f2e22;
    transition: background 0.2s;
}

.fortune-page .history-item:last-child {
    border-bottom: none;
}

.fortune-page .history-item:hover {
    background: rgba(0,0,0,0.3);
}

.fortune-page .history-item .icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.fortune-page .history-item .info {
    flex: 1;
}

.fortune-page .history-item .prize {
    font-weight: 600;
    color: #ffd966;
    display: block;
    margin-bottom: 3px;
}

.fortune-page .history-item .date {
    font-size: 0.8rem;
    color: #b8a58e;
}
.history-list .history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #3f2e22;
    cursor: pointer;
    transition: background 0.2s;
}
.history-list .history-item:hover {
    background: rgba(0,0,0,0.3);
}
.history-icon {
    width: 50px;
    text-align: center;
}
.history-icon img {
    max-width: 40px;
    max-height: 40px;
    border-radius: 5px;
}
.history-info {
    flex: 1;
}
.history-prize {
    font-weight: 600;
    color: #ffd966;
}
.history-time {
    font-size: 0.8rem;
    color: #b8a58e;
}

/* Модальное окно приза */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.modal-content {
    background: linear-gradient(145deg, rgba(255,255,255,1), rgba(245,245,245,0.98));
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 5px solid #ffd700;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-prize-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}
.modal-prize-name {
    font-size: 2rem;
    font-weight: 900;
    color: #8b0000;
    margin-bottom: 10px;
}
.modal-prize-count {
    font-size: 1.5rem;
    color: #27ae60;
    margin-bottom: 15px;
}
.modal-rarity-info {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* -------------------- ЛОТЕРЕЯ (loto.php) -------------------- */
.loto-page .loto-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid #6b4f2a;
}

.loto-page .loto-tabs .tab-button {
    padding: 8px 16px;
    background: linear-gradient(145deg, #3f2e22, #2b1e0e);
    border: 2px solid #b8860b;
    border-radius: 30px;
    color: #fff8e7;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.loto-page .loto-tabs .tab-button.active {
    background: linear-gradient(145deg, #b8860b, #8b5a2b);
    color: #1f140c;
    border-color: #ffd700;
    box-shadow: 0 0 15px gold;
}

.loto-page .numbers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 20px 0;
}

.loto-page .number-btn,
.loto-page .super-btn {
    padding: 12px 23px;
    background: #3f2e22;
    border: 2px solid #8b5a2b;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s;
    user-select: none;
}
.wins-list, .draws-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}
.super-numbers{
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}
.loto-page .number-btn:hover,
.loto-page .super-btn:hover {
    background: #5a3e2b;
    border-color: #b8860b;
}

.loto-page .number-btn.selected,
.loto-page .super-btn.selected {
    background: #b8860b !important;
    border-color: #ffd700 !important;
    color: #1f140c;
    box-shadow: 0 0 15px gold;
}

.loto-page .super-btn.selected {
    background: #b8740b !important;
    border-color: #ff8600 !important;
}

.loto-page .tickets-list .ticket-item {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.95));
    border: 2px solid #a0522d;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.loto-page .ticket-item .status {
    margin-top: 10px;
    font-weight: 600;
    color: #ffd966;
}

.loto-page .draws-list .draw-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.95), rgba(26,17,12,0.95));
    border: 2px solid #a0522d;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
}

/* -------------------- ГЛАС ШЕАРЫ (god_voice.php) -------------------- */
.god-page .event-card {
    background: linear-gradient(145deg, rgba(44,30,21,0.98), rgba(26,17,12,0.98));
    border: 2px solid #a0522d;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 30px rgba(212,175,55,0.1);
}

.god-page .event-message {
    font-size: 1.2rem;
    color: #f0e6d2;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border-left: 4px solid #b8860b;
}

.god-page .event-prize {
    color: #ffd966;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(184,134,11,0.2);
    border-radius: 30px;
    display: inline-block;
}

.god-page .event-time {
    color: #b8a58e;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.god-page .answer-form input {
    background: #3f2e22;
    border: 2px solid #b8860b;
    border-radius: 40px;
    padding: 12px 20px;
    color: #fff;
    font-size: 16px;
    flex: 1;
}

.god-page .answer-form input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px gold;
}

.god-page .answer-form {
    display: flex;
    gap: 10px;
}

/* -------------------- ВСПЛЫВАЮЩИЕ БОНУСЫ (ДАРЫ БОГОВ) -------------------- */
.bonus-popup {
    position: fixed;
    cursor: pointer;
    z-index: 10000;
    animation: popIn 0.3s ease-out;
}

.bonus-popup img {
    border-radius: 8px;
    border: 2px solid gold;
    box-shadow: 0 0 15px gold;
    transition: transform 0.2s;
}

.bonus-popup:hover img {
    transform: scale(1.05);
}

.bonus-popup .timer-progress {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0,0,0,0.5);
    border-radius: 3px;
    overflow: hidden;
}

.bonus-popup .timer-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    animation: shrink linear forwards;
}

.bonus-popup.explode {
    animation: explode 0.4s ease-out forwards;
}

@keyframes shrink {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes explode {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* -------------------- АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ -------------------- */
@media (max-width: 768px) {
    .games-page .content {
        padding: 20px 15px;
    }
    .games-page .page-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .games-page .page-title h1 {
        font-size: 32px;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }

    .fortune-page .prizes-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .fortune-page .streak-day {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
    }

    .loto-page .numbers-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .loto-page .loto-tabs {
        flex-wrap: wrap;
    }
    .loto-page .loto-tabs .tab-button {
        flex: 1 1 auto;
        font-size: 12px;
        padding: 6px 10px;
    }

    .god-page .event-card {
        padding: 15px;
    }
    .god-page .answer-form {
        flex-direction: column;
    }
    .god-page .answer-form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .slot-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .spin-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .fortune-page .daily-bonus-section {
        padding: 15px;
    }
    .fortune-page .streak-day {
        width: 35px;
        height: 35px;
    }
    .loto-page .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .slot-info {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== БОГИНЯ ШЕАРА – ФИКСИРОВАННАЯ ИКОНКА ===== */
.shea-goddess {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10001;
    display: none;
}

.goddess-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8b4513, #5d2906);
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.5);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    animation: goddessPulse 2s infinite;
}

.goddess-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px gold;
}

.goddess-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.goddess-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    min-width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(231,76,60,0.5);
}

.goddess-panel {
    position: absolute;
    bottom: 100px;
    right: 0;
    width: 350px;
    background: linear-gradient(145deg, rgba(44,30,21,0.98), rgba(26,17,12,0.98));
    border: 3px solid #a0522d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 30px rgba(212,175,55,0.1);
    backdrop-filter: blur(10px);
    color: #f0e6d2;
    font-family: 'Philosopher', sans-serif;
    z-index: 10002;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.goddess-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(184,134,11,0.2);
    border-bottom: 2px solid #b8860b;
}

.goddess-header h3 {
    margin: 0;
    color: #ffd966;
    font-size: 1.3rem;
}

.goddess-close {
    background: transparent;
    border: none;
    color: #b8a58e;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s;
}
.goddess-close:hover {
    color: #fff;
}

.goddess-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px 20px;
}

.goddess-content .god-event-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3f2e22;
}
.goddess-content .god-event-item:last-child {
    border-bottom: none;
}

.goddess-content .god-question {
    font-size: 1rem;
    margin-bottom: 8px;
    background: rgba(0,0,0,0.3);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #b8860b;
}

.goddess-content .god-prize {
    color: #ffd966;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.goddess-content .god-time {
    color: #b8a58e;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.goddess-content .god-answer {
    display: flex;
    gap: 8px;
}
.goddess-content .god-answer input {
    flex: 1;
    background: #3f2e22;
    border: 2px solid #b8860b;
    border-radius: 30px;
    padding: 8px 15px;
    color: #fff;
    font-size: 0.9rem;
}
.goddess-content .god-answer input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px gold;
}
.goddess-content .god-answer button {
    background: linear-gradient(145deg, #a0522d, #8b4513);
    border: 2px solid #b8860b;
    border-radius: 30px;
    padding: 8px 16px;
    color: #ffd966;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.goddess-content .god-answer button:hover {
    background: linear-gradient(145deg, #8b4513, #5d2906);
    color: #fff;
    border-color: #ffd700;
}
.goddess-content .god-answer button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.goddess-content .no-events {
    text-align: center;
    padding: 30px;
    color: #b8a58e;
    font-style: italic;
}

@keyframes goddessPulse {
    0% { box-shadow: 0 0 20px rgba(255,215,0,0.5); }
    50% { box-shadow: 0 0 35px rgba(255,215,0,0.8); }
    100% { box-shadow: 0 0 20px rgba(255,215,0,0.5); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .goddess-panel {
        width: 300px;
        right: 0;
        bottom: 90px;
    }
    .goddess-icon {
        width: 60px;
        height: 60px;
    }
}

.god-page .event-prize {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(184,134,11,0.15);
    border-radius: 40px;
    padding: 8px 16px;
    margin: 15px 0;
    border: 1px solid #b8860b;
}

.god-page .prize-label {
    color: #ffd966;
    font-weight: 600;
    margin-right: 5px;
}

.god-page .prize-icon-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #b8860b;
    background: rgba(0,0,0,0.2);
}

.god-page .artifact-link {
    color: #ffd966;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #b8860b;
    transition: color 0.2s, border-bottom-color 0.2s;
}

.god-page .artifact-link:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}


.back-button {
    background: linear-gradient(145deg, #a0522d, #8b4513);
    border: 2px solid #b8860b;
    border-radius: 30px;
    padding: 8px 20px;
    color: #ffd966;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
}
.back-button:hover {
    background: linear-gradient(145deg, #8b4513, #5d2906);
    border-color: #ffd700;
    color: #fff;
    transform: translateY(-2px);
}