/* HyRPG - Theme Minimaliste */

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --bg-dark: #0a0a0c;
    --bg-card: #111114;
    --bg-lighter: #18181c;
    --text: #ffffff;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.08);
    --discord: #5865F2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
}

/* Hero */
.hero {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 70px;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 50px;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-dark {
    background: var(--bg-card);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-discord {
    background: var(--discord);
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.8rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-primary { background: rgba(139,92,246,0.15); color: var(--primary); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Alerts */
.alert {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 22px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    animation: slideDown 0.3s ease;
    font-size: 0.85rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-15px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.alert-success { background: rgba(16, 185, 129, 0.95); color: white; }
.alert-error { background: rgba(239, 68, 68, 0.95); color: white; }

/* Footer */
.footer {
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Profile */
.profile-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 35px 20px;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent);
}

.profile-skin img {
    width: 100px;
    height: auto;
    border-radius: 8px;
}

.profile-info h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.profile-role {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.profile-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-body {
    padding: 25px 35px;
    border-top: 1px solid var(--border);
}

/* Staff */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.staff-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.staff-skin img {
    width: 100px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.staff-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.staff-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

/* Vote */
.vote-container {
    max-width: 950px;
    margin: 0 auto;
}

.coins-display {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 35px;
}

.coins-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
}

.vote-sites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 55px;
}

.vote-site {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s;
}

.vote-site:hover {
    border-color: var(--primary);
}

.vote-site-info h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.vote-site-info span {
    color: #f59e0b;
    font-size: 0.75rem;
}

.vote-btn {
    background: var(--primary);
    color: white;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: var(--primary-dark);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.shop-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    transition: all 0.3s;
}

.shop-item:hover {
    border-color: var(--primary);
}

.shop-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    color: white;
}

.shop-item h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.shop-item p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.shop-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 1rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 12px;
}

.buy-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-btn:hover:not(:disabled) {
    background: var(--primary-dark);
}

.buy-btn:disabled {
    background: #374151;
    cursor: not-allowed;
    opacity: 0.6;
}

.shop-notice, .login-notice {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 45px 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 15px 55px;
        min-height: 45vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 55px 0;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-body {
        padding: 20px;
    }
    
    .staff-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .staff-card {
        padding: 18px;
    }
    
    .staff-skin img {
        width: 70px;
    }
    
    .vote-site {
        flex-direction: column;
        text-align: center;
    }
    
    .vote-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}
