@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@800&display=swap');

* {
    box-sizing: border-box;
    font-family: sans-serif;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    position: relative;
    height: 100%;
    font-family: 'Georgia', serif;
    background-color: #0a0a0a;
    color: #fff;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Vollkorn", serif;
    font-weight: 800;
}

section {
    min-height: 100%;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.hero-section {
    position: relative;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/header.png') no-repeat 0 0;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 20vh 0 0;
}

.hero-title {
    font-size: 120px;
    font-weight: bold;
    color: #8b0000;
    text-shadow: 0 0 30px rgba(139, 0, 0, 0.8), 0 0 5px rgb(0,0,0), 0 0 3px black, 0 0 3px black;
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.hero-subtitle {
    font-size: 18px;
    color: #999;
    letter-spacing: 3px;
    text-shadow: 0 0 2px black, 0 0 3px black, 0 0 4px black, 0 0 5px black, 0 0 10px black;
}

.red-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.3) 0%, transparent 100%);
}

.section {
    padding: 100px 50px;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.chapter-label {
    font-size: 2rem;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 4rem;
    color: #c9a961;
    letter-spacing: 8px;
    font-weight: normal;
    text-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}

.section-description {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.8;
}

/* Gift Section */
.gift-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/assets/images/gift.png') no-repeat 0 0;
    /*background: radial-gradient(ellipse at center, #1a0a0a 0%, #0a0a0a 100%);*/
}

.gift-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 5rem auto 0;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #2a1a1a 0%, #1a0a0a 100%);
    border: 2px solid #c9a961;
    overflow: hidden;
}

.gift-image {
    width: 200%;
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #666;
    font-size: 1rem;
}

.claim-button {
    background: linear-gradient(135deg, #c00 0%, #900 100%);
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.5);
    transition: all 0.3s;
    width: 100%;
}

.claim-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(204, 0, 0, 0.8);
}

/* Celebration Section */
.celebration-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/assets/images/celebration.png') no-repeat 0 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    margin: 5rem auto 0;
}

.reward-card {
    background: radial-gradient(circle at center, #2a1a1a 0%, #1a0a0a 100%);
    border: 2px solid #c9a961;
    transform: rotate(45deg);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.reward-card > div {
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.reward-icon {
    width: 40px;
    height: 40px;
    background: #3a1a1a;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.reward-title {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 10px;
}

.reward-button {
    background: #c00;
    color: #fff;
    border: none;
    padding: 8px 25px;
    width: 100%;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
}

/* Tower Section */
.tower-section {
    background: linear-gradient(to top, #000000 0%, #4A0000 100%);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tower-container {
    margin: 50px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
}

.tower-main {
    width: 300px;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 30%, #a00 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.tower-top {
    width: 100%;
    height: 150px;
    background: #3a3a3a;
    border-radius: 10px 10px 0 0;
}

.tower-levels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: none;
    background: transparent;
    width: 100%;
    outline: 0;
}

.tower-level {
    width: 100%;
    height: 50px;
    background: #c00;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
}

.rewards-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 300px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(42, 26, 26, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
}

.reward-item-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: radial-gradient(circle at center, #2a1a1a 0%, #1a0a0a 100%);
    border: 2px solid #c9a961;
    transform: rotate(45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.reward-item-icon div {
    transform: rotate(-45deg);
}

.reward-item-text {
    flex: 1;
}

.reward-item-title {
    font-size: 14px;
    color: #c9a961;
    margin-bottom: 5px;
}

.reward-item-desc {
    font-size: 12px;
    color: #999;
}

/* Footer */
.footer-content {
    margin: 10rem auto 0;
    display: flex;
    justify-content: center;
    gap: .5rem;
    color: gray;
}

.footer-content a {
    text-decoration: none;
    color: #aaa;
}

.footer-content a:hover {
    color: #fff;
    transition: .5s ease;
}

.decorative-line {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #c9a961 50%, transparent 100%);
    margin: 30px auto;
}

.swiper-container {
    overflow: hidden;
}
.swiper-pagination {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 1rem;
}
.swiper-pagination-bullet {
    background: #000;
    opacity: 1;
    width: 1rem;
    height: 1rem;
    border-radius: 0;
    transform: rotate(45deg);
}
.swiper-pagination-bullet-active {
    background: #c00;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal .modal-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 101;
}

.modal .modal-bg:before {
    content: 'X';
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.modal .modal-bg:hover {
    cursor: pointer;
}

.modal .modal-body {
    max-width: 400px;
    background: #333;
    padding: 1rem;
    z-index: 102;
}

.modal .modal-body p {
    margin: 0;
}

.confirm {
    display: block;
    background: #c00;
    color: #fff;
    padding: 8px 25px;
    width: 100%;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem 0 0;
}

.column-chronicle {
    max-width: 850px;
    width: 100%;
}

.column-chronicle h3 {
    font-family: sans-serif;
    font-weight: 100;
}

.column-chronicle .chapter-label {
    text-align: center;
}

.column-chronicle .footer-content {
    margin: 10rem 0 5rem;
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .rewards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        margin: 3rem auto 0;
    }

    .reward-card {
        width: 100px;
        height: 100px;
    }

    .reward-icon {
        margin: 0;
    }

    .section-title {
        margin: 0;
    }

    .section-description {
        margin: 0;
    }

    .decorative-line {
        margin: 1rem auto;
    }

    .tower-section {
        padding: 0 2rem;
    }

    .tower-container {
        flex-direction: column;
        align-items: center;
        margin: 0;
        gap: 15px;
    }

    .reward-item {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        align-items: center;
    }
}