body {
    /* 1. Fallback solid color (parchment tone) */
    background-color: #d4b880;

    /* 2. Combined gradient (bottom layer) + image (top layer) */
    background-image: url('bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    margin: 60px auto;
    background-color: rgba(30, 26, 19, 0.95); /* dark overlay */
    padding: 40px;
    border: 4px solid #c89b3c; /* gold border */
    border-radius: 16px;
    box-shadow: 0 0 15px #000;
}

h1 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 48px;
    text-align: center;
    color: #ffd700;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 30px;
    color: #ffdf6b;
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.subtitle {
    font-style: italic;
    font-size: 16px;
    color: #e8c760;
    margin-bottom: 20px;
    text-align: center;
}

.highlight {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #ffcc00;
    margin-bottom: 30px;
}

.immortal-list {
    list-style: none;
    padding: 0;
    font-size: 18px;
    line-height: 2;
    text-align: center;
    color:#ffcc00;
}

.icon {
    font-size: 22px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 24px;
    }
}

.apex-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.apex-button img {
    width: 12px;
    height: 12px;
    display: block;
    transition: transform 0.2s ease-in-out;
    cursor: help;
}

.apex-button:hover img {
    transform: scale(1.1);
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1e1a13;
    color: #ffdf6b;
    border: 1px solid #c89b3c;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 0 8px #00000066;
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.apex-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
}

.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 5%;
    width: 90%;
    height: 100%;
    color: #f6e09d;
    font-family: Georgia, serif;
    z-index: 999;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.info-modal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@keyframes blink-glow {
    0%, 100% {
        box-shadow: 0 0 10px #ffdf6b;
        background-color: #3a2e1e;
    }
    50% {
        box-shadow: 0 0 20px #ffdf6b;
        background-color: #5b442a;
    }
}

#info-link {
    animation: blink-glow 2s infinite;
}
