:root {
    --red: #D50000;
    --red-hover: #FF1744;
    --red-glow: rgba(213, 0, 0, 0.5);
    --red-glow-soft: rgba(213, 0, 0, 0.15);
    --bg: #050508;
    --card-bg: rgba(13, 13, 18, 0.75);
    --card-border: rgba(213, 0, 0, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #9ea0a8;
    --text-muted: #64666f;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    outline: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 15% 15%, rgba(213, 0, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(213, 0, 0, 0.1) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Banner Ads Styling */
.banner-ads-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(213, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.sponsored-label {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.horizontal-ads-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.horizontal-ads-wrapper::-webkit-scrollbar {
    height: 4px;
}

.horizontal-ads-wrapper::-webkit-scrollbar-thumb {
    background: rgba(213, 0, 0, 0.3);
    border-radius: 4px;
}

.horizontal-ads-wrapper .banner-ad {
    flex: 1;
    min-width: 280px;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
}

.banner-ad {
    max-width: 728px;
    width: 100%;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .banner-ad {
        min-height: 50px;
    }

    .banner-ads-container {
        padding: 10px 0;
    }
}

/* Main Layout Wrapper */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

/* Card Container */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    max-width: 440px;
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    text-align: center;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(213, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Red Glow Effect Behind Logo */
.card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(213, 0, 0, 0.25) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.logo {
    display: block;
    margin: 0 auto 16px;
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(213, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
}

h1 {
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(213, 0, 0, 0.4);
}

.profile-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: -5px;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(213, 0, 0, 0.7);
    text-transform: uppercase;
}

p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 25px 0;
    font-weight: 400;
}

/* Callout Premium Box */
.Premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(213, 0, 0, 0.25);
    border-radius: 16px;
    padding: 18px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.Premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(213, 0, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.Premium p {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

/* Buttons System */
.linktree-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.btn-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-svg[stroke] {
    fill: none;
}

/* Hover States */
.btn:hover {
    background: rgba(213, 0, 0, 0.08);
    border-color: rgba(213, 0, 0, 0.6);
    box-shadow: 0 8px 20px rgba(213, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn:hover .btn-svg {
    transform: scale(1.15);
}

.btn:active {
    transform: translateY(0);
}

/* Highlighted Action Button (1 Hari Free) */
.highlighted-btn {
    background: linear-gradient(135deg, var(--red) 0%, #a30000 100%) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(213, 0, 0, 0.4);
}

.highlighted-btn:hover {
    background: linear-gradient(135deg, var(--red-hover) 0%, var(--red) 100%) !important;
    box-shadow: 0 10px 25px rgba(213, 0, 0, 0.6) !important;
}

/* Premium Button with Elegant Gold Accent */
.premium-btn {
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

.premium-btn:hover {
    background: linear-gradient(135deg, #242427 0%, #121214 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25) !important;
}

.section-title {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 4px;
    margin: 25px 0 10px 0;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

/* Original Main Content Elements */
#main-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

#hint {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Tombol GET KEY Custom (Stroke Merah & Spacing Bawah) */
/* Tombol GET KEY Custom (Stroke & Spacing Bawah) */
#btnAction {
    border: 2px solid var(--card-border) !important;
    /* Menggunakan warna stroke besar */
    margin-bottom: 16px !important;
    /* Memberikan jarak renggang ke bawah */
    box-shadow: 0 0 15px rgba(213, 0, 0, 0.15);
    /* Efek glow halus senada dengan card */
}

#btnTutorial {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#btnTutorial:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
}

/* Click Counter Box */
.click-counter p {
    background: rgba(213, 0, 0, 0.08);
    border-left: 4px solid var(--red);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px !important;
    color: var(--text-primary) !important;
    margin-bottom: 20px !important;
}

/* Progress Bar Container */
.progress-container {
    margin: 25px 0;
    animation: slideUp 0.4s ease;
}

.progress-text {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 10px !important;
    font-weight: 600;
}

.progress-bar-wrapper {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff1744, var(--red));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(213, 0, 0, 0.8);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-percent {
    font-size: 12px !important;
    color: var(--red-hover) !important;
    margin-top: 10px !important;
    font-weight: 800;
}

/* Result Box */
#result {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: none;
    animation: slideUp 0.5s ease;
}

code {
    display: block;
    background: #020204;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--red);
    font-size: 17px;
    margin: 12px 0;
    color: #fff;
    font-family: monospace;
    letter-spacing: 1.5px;
    word-break: break-all;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.copy-btn {
    margin-top: 10px;
    background: var(--red);
    border: none;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
}

.copy-btn:hover {
    background: var(--red-hover);
    box-shadow: 0 6px 20px rgba(213, 0, 0, 0.5);
}

.copy-notice {
    display: block;
    margin-top: 12px;
    color: #00e676;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notice.show {
    opacity: 1;
}

/* AdBlock Overlay */
#dx-adblock-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.9);
    backdrop-filter: blur(12px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#dx-adblock-overlay.active {
    display: flex;
    opacity: 1;
}

.dx-adblock-card {
    background: #0f0f13;
    border: 1px solid var(--red);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(213, 0, 0, 0.3);
}

.dx-refresh-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background 0.3s;
}

.dx-refresh-btn:hover {
    background: var(--red-hover);
}

.dx-no-scroll {
    overflow: hidden !important;
}

/* Premium Key Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 4, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 92%;
    max-width: 420px;
    padding: 30px;
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(213, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 0;
}

.close-btn:hover {
    color: var(--red);
}

.modal-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px !important;
}

.premium-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.premium-opt-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.premium-opt-card:hover {
    background: rgba(213, 0, 0, 0.08);
    border-color: rgba(213, 0, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(213, 0, 0, 0.2);
}

.opt-duration {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.opt-price {
    font-size: 13px;
    color: var(--red-hover);
    font-weight: 700;
}

.custom-opt {
    border-color: rgba(255, 215, 0, 0.2);
}

.custom-opt .opt-price {
    color: #ffd700;
}

.custom-opt:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: #ffd700;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.15);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}