:root {
    --red: #CE1126;
    --red-dark: #A80D20;
    --red-light: #E8384F;
    --white: #FFFFFF;
    --off-white: #FFF8F8;
    --dark: #1A1A2E;
    --dark-light: #16213E;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --gold: #FFD700;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(206,17,38,0.1);
    transition: var(--transition);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo {
    font-size: 1.5rem; font-weight: 800; color: var(--dark);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo-icon {
    background: var(--red); color: white; padding: 4px 10px;
    border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 900;
}
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
    text-decoration: none; color: var(--dark); font-weight: 500;
    transition: var(--transition); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--red); transition: var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span {
    width: 25px; height: 3px; background: var(--dark);
    border-radius: 2px; transition: var(--transition);
}

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.btn-primary {
    background: var(--red); color: white;
    box-shadow: 0 4px 15px rgba(206,17,38,0.3);
}
.btn-primary:hover {
    background: var(--red-dark); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206,17,38,0.4);
}
.btn-outline {
    background: transparent; color: var(--white); border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--red); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* HERO */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, #8B0000 100%);
    color: var(--white); position: relative; overflow: hidden; padding: 100px 0 60px;
}
.hero-bg-effects { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.03); border-radius: 50%;
}
.hero-content { text-align: center; position: relative; z-index: 2; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); padding: 8px 24px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
    margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.hero h1 { font-size: 4rem; font-weight: 900; margin-bottom: 12px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.hero h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 16px; opacity: 0.95; }
.highlight {
    background: linear-gradient(120deg, var(--gold) 0%, #FFA500 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 700;
}
.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; opacity: 0.9; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.8; }

/* SECTIONS */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: white; padding: 4px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 12px;
}
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.section-header p { color: var(--gray); font-size: 1.05rem; }

/* PROMO SECTION */
.promo-section { padding: 80px 0; background: var(--off-white); }
.promo-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; align-items: stretch;
}
.promo-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 24px;
    position: relative; overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition); border: 2px solid transparent;
    display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.promo-card.featured { border-color: var(--red); transform: scale(1.03); }
.promo-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.promo-flag {
    position: absolute; top: 0; right: 0; width: 0; height: 0;
    border-left: 60px solid transparent; border-top: 60px solid var(--red);
}
.promo-badge {
    position: absolute; top: 12px; right: 12px; background: var(--gold);
    color: var(--dark); padding: 4px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; z-index: 1;
}
.promo-discount { font-size: 2.5rem; font-weight: 900; color: var(--red); margin-bottom: 8px; }
.promo-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.promo-card > p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.promo-price { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-light); }
.price-old { text-decoration: line-through; color: var(--gray); font-size: 0.9rem; margin-right: 8px; }
.price-new { font-size: 1.8rem; font-weight: 800; color: var(--red); }
.price-period { color: var(--gray); font-size: 0.85rem; }
.promo-features { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.promo-features li { padding: 6px 0; font-size: 0.9rem; color: var(--dark-light); }
.promo-features li::before { content: '\2713 '; color: var(--red); font-weight: 700; }

/* SEARCH SECTION */
.search-section { padding: 80px 0; background: var(--white); }
.search-box { max-width: 700px; margin: 0 auto; }
.search-input-wrapper {
    display: flex; background: var(--white); border: 2px solid var(--gray-light);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
}
.search-input-wrapper:focus-within {
    border-color: var(--red); box-shadow: 0 0 0 4px rgba(206,17,38,0.1);
}
.search-input-wrapper input {
    flex: 1; padding: 16px 20px; border: none; font-size: 1rem;
    font-family: 'Poppins', sans-serif; outline: none; min-width: 0;
}
.search-input-wrapper select {
    padding: 16px 12px; border: none; border-left: 2px solid var(--gray-light);
    font-family: 'Poppins', sans-serif; font-size: 1rem;
    background: var(--white); color: var(--dark); outline: none; cursor: pointer;
}
.search-input-wrapper .btn { border-radius: 0; padding: 16px 24px; }
.search-results { margin-top: 20px; }
.search-result-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: var(--white); border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm); margin-bottom: 12px; transition: var(--transition);
}
.search-result-item:hover { border-color: var(--red); }
.search-result-item .domain-name { font-weight: 600; font-size: 1.1rem; }
.search-result-item .domain-status { font-weight: 600; }
.search-result-item .domain-status.available { color: #059669; }
.search-result-item .domain-status.taken { color: var(--red); }
.search-result-item .domain-price { color: var(--gray); font-size: 0.9rem; }
.search-result-item .domain-price strong { color: var(--red); font-size: 1.1rem; }
.search-loading {
    text-align: center; padding: 40px; color: var(--gray);
}
.search-loading .spinner {
    display: inline-block; width: 40px; height: 40px;
    border: 4px solid var(--gray-light); border-top-color: var(--red);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mini-spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 3px solid var(--gray-light); border-top-color: var(--red);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
.search-result-item.taken { opacity: 0.6; }

/* PRICING TABLE */
.pricing-section { padding: 80px 0; background: var(--off-white); }
.pricing-table-wrapper { overflow-x: auto; }
.pricing-table {
    width: 100%; border-collapse: collapse;
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
}
.pricing-table th {
    background: var(--dark); color: var(--white); padding: 16px 20px;
    text-align: left; font-weight: 600; font-size: 0.9rem;
}
.pricing-table td {
    padding: 14px 20px; border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--off-white); }
.pricing-table .old-price { text-decoration: line-through; color: var(--gray); }
.pricing-table .new-price { color: var(--red); font-weight: 700; }
.pricing-table .discount-badge {
    background: var(--red); color: white; padding: 2px 10px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}
.pricing-table .btn { padding: 8px 20px; font-size: 0.85rem; }

/* FEATURES */
.features-section { padding: 80px 0; background: var(--white); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px; border-radius: var(--radius);
    border: 1px solid var(--gray-light); transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow);
    border-color: var(--red);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.9rem; }

/* CTA SECTION */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white); text-align: center;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }

/* FOOTER */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 { color: white; margin-bottom: 16px; font-weight: 600; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    text-align: center; padding: 20px 0; font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer .logo-icon { background: var(--red); }

/* CART */
.cart-toggle {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    background: var(--red); color: white; border: none;
    width: 60px; height: 60px; border-radius: 50%;
    font-size: 1.4rem; cursor: pointer;
    box-shadow: 0 4px 20px rgba(206,17,38,0.4);
    transition: var(--transition);
}
.cart-toggle:hover { transform: scale(1.1); }
.cart-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--gold); color: var(--dark);
    width: 22px; height: 22px; border-radius: 50%;
    font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.cart-panel {
    position: fixed; top: 0; right: -400px; width: 380px; height: 100vh;
    background: var(--white); z-index: 1001; box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease; display: flex; flex-direction: column;
}
.cart-panel.open { right: 0; }
.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--gray-light);
}
.cart-header h3 { font-size: 1.2rem; }
.cart-close {
    background: none; border: none; font-size: 1.5rem; cursor: pointer;
    color: var(--gray); transition: var(--transition);
}
.cart-close:hover { color: var(--red); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; color: var(--gray); padding: 40px 0; }
.cart-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid var(--gray-light);
}
.cart-item-domain { font-weight: 600; font-size: 0.95rem; }
.cart-item-price { color: var(--red); font-weight: 700; }
.cart-item-remove {
    background: none; border: none; color: var(--gray); cursor: pointer;
    font-size: 1.2rem; transition: var(--transition);
}
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--gray-light); }
.cart-total {
    display: flex; justify-content: space-between; margin-bottom: 16px;
    font-weight: 700; font-size: 1.1rem;
}
.cart-total span:last-child { color: var(--red); }

/* OVERLAY */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1000; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.cart-overlay.show { display: block; opacity: 1; }

/* PAYMENT MODAL */
.payment-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 2000; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.payment-overlay.show { display: block; opacity: 1; }
.payment-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    width: 90%; max-width: 480px; max-height: 90vh; overflow-y: auto;
    background: var(--white); border-radius: var(--radius); z-index: 2001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); padding: 32px;
    display: none; transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.payment-modal.open { display: block; transform: translate(-50%, -50%) scale(1); opacity: 1; }
.payment-close {
    position: absolute; top: 16px; right: 16px; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--gray); transition: var(--transition);
}
.payment-close:hover { color: var(--red); }
.payment-step h3 { margin-bottom: 16px; font-size: 1.3rem; }
.payment-back {
    background: none; border: none; color: var(--gray); cursor: pointer;
    font-size: 0.9rem; margin-bottom: 12px; padding: 0; font-family: 'Poppins', sans-serif;
}
.payment-back:hover { color: var(--red); }
.payment-summary {
    background: var(--gray-light); border-radius: var(--radius-sm);
    padding: 16px; margin-bottom: 20px;
}
.payment-summary .summary-item {
    display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0;
}
.payment-summary .summary-total {
    display: flex; justify-content: space-between; font-weight: 700;
    font-size: 1.1rem; margin-top: 8px; padding-top: 8px;
    border-top: 1px solid var(--gray);
}
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    border: 2px solid var(--gray-light); border-radius: var(--radius-sm);
    cursor: pointer; transition: var(--transition);
}
.payment-method:hover { border-color: var(--red); background: var(--off-white); }
.method-icon { font-size: 2rem; }
.method-info { flex: 1; }
.method-info h4 { font-size: 1rem; margin-bottom: 2px; }
.method-info p { font-size: 0.8rem; color: var(--gray); }
.method-arrow { font-size: 1.5rem; color: var(--gray); }

/* QRIS */
.qris-loading { text-align: center; padding: 40px 0; }
.qris-content { text-align: center; }
.qris-qr {
    background: white; border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px;
    display: inline-block;
}
.qris-qr svg { width: 220px; height: 220px; }
.qris-amount { font-size: 1.8rem; font-weight: 800; color: var(--red); margin-bottom: 4px; }
.qris-expire { font-size: 0.85rem; color: var(--gray); margin-bottom: 8px; }
.qris-note { font-size: 0.8rem; color: var(--gray); font-style: italic; }
.qris-status, .crypto-status {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 12px; background: #FFF3CD; border-radius: var(--radius-sm);
    font-size: 0.9rem; color: #856404;
}
.status-dot {
    width: 10px; height: 10px; border-radius: 50%; background: #FFC107;
}
.status-dot.pulse { animation: statusPulse 1.5s infinite; }
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.qris-error, .crypto-error { text-align: center; padding: 30px 0; }
.qris-error p, .crypto-error p { color: var(--gray); margin-bottom: 16px; }

/* CRYPTO */
.crypto-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-group select, .form-group input {
    padding: 12px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif; font-size: 0.95rem; outline: none;
    transition: var(--transition);
}
.form-group select:focus, .form-group input:focus { border-color: var(--red); }
.crypto-loading { text-align: center; padding: 40px 0; }
.crypto-content { text-align: center; }
.crypto-address { margin-bottom: 16px; }
.crypto-address label { font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 6px; }
.address-box {
    background: var(--gray-light); padding: 12px; border-radius: var(--radius-sm);
    font-family: monospace; font-size: 0.85rem; word-break: break-all;
    cursor: pointer; transition: var(--transition); position: relative;
}
.address-box:hover { background: #E5E7EB; }
.address-box::after { content: 'Klik untuk copy'; position: absolute; bottom: -20px;
    left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: var(--gray);
    font-family: 'Poppins', sans-serif; white-space: nowrap;
}
.crypto-usd-amount { font-size: 1.5rem; font-weight: 800; color: var(--red); margin: 12px 0 4px; }
.crypto-expire { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }

/* SUCCESS */
.success-icon {
    width: 80px; height: 80px; border-radius: 50%; background: #059669;
    color: white; font-size: 2.5rem; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 20px;
}
.success-detail {
    background: var(--gray-light); border-radius: var(--radius-sm);
    padding: 16px; margin: 16px 0; text-align: left; font-size: 0.9rem;
}

/* NAV AUTH */
.nav-auth { display: flex; gap: 8px; align-items: center; }
.btn-outline-nav {
    padding: 8px 20px; border: 2px solid var(--dark); background: transparent;
    color: var(--dark); border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.85rem; cursor: pointer; transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.btn-outline-nav:hover { border-color: var(--red); color: var(--red); }
.nav-user { position: relative; }
.nav-user-btn {
    display: flex; align-items: center; gap: 8px; background: none;
    border: 2px solid var(--gray-light); border-radius: 50px;
    padding: 6px 16px 6px 6px; cursor: pointer; transition: var(--transition);
    font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 500;
}
.nav-user-btn:hover { border-color: var(--red); }
.user-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: var(--red);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.user-menu {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    min-width: 200px; overflow: hidden; z-index: 100;
}
.user-menu.show { display: block; }
.user-menu a {
    display: block; padding: 12px 16px; text-decoration: none;
    color: var(--dark); font-size: 0.9rem; transition: var(--transition);
}
.user-menu a:hover { background: var(--off-white); color: var(--red); }

/* AUTH MODAL */
.auth-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 2500; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.auth-overlay.show { display: block; opacity: 1; }
.auth-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    width: 90%; max-width: 420px; max-height: 90vh; overflow-y: auto;
    background: var(--white); border-radius: var(--radius); z-index: 2501;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); padding: 32px;
    display: none; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0;
}
.auth-modal.open { display: block; transform: translate(-50%, -50%) scale(1); opacity: 1; }
.auth-close {
    position: absolute; top: 16px; right: 16px; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--gray); transition: var(--transition);
}
.auth-close:hover { color: var(--red); }
.auth-header { text-align: center; margin-bottom: 24px; }
.auth-logo { margin-bottom: 12px; }
.auth-logo .logo-icon { font-size: 1.2rem; padding: 8px 14px; }
.auth-header h3 { margin-bottom: 4px; }
.auth-header p { color: var(--gray); font-size: 0.9rem; }
.auth-alert {
    padding: 10px 14px; border-radius: var(--radius-sm);
    margin-bottom: 16px; font-size: 0.85rem;
}
.auth-alert.success { background: #D1FAE5; color: #065F46; }
.auth-alert.error { background: #FEE2E2; color: #991B1B; }
.auth-links { text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--gray); }
.auth-links a { color: var(--red); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-links span { display: block; margin-top: 8px; }

/* DASHBOARD MODAL */
.dashboard-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    width: 90%; max-width: 700px; max-height: 85vh; overflow-y: auto;
    background: var(--white); border-radius: var(--radius); z-index: 2501;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); padding: 32px;
    display: none; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0;
}
.dashboard-modal.open { display: block; transform: translate(-50%, -50%) scale(1); opacity: 1; }
.dash-loading { text-align: center; padding: 40px 0; }
.dash-empty { text-align: center; padding: 40px 0; color: var(--gray); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dash-table th {
    text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--gray-light);
    font-weight: 600; color: var(--gray); font-size: 0.8rem; text-transform: uppercase;
}
.dash-table td { padding: 10px 8px; border-bottom: 1px solid var(--gray-light); }
.dash-status {
    display: inline-block; padding: 2px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
}
.dash-status.paid { background: #D1FAE5; color: #065F46; }
.dash-status.pending { background: #FEF3C7; color: #92400E; }
.dash-status.expired { background: #FEE2E2; color: #991B1B; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 70px; left: 0; width: 100%; background: white;
        padding: 20px; gap: 16px; box-shadow: var(--shadow);
    }
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 2rem; }
    .promo-cards { grid-template-columns: 1fr; }
    .promo-card.featured { transform: none; }
    .promo-card.featured:hover { transform: translateY(-8px); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-input-wrapper { flex-direction: column; }
    .search-input-wrapper select { border-left: none; border-top: 2px solid var(--gray-light); }
    .cart-panel { width: 100%; right: -100%; }
    .section-header h2 { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.6rem; }
    .payment-modal { width: 95%; padding: 24px; }
    .qris-qr svg { width: 180px; height: 180px; }
    .nav-auth { display: none; }
    .auth-modal, .dashboard-modal { width: 95%; padding: 24px; }
    .dash-table { font-size: 0.75rem; }
    .dash-table th, .dash-table td { padding: 8px 4px; }
}
