:root {
    --primary-gold: #d4af37;
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f2d06b 100%);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-wrapper {
    width: 90%;
    max-width: 400px;
    padding: 20px 0;
}

/* Style Kartu Loyalty */
.loyalty-card {
    background: var(--card-bg);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 25px;
}

.loyalty-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.card-inner {
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* Header Logo & Brand */
header {
    text-align: center;
    margin-bottom: 25px;
}

.main-logo {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.brand-name h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 2px;
}

.brand-name h1 span {
    color: var(--primary-gold);
    margin-left: 5px;
}

.tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
    margin: 5px 0 0;
}

/* Dashboard Poin */
.points-dashboard {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.points-circle {
    width: 110px;
    height: 110px;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.points-circle span {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.points-circle small {
    font-size: 0.6rem;
    letter-spacing: 2px;
}

/* Progress Bar */
.progress-wrapper {
    margin-top: 15px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 8px;
    color: #bbb;
}

.progress-bar-bg {
    background: #333;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background: var(--gradient-gold);
    height: 100%;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Input & Button */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input {
    background: #222;
    border: 1px solid #444;
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--primary-gold);
    background: #2a2a2a;
}

button {
    background: var(--gradient-gold);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.reward-info {
    font-size: 0.8rem;
    text-align: center;
    color: #aaa;
}

.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.65rem;
    color: #555;
}