* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Sarabun', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input,
textarea {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

body {
    font-family: 'Sarabun', sans-serif;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(/images/Post2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.info-display {
    width: 450px;
    background: rgba(0, 0, 0, 0.773);
    height: auto;
    padding: 40px 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 37px;
    margin-top: -25px;
}

.info-field {
    margin-bottom: 20px;
}

.label {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.value {
    font-size: 18px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    min-height: 45px;
    display: flex;
    align-items: center;
    border: none;
    color: white;
    width: 100%;
    outline: none;
}

.details-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin-top: 20px;
}

.sub-details {
    margin-top: 10px;
}

.start-btn {
    width: 100%;
    height: 45px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    margin: 30px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 8px #d43737;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #b80b0b;
    background-color: #8b0000;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.4s;
}

.start-btn:hover {
    background-color: #a03a3a;
    box-shadow: 0px 0px 15px #ff0000;
    transform: translateY(-2px);
    cursor: pointer;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:active {
    transform: translateY(1px);
    box-shadow: 0px 0px 5px #ff0000;
}

.start-btn span {
    margin-right: 10px;
    transition: all 0.3s ease;
}

.start-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.start-btn:hover span,
.start-btn:hover i {
    color: #ffffff;
}

#loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #880000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-screen p {
    color: #ffffff;
    font-size: 18px;
    margin-top: 20px;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#main-content {
    transition: opacity 1s ease-out;
}

#main-content.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

body {
    transition: opacity 1s ease-out;
}

.promo-slider {
    width: 1200px;
    height: 600px;
    margin-bottom: 30px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    background: #000;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover img {
    opacity: 1;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.773);
    padding: 15px 30px;
    white-space: nowrap;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #d43737;
}

@keyframes fadeOutPromo {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.promo-slider.fade-out {
    animation: fadeOutPromo 0.5s ease forwards;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.radio-label input[type="radio"] {
    accent-color: #d43737;
    width: 18px;
    height: 18px;
}

.btn-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.policy-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 5px;
}

.start-btn:disabled {
    background-color: #555;
    border-color: #444;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.start-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#effectsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.discord-btn {
    width: 100%;
    max-width: 300px;
    height: 60px;
    background: #5865F2;
    border: 3px solid #4752C4;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(88, 101, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.4s;
}

.discord-btn:hover {
    background: #4752C4;
    box-shadow: 0px 6px 20px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
    color: white;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:active {
    transform: translateY(1px);
}

.discord-icon {
    width: 28px;
    height: 28px;
}

.discord-btn span {
    letter-spacing: 1px;
}