:root {
    --bg-dark: #0a111e;
    --card-dark: #121d2f;
    --card-border: #1f2f47;
    --accent-red: #d32f2f;
    --accent-cyan: #00bcd4;
    --feluda-badge: #0a1b33;
    --maganlal-badge: #b8331e;
    --text-muted-custom: #8da2be;
}

body {
    background-color: var(--bg-dark);
    font-family: "Noto Sans Bengali", sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Ambient Hero Background with studio lighting */
.hero-container {
    background: radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.15), transparent 40%),
        radial-gradient(circle at 20% 15%, rgba(0, 188, 212, 0.15), transparent 35%),
        linear-gradient(180deg, #070d18 0%, #0a111e 60%, #0a111e 100%);
    background-size: cover;
    position: relative;
}

/* Top Logo */
.brand-logo-text {
    color: #e53935;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;

    img {
        width: 170px
    }
}

/* Hero Banner Area */
.hero-title-box {
    padding: 0;
}

.anandamela-tag {
    background: linear-gradient(90deg, #00838f, #00acc1);
    color: #fff;
    display: inline-block;
    padding: 3px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 172, 193, 0.3);
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #00e5ff;
    text-shadow: 0 3px 15px rgba(0, 229, 255, 0.35);
    margin-top: 6px;
}

.hero-main-title span {
    color: #ff5252;
    text-shadow: 0 3px 15px rgba(255, 82, 82, 0.35);
}

.container {
    max-width: 1280px;
}

.body {
    margin-top: -60px !important;
}

/* Left Card: White Script Box */
.script-card {
    background: #ffffff;
    color: #1a202c;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    padding: 24px 22px;
}

.script-instruction {
    font-size: 1.40rem;
    font-weight: 600;
    color: #414349;
    line-height: 1.45;
    margin-bottom: 10px;

    @media(max-width:768px) {
        font-size: 1.1rem;
    }
}

.dialogue-list {
    background: #FFE4C0;
    padding: 10px;
    border-radius: 5px;

    @media(max-width:768px) {
        padding: 6px;
    }
}

.dialogue-item {
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #fae1d6;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 20px;

    @media(max-width:768px) {
        flex-flow: column;
        gap: 6px;
        margin-bottom: 6px;
        padding: 10px;
        align-items: flex-start;
    }
}

.badge-feluda {
    background-color: var(--feluda-badge);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    min-width: 65px;
    text-align: center;
    margin-top: 4px;

    @media(max-width:768px) {
        padding: 2px 8px 1px;
        min-width: unset;
        font-size: 0.70rem;

    }
}

.badge-maganlal {
    background-color: var(--maganlal-badge);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    flex-shrink: 0;

    @media(max-width:768px) {
        padding: 2px 8px 1px;
        min-width: unset;
        font-size: 0.70rem;
    }
}

.dialogue-text {
    font-size: 0.96rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Right Card: Dark Registration Form */
.form-card {
    background-color: var(--card-dark);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.form-label-custom {
    color: #b7c7dc;
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.required-star {
    color: #ff5252;
}

.form-control-custom {
    background-color: #0b1320;
    border: 1px solid #1f2f47;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.92rem;
    padding: 8px 12px;
    transition: all 0.2s ease-in-out;
}

.form-control-custom:focus {
    background-color: #0e1828;
    border-color: #00acc1;
    box-shadow: 0 0 0 0.2rem rgba(0, 172, 193, 0.2);
    color: #fff;
}

/* Custom file upload styling */
.file-upload-wrapper {
    background-color: #0b1320;
    border: 1px solid #1f2f47;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 5px 8px;
}

.btn-browse {
    background-color: #1f2f47;
    color: #e2e8f0;
    border: none;
    padding: 5px 14px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-browse:hover {
    background-color: #2b3e5c;
    color: #fff;
}

.file-name-label {
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Buttons */
.btn-submit-custom {
    background: linear-gradient(90deg, #c62828, #e53935);
    border: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.btn-submit-custom:hover {
    background: linear-gradient(90deg, #b71c1c, #d32f2f);
    color: #fff;
    transform: translateY(-1px);
}

.btn-reset-custom {
    background-color: #263345;
    border: none;
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 30px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-reset-custom:hover {
    background-color: #334358;
    color: #fff;
}

/* Footer styling */
footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 16px;
}

.partner-pill {
    background-color: #142033;
    border: 1px solid #1f2f47;
    border-radius: 6px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.partner-logo-badge {
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 6px;
    border-radius: 4px;
    display: inline-block;

    img {
        width: 55px;
    }
}

.partner-logo-abp {
    background: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;

    img {
        width: 55px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.3rem;
    }

    .form-card,
    .script-card {
        padding: 18px 16px;
    }
}

/* Thank You Page Styling */
.thankyou-card {
    background-color: var(--card-dark);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 45px 36px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00acc1, #00e5ff, #e53935);
}

.thankyou-icon-wrapper {
    width: 86px;
    height: 86px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.18) 0%, rgba(0, 172, 193, 0.05) 70%);
    border: 2px solid rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 3rem;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.thankyou-title span {
    color: #00e5ff;
}

.thankyou-subtitle {
    font-size: 1.15rem;
    color: #b7c7dc;
    font-weight: 500;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 28px;
}

.thankyou-info-box {
    background-color: #0b1320;
    border: 1px solid #1f2f47;
    border-radius: 10px;
    padding: 22px 24px;
    margin: 0 auto 30px;
    max-width: 640px;
    text-align: left;
}

.thankyou-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.thankyou-info-item:not(:last-child) {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a273b;
}

.thankyou-info-icon {
    font-size: 1.35rem;
    line-height: 1;
    margin-top: 3px;
    flex-shrink: 0;
}

.thankyou-info-content h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.thankyou-info-content p {
    color: var(--text-muted-custom);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 768px) {
    .thankyou-card {
        padding: 28px 18px;
    }

    .thankyou-title {
        font-size: 1.85rem;
    }

    .thankyou-subtitle {
        font-size: 1rem;
    }

    .thankyou-info-box {
        padding: 16px;
    }

    .thankyou-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 2.4rem;
        margin-bottom: 18px;
    }
}

/* Multi-color Rotating Loader */
.multi-color-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid transparent;
    border-top-color: #e53935;
    /* Red */
    border-right-color: #00bcd4;
    /* Cyan */
    border-bottom-color: #ffca28;
    /* Yellow */
    border-left-color: #4caf50;
    /* Green */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Error Message Enhancements */
.error-msg {
    font-weight: 500;
    letter-spacing: 0.2px;
}