body {
    margin: 0;
    background: #0d0f13;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.popup-container {
    display: flex;
    width: 900px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.popup-left {
    width: 45%;
    padding: 30px;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: white;
}

.title {
    margin: 0 0 10px 0;
    font-size: 26px;
}

.subtitle {
    margin: 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.features {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.features li {
    margin: 6px 0;
    font-size: 14px;
}

.join-box {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.discord-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background: #5865F2;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.discord-btn:hover {
    opacity: 0.85;
}

.popup-right {
    width: 55%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

input {
    width: 100%;
    padding: 12px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #cfcfcf;
    font-size: 15px;
}

.submit-btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #008f4a;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    opacity: 0.9;
}

.secure-note {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #333;
}

/* ===== FREE PACK WHITE UI ===== */

.freepack-card {
    max-width: 420px;
    margin: 80px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
    text-align: center;
    font-family: Arial, sans-serif;
}

.freepack-card h2 {
    margin-bottom: 10px;
}

.freepack-card p {
    color: #555;
    margin-bottom: 20px;
}

.freepack-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.freepack-card button {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.discord-btn {
    display: block;
    margin-top: 20px;
    background: #5865F2;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
}

@keyframes scaleIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fp-container {
    width: 900px;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fp-left {
    width: 45%;
    background: linear-gradient(180deg, #0f1b2d, #182b47);
    color: white;
    padding: 40px;
}

.fp-left h2 {
    margin-bottom: 20px;
}

.fp-left ul {
    margin-bottom: 30px;
    line-height: 1.8;
}

.fp-info-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
}

.fp-discord-btn {
    display: block;
    margin-top: 20px;
    padding: 12px;
    background: linear-gradient(90deg, #5865F2, #7289DA);
    text-align: center;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.fp-right {
    width: 55%;
    background: #f1f1f1;
    padding: 40px;
}

.fp-right h3 {
    margin-bottom: 10px;
}

.fp-sub {
    margin-bottom: 25px;
    color: #666;
}

.fp-right input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.fp-submit {
    width: 100%;
    padding: 14px;
    background: black;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.fp-submit:hover {
    background: #222;
}

/* SUCCESS MODAL */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.success-box {
    background: #111827;
    border-radius: 16px;
    padding: 40px;
    width: 380px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popIn 0.3s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: bold;
}

.success-box h2 {
    margin-bottom: 10px;
}

.success-box .sub-text {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 25px;
}

.success-box button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    background: linear-gradient(90deg, #5865F2, #7c3aed);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.success-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   Animated Checkmark
========================= */
.check-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
}

.check {
    width: 72px;
    height: 72px;
}

.check-circle {
    stroke: #22c55e;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: strokeCircle 600ms ease forwards;
    filter: drop-shadow(0 10px 20px rgba(34, 197, 94, 0.35));
}

.check-mark {
    stroke: #22c55e;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeMark 420ms ease forwards;
    animation-delay: 420ms;
}

@keyframes strokeCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes strokeMark {
    to {
        stroke-dashoffset: 0;
    }
}

/* =========================
   Form Close X Button
========================= */
.form-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.form-close:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}