:root {
    --primary: #E63946;
    --primary-dark: #C1121F;
    --accent: #F4A261;
    --success: #2A9D8F;
    --text-dark: #1D3557;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    margin: 0 auto;
    min-height: 100vh;
    max-width: 480px;
    position: relative;
    overflow-x: hidden;
}


/* Loader */

.loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.loader::after {
    content: 'Loading...';
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Navbar */

.navbardk {
    background: var(--bg-white) !important;
    padding: 12px 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}


/* Banner */

.dkban {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow);
}

.dkban img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.buttonclaim {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.buttonclaim a {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.buttonclaim a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    background: var(--primary-dark);
}


/* Main Content Area */

.seclog {
    background: transparent;
    padding: 24px 16px;
}

.sec1dk {
    width: 100%;
}


/* Claim Container */

.claim-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    margin: 0 auto;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.claim-container:hover {
    box-shadow: var(--shadow-hover);
}

.claim-header {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 24px !important;
    margin-bottom: 8px;
}


/* Form Styles */

.form-control {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--bg-white);
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.input-group-text {
    border: 2px solid var(--border);
    border-right: none;
    background: var(--bg-light);
    padding: 14px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.phone-input {
    border-left: none !important;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

.phone-helper {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
    border-left: 3px solid var(--primary);
}


/* Button */

.btdk {
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    cursor: pointer;
}

.btdk:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btdk:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


/* Success Feedback */

.success-feedback {
    color: var(--success);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.success-feedback.show {
    opacity: 1;
}


/* Alert */

.alert-danger {
    background: #FEF2F2;
    color: #DC2626;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    border-left: 4px solid #DC2626;
    margin-bottom: 20px;
}


/* Footer */

.footerdk {
    background: var(--text-dark);
    padding: 40px 24px 24px;
    margin-top: 24px;
    border-radius: 24px 24px 0 0;
}

.pwth {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    padding-top: 0;
}

.listfoot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.listp {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.listp:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ftgov {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ftgov img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    width: 80px;
}

.pgov1 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.ogvp {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    padding-top: 16px;
    padding-bottom: 24px;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}


/* Toast Notifications */

#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    max-width: 400px;
}

.toast-notification {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-left: 5px solid var(--success-color);
    color: var(--text-primary);
    padding: 20px 25px;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.6s ease, slideOutRight 0.6s ease 3.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.toast-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--success-color), #10b981, var(--success-color));
    animation: progressBar 4s linear;
}

.toast-notification::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}


/* Utility Classes */

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Text Gradient */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-animated {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #ff6b6b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}


/* Enhanced Button */

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 30px;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/* Enhanced Card */

.card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-enhanced:hover::before {
    opacity: 1;
}

.card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}


/* Enhanced Input */

.input-enhanced {
    border: 2px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.input-enhanced:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.1) !important;
    background: #fff !important;
    transform: translateY(-2px);
}


/* Claim Container & Form */

.claim-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    /* max-width: 400px; */
    margin: 0 auto;
}

.claim-header {
    color: #DA291C;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
    font-weight: 400;
    width: 100%;
}

.form-control:focus {
    border-color: #DA291C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.1);
}

.form-control:valid {
    border-color: #22c55e;
}

.input-group-text {
    border: 2px solid #e2e8f0;
    border-right: none;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-input {
    border-left: none !important;
    border-radius: 0 8px 8px 0 !important;
}

.phone-helper {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
    border-left: 3px solid #DA291C;
    font-size: 12px;
}

.success-feedback {
    color: #22c55e;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.success-feedback.show {
    opacity: 1;
}

.error-shake {
    border-color: #ef4444 !important;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border-left: 3px solid #dc2626;
}


/* Miscellaneous */

.dkfoot img {
    width: 148px;
}

.dkfoot {
    padding-left: 20px;
}

.dkpp img {
    width: 100%;
    margin-top: 30px;
}

.dkhead {
    padding-top: 10px;
    background-color: #dfe2f5;
    padding-bottom: 10px;
}

.secgov {
    display: flex;
    padding-top: 8px;
    padding-bottom: 0;
}

.pgov a {
    text-underline-offset: 46px;
    display: flex;
    text-decoration: underline;
    text-decoration-color: #CB0935;
}

.head-redeem {
    background-color: #f6f7fa;
    margin-top: -10px;
    height: 48px;
}

.head-redeem img {
    width: 106px;
    padding-top: 14px;
}

.secdc {
    display: flex;
    justify-content: space-between !important;
    padding-top: 32px;
}

.secdc img {
    width: auto;
    height: 32px;
    margin-top: 4px;
}

.dkbuttonlg {
    display: flex;
    background-color: transparent;
    border: 1px solid #505798;
    height: 40px;
    border-radius: 6px;
    padding: 6px 10px 6px 12px;
    color: #fff;
    font-weight: 500;
}

.dksvg1 {
    margin-left: 0;
    margin-right: 10px;
    width: 15px;
}

.dksvg2 {
    margin-left: 10px;
}

.plg {
    padding-right: 20px;
    color: #fff;
}

.pcdc1 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.secoun {
    margin-top: 22px;
    padding-bottom: 60px;
}

input {
    height: 100% !important;
    border-radius: 4px !important;
    padding-left: 19px !important;
    border-color: rgba(0, 0, 0, 0.23) !important;
    box-shadow: none !important;
    border-width: 1px !important;
    font-weight: 500 !important;
}

.btdk {
    background-color: #DA291C;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid #DA291C;
    transition: background-color 0.2s ease;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
}

.btdk:hover {
    color: #fff;
    font-weight: 600;
    outline: 1px solid #DA291C;
    box-shadow: none;
}

.btdk:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.headcdc {
    background-color: #2f3476;
    margin-top: -10px;
}

.logor img {
    width: 107px;
    height: auto;
    padding: 14px 0;
}

.navbardk {
    background-color: #F6F7FA !important;
}

.banner img {
    width: 100%;
}

.seclog {
    /* background-color: #fff;
                    min-height: calc(100vh - 400px); */
    display: flex;
    align-items: center;
    padding: 20px 10px;
}

.sec1dk {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.kiri img {
    width: 50px;
}

.secionhead {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    background-image: url('../assets/xxg.png');
    background-size: fill;
    background-position: right;
    background-repeat: no-repeat;
    background-color: rgba(218, 41, 28, 0.5);
}

.container-dk {
    padding: 0 20px;
}

.buttoneng {
    margin-top: -40px;
    background: transparent;
    border-radius: 6px;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 10px;
}

.wwh {
    background-color: #eaeaea !important;
}

.wwh h1 {
    color: red;
}

.buttona {
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 50px;
}

.buttona:hover {
    text-decoration: none;
    color: #E5481C;
    background-color: #fff;
    transition: all 0.5s;
}

.inputdk {
    min-width: 0;
    flex: 1;
}


/* Responsive */

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .buttonclaim a {
        padding: 6px 16px;
        font-size: 12px;
    }
    #toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    .listfoot {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .pwth {
        font-size: 20px;
    }
    .secgov {
        padding: 5px 0;
    }
    .ftgov {
        flex-direction: column;
        gap: 10px;
    }
    .btn-enhanced {
        padding: 12px 25px;
        font-size: 14px;
    }
    .card-enhanced {
        border-radius: 15px;
        margin: 10px;
    }
    .input-enhanced {
        padding: 12px 16px !important;
    }
    h1 {
        font-size: 24px !important;
    }
    h2 {
        font-size: 20px !important;
    }
    .claim-container {
        margin: 10px;
        padding: 25px 20px !important;
        border-radius: 12px;
    }
    .claim-header {
        font-size: 22px !important;
    }
    .form-control {
        padding: 14px 16px;
        font-size: 14px;
    }
    .input-group-text {
        padding: 14px;
    }
    .btdk {
        padding: 14px 24px;
        font-size: 14px;
    }
    .phone-helper {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    /* .buttonclaim a {
                        padding: 10px 20px;
                        font-size: 13px;
                    } */
    .listfoot {
        grid-template-columns: 1fr;
    }
    .pwth {
        font-size: 18px;
    }
    .btn-enhanced {
        padding: 10px 20px;
        font-size: 13px;
    }
    .card-enhanced {
        border-radius: 12px;
        margin: 5px;
    }
    h1 {
        font-size: 20px !important;
    }
    h2 {
        font-size: 18px !important;
    }
    .claim-container {
        margin: 5px;
        padding: 20px 15px !important;
        border-radius: 12px;
    }
    .claim-header {
        font-size: 20px !important;
    }
    .form-control {
        padding: 12px 14px;
        font-size: 13px;
    }
    .input-group-text {
        padding: 12px;
    }
    .btdk {
        padding: 12px 20px;
        font-size: 13px;
    }
    .phone-helper {
        padding: 8px 10px;
        font-size: 11px;
    }
    .seclog {
        padding: 10px 5px;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .btn-enhanced {
        border: 2px solid var(--primary-color);
    }
    .card-enhanced {
        border: 2px solid var(--text-primary);
    }
}