/* Glass Card Effect */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Neon Glow */
.neon-glow {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3),
                0 0 40px rgba(14, 165, 233, 0.1);
}

/* Custom Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #334155;
    border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Transitions */
button, a {
    transition: all 0.2s ease;
}

/* Form controls */
select {
    background-color: rgba(15, 23, 42, 0.9);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

select option,
select optgroup {
    background-color: #0f172a;
    color: #e2e8f0;
}

select:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3);
}

/* Focus States */
input:focus, button:focus {
    outline: none;
    ring: 2px;
    ring-color: #0ea5e9;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-left-color: #0ea5e9;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(10px);
    z-index: 100;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

/* Profile Card */
.profile-card {
    width: min(720px, 92vw);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: cardFloat 5s ease-in-out infinite;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.16), rgba(34, 197, 94, 0.14), rgba(14, 165, 233, 0));
    filter: blur(26px);
    animation: cardSpin 12s linear infinite;
    pointer-events: none;
}

.profile-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.profile-card__title {
    font-size: 24px;
    font-weight: 700;
}

.profile-card__tag {
    font-size: 14px;
    color: rgba(148, 163, 184, 0.8);
}

.profile-card__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.profile-card__label {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-card__value {
    font-size: 18px;
    font-weight: 600;
    margin-top: 4px;
}

.profile-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.profile-card__badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-size: 12px;
}

.profile-card__footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.7);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-card-body {
    background: #020617;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

@keyframes cardSpin {
    to { transform: rotate(360deg); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}
