:root {
    --gold: #d4af37;
    --dark-gold: #b8860b;
    --bg-black: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-black);
    color: #fff;
    font-family: 'Tahoma', sans-serif; /* در صورت داشتن فونت فارسی لوکس جایگزین شود */
    line-height: 1.6;
    overflow-x: hidden;
}

.luxury-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #1a1a1a 0%, #0a0a0a 100%);
    z-index: -1;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.main-header {
    padding: 40px 0 20px;
    text-align: center;
}

.brand-sub {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 5px;
}

.brand-title {
    font-weight: 300;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: -1px;
}

/* Search Box */
.search-wrapper {
    margin-top: 30px;
    position: relative;
    padding: 0 10px;
}

#searchInput {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
}

#searchInput:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.07);
}

/* Candidate Grid */
.candidate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
    padding-bottom: 120px;
}

.premium-card {
    cursor: pointer;
    display: block;
}

.premium-card input { display: none; }

.card-inner {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card input:checked + .card-inner {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold);
    transform: scale(1.02);
}

.candidate-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.candidate-code {
    font-size: 0.75rem;
    color: #666;
}

/* Floating Button */
.fab-submit {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 300px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
    z-index: 1000;
    cursor: pointer;
}

/* Share Footer */
.main-footer {
    text-align: center;
    padding: 40px 0;
}

.btn-share-lux {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Results Progress */
.result-card { margin-bottom: 20px; }
.result-info { display: flex; justify-content: space-between; margin-bottom: 8px; }
.progress-track { height: 4px; background: #222; border-radius: 2px; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; box-shadow: 0 0 10px var(--gold); }
