.halloween-page {
    background: #070507;
    color: #f8ead7;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

.halloween-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 17% 18%, rgba(255, 111, 0, 0.34), transparent 28%),
        radial-gradient(circle at 83% 22%, rgba(131, 49, 214, 0.28), transparent 30%),
        radial-gradient(circle at 47% 82%, rgba(62, 142, 73, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(7, 5, 7, 0.96), rgba(24, 10, 5, 0.94)),
        url('../images/archlord2.jpg') center top / cover no-repeat;
}

.halloween-background::before,
.halloween-background::after {
    content: "🎃";
    position: absolute;
    z-index: 0;
    font-size: clamp(160px, 20vw, 300px);
    line-height: 1;
    opacity: 0.11;
    filter: drop-shadow(0 0 32px rgba(255, 111, 0, 0.35));
    pointer-events: none;
}

.halloween-background::before {
    top: 88px;
    left: -46px;
    transform: rotate(-16deg);
}

.halloween-background::after {
    right: -38px;
    bottom: 42px;
    transform: rotate(14deg) scale(0.92);
}

.halloween-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 130, 31, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 130, 31, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 0, rgba(255, 120, 25, 0.16), transparent 42%);
    background-size: 52px 52px, 52px 52px, auto;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 86%);
    pointer-events: none;
}

.halloween-site-header {
    z-index: 20;
}

.halloween-main {
    padding-top: 0;
}

.halloween-shell {
    min-height: 100vh;
    padding-top: 108px;
    background: transparent !important;
}

.halloween-container {
    max-width: 1320px;
    padding: 44px 15px 96px;
}

.halloween-page .header {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 70px 34px 54px;
    background: linear-gradient(145deg, rgba(29, 14, 8, 0.9), rgba(8, 8, 11, 0.92));
    border: 1px solid rgba(255, 128, 31, 0.42);
    border-radius: 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    backdrop-filter: blur(8px);
}

.halloween-page .header::before,
.halloween-page .header::after {
    content: "🎃";
    position: absolute;
    color: rgba(255, 130, 31, 0.13);
    font-size: clamp(100px, 16vw, 230px);
    line-height: 1;
    pointer-events: none;
}

.halloween-page .header::before {
    top: -20px;
    left: -30px;
    transform: rotate(-15deg);
}

.halloween-page .header::after {
    right: -18px;
    bottom: -58px;
    transform: rotate(17deg);
}

.halloween-page .event-logo {
    position: relative;
    margin: 0;
    font-family: "Marcellus SC", serif;
    color: #fff3d7;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 26px rgba(255, 110, 0, 0.52), 0 7px 0 rgba(0, 0, 0, 0.36);
}

.halloween-page .event-subtitle {
    position: relative;
    margin-top: 18px;
    color: #ffb45f;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.halloween-page .countdown-box,
.halloween-page .section,
.halloween-page .boss-section,
.halloween-page .content-card,
.halloween-page .material-item,
.halloween-page .refine-formula,
.halloween-page .boss-card-single,
.halloween-page .boss-card,
.halloween-page .box-card {
    background: linear-gradient(145deg, rgba(18, 13, 17, 0.9), rgba(9, 7, 10, 0.9)) !important;
    border: 1px solid rgba(255, 132, 31, 0.26) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(8px);
}

.halloween-page .countdown-box,
.halloween-page .section,
.halloween-page .boss-section {
    margin-bottom: 34px;
    padding: 38px;
}

.halloween-page .countdown-title,
.halloween-page .section-title,
.halloween-page .boss-title,
.halloween-page .card-header,
.halloween-page .boss-card h3,
.halloween-page .box-title {
    font-family: "Marcellus SC", serif;
    color: #ffb45f !important;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 102, 0, 0.28);
}

.halloween-page .section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: 1.6px;
}

.halloween-page .section-title::before {
    content: "";
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, #ff6f00, #9d4edd);
    box-shadow: 0 0 16px rgba(255, 111, 0, 0.7);
}

.halloween-page .countdown {
    gap: 16px;
}

.halloween-page .countdown-item {
    min-width: 138px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 132, 31, 0.22);
    background: rgba(0, 0, 0, 0.28);
}

.halloween-page .countdown-number {
    color: #ff8a1f;
    text-shadow: 0 0 16px rgba(255, 102, 0, 0.45);
}

.halloween-page .countdown-label,
.halloween-page .card-text,
.halloween-page .item-list li,
.halloween-page .boss-info,
.halloween-page .box-items li {
    color: #ddcfbf !important;
    font-size: 17px;
    line-height: 1.7;
}

.halloween-page .content-grid,
.halloween-page .boss-grid,
.halloween-page .box-grid,
.halloween-page .material-grid {
    gap: 22px !important;
}

.halloween-page .content-card,
.halloween-page .material-item,
.halloween-page .boss-card,
.halloween-page .box-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.halloween-page .content-card:hover,
.halloween-page .material-item:hover,
.halloween-page .boss-card:hover,
.halloween-page .box-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 132, 31, 0.55) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44), 0 0 32px rgba(255, 102, 0, 0.14) !important;
}

.halloween-page .item-list li {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.halloween-page .item-list li::before {
    color: #ff8a1f;
}

.halloween-page .material-icon {
    filter: drop-shadow(0 0 18px rgba(255, 111, 0, 0.35));
}

.halloween-page .material-name,
.halloween-page .boss-info strong,
.halloween-page strong {
    color: #ffb45f;
}

.halloween-page .refine-formula {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.13), rgba(157, 78, 221, 0.08)) !important;
}

.halloween-page .refine-formula .formula {
    color: #fff3d7;
    font-family: "Marcellus SC", serif;
    text-shadow: 0 0 16px rgba(255, 102, 0, 0.34);
}

.halloween-page .boss-title {
    margin-bottom: 30px;
    color: #fff3d7 !important;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: 3px;
}

.halloween-page .boss-image-container,
.halloween-page .boss-card-image {
    overflow: hidden;
    border: 1px solid rgba(255, 132, 31, 0.18);
    background: radial-gradient(circle, rgba(255, 111, 0, 0.16), rgba(0, 0, 0, 0.5));
}

.halloween-page .boss-image-container img,
.halloween-page .boss-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
}

.halloween-page .box-section {
    margin-top: 34px !important;
}

.halloween-page .box-card {
    padding: 25px !important;
}

.halloween-page > footer,
.halloween-page footer {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 32px 20px;
    border-top: 1px solid rgba(255, 132, 31, 0.26);
    background: rgba(5, 4, 6, 0.86);
    color: #b7a896;
    text-align: center;
    backdrop-filter: blur(8px);
}

@media (max-width: 991px) {
    .halloween-shell {
        padding-top: 88px;
    }

    .halloween-page .countdown-box,
    .halloween-page .section,
    .halloween-page .boss-section {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .halloween-container {
        padding: 28px 14px 70px;
    }

    .halloween-page .header {
        padding: 52px 20px 42px;
    }

    .halloween-page .countdown-item {
        min-width: 120px;
    }
}

.halloween-page * {
    box-sizing: border-box;
}

.halloween-page {
    min-height: 100vh;
    margin: 0;
}

.halloween-page .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.halloween-page .material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 24px 0;
}

.halloween-page .boss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.halloween-page .boss-card-single {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
}

.halloween-page .boss-card {
    padding: 24px;
}

.halloween-page .boss-image-container {
    min-height: 250px;
}

.halloween-page .boss-card-image {
    height: 190px;
    margin-bottom: 18px;
}

.halloween-page .content-card {
    padding: 30px;
}

.halloween-page .material-item {
    padding: 22px;
    text-align: center;
}

.halloween-page .item-list {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
}

.halloween-page .item-list li {
    padding: 8px 0;
}

.halloween-page .item-list li::before {
    content: "▸";
    margin-right: 10px;
    font-weight: 700;
}

.halloween-page .card-header {
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.halloween-page .card-text {
    margin-bottom: 15px;
}

.halloween-page .material-icon {
    margin-bottom: 10px;
    font-size: 2.8rem;
}

.halloween-page .material-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.halloween-page .refine-formula {
    margin: 22px 0 0;
    padding: 22px;
    text-align: center;
}

.halloween-page .refine-formula .formula {
    font-size: 1.45rem;
    font-weight: 700;
}

.halloween-page .batch-options {
    margin-top: 10px;
    color: #d2bca1;
}

.halloween-page .boss-main {
    margin-bottom: 46px;
}

@media (max-width: 768px) {
    .halloween-page .content-grid,
    .halloween-page .boss-grid,
    .halloween-page .box-grid {
        grid-template-columns: 1fr !important;
    }

    .halloween-page .boss-card-single {
        grid-template-columns: 1fr;
    }

    .halloween-page .boss-image-container {
        min-height: 230px;
    }
}