/* ==========================================================================
   vitor & sasa - Premium CSS Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Colors */
:root {
    --bg-main: #0c0b0e;
    --bg-sidebar: #131116;
    --bg-card: #1b1820;
    --bg-card-hover: #231f2a;
    --border-color: #2b2734;
    --border-hover: #3e384b;
    --text-primary: #f3f1f5;
    --text-muted: #9c97a6;
    
    /* Customizable variables synced from JS */
    --primary-color: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --text-color: #ffffff;
    --card-opacity: 0.8;
    --card-blur: 20px;
    --border-radius: 20px;
    --profile-border-color: #ffffff;
    --profile-border-opacity: 0.8;
    --profile-border-width: 2px;
    --location-color: #9c97a6;
    
    /* Font family */
    --font-profile: 'Outfit', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* App Container Layout */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Main Sidebar Styles */
.main-sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
    margin-bottom: 24px;
}

.brand-icon {
    font-size: 24px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    transform: rotate(180deg);
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Search bar inside sidebar */
.search-box {
    position: relative;
    margin-bottom: 24px;
}

.search-box input {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 12px 14px 12px 40px;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--border-color);
    color: var(--text-muted);
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-hover);
}

/* Navigation Lists */
.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav-item-header i:first-child {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item-header .fold-icon {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-item-header {
    color: var(--text-primary);
    background-color: var(--bg-card);
}

.nav-item.active .nav-item-header {
    color: var(--text-primary);
    background-color: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.nav-item.active .fold-icon {
    transform: rotate(180deg);
}

/* Sub Navigation */
.sub-nav {
    padding-left: 36px;
    margin-top: 4px;
    display: none;
}

.nav-item.active .sub-nav {
    display: block;
}

.sub-nav-item {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
}

.sub-nav-item:hover, .sub-nav-item.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Sidebar Footer Widgets */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.support-card, .page-view-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.support-card p, .page-view-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.support-btn, .view-page-btn {
    width: 100%;
    background-color: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.support-btn:hover, .view-page-btn:hover {
    background-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-1px);
}

.share-btn {
    background-color: rgba(139, 92, 246, 0.3);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Mini user card inside footer */
.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-uid {
    font-size: 11px;
    color: var(--text-muted);
}

.menu-dots {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.menu-dots:hover {
    color: var(--text-primary);
}

/* Settings Content Panel */
.settings-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 36px 40px;
    background-color: var(--bg-main);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fade-in 0.3s ease-out;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title.margin-top {
    margin-top: 36px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 24px;
}

/* Dashboard Metric Cards Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background-color: var(--bg-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.card-header i, .card-hash {
    font-size: 14px;
}

.metric-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.metric-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.text-success {
    color: #10b981;
}

/* Progress Completion Card */
.progress-container-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.card-title-row h3 {
    font-size: 16px;
    font-weight: 600;
}

.percentage {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
}

.progress-bar-wrapper {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #a78bfa 100%);
    box-shadow: 0 0 10px var(--primary-glow);
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.status-badge-success {
    display: flex;
    gap: 12px;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.status-badge-success i {
    font-size: 20px;
    color: #10b981;
    margin-top: 2px;
}

.status-badge-success strong {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.status-badge-success p {
    font-size: 12px;
    color: var(--text-muted);
}

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

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.checklist-item.checked {
    color: var(--text-primary);
}

.checklist-item.checked i {
    color: #10b981;
}

/* Account Actions Panel & Connections Layout */
.account-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.action-card, .connections-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
}

.action-card h3, .connections-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.action-card p, .connections-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.action-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn-item {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.action-btn-item:hover {
    border-color: var(--border-hover);
    background-color: rgba(255, 255, 255, 0.02);
    transform: translateX(2px);
}

.action-btn-item i {
    color: var(--text-muted);
    font-size: 14px;
}

.connection-status {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.connected-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.discord-color {
    color: #5865F2;
    font-size: 20px;
}

.connection-settings {
    margin-left: auto;
    color: var(--text-muted);
    cursor: pointer;
}

.connection-settings:hover {
    color: var(--text-primary);
}

.google-connect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #111;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-connect-btn:hover {
    background-color: #f1f1f1;
    transform: translateY(-1px);
}

.google-logo {
    width: 18px;
    height: 18px;
}

/* Media Upload Component Grid */
.media-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.media-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-card label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.media-drop-zone {
    height: 120px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px;
    text-align: center;
}

.media-drop-zone:hover, .media-drop-zone.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 10px var(--primary-glow);
}

.media-drop-zone i {
    font-size: 26px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.media-drop-zone:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.media-drop-zone span {
    font-size: 11px;
    color: var(--text-muted);
}

.avatar-preview-container {
    height: 120px;
    width: 120px;
    align-self: center;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.avatar-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.avatar-preview-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay i {
    font-size: 24px;
    color: #fff;
}

/* Customisation panel card controls */
.custom-panel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.custom-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tooltip-icon {
    font-size: 11px;
    background-color: var(--border-color);
    color: var(--text-muted);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.custom-input, .custom-select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.custom-input:focus, .custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.padding-left {
    padding-left: 42px;
}

/* Toggle Switches */
.toggle-switch-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
}

.toggle-label {
    font-size: 13px;
    color: var(--text-primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--border-color);
    transition: .3s;
    border-radius: 24px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider-toggle {
    background-color: var(--primary-color);
}

input:checked + .slider-toggle:before {
    transform: translateX(20px);
}

/* Slider Controls */
.range-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 12px;
}

.custom-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 8px var(--primary-glow);
    transition: transform 0.1s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-value {
    font-size: 12px;
    font-weight: 700;
    min-width: 42px;
    text-align: right;
}

/* Color Picker Component Styles */
.color-picker-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
}

.color-options-row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.color-picker-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-picker-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.color-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #0d0c10;
    border: 1px solid #1c1a22;
    border-radius: 14px;
    padding: 8px 16px;
    gap: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.color-input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.color-input-wrapper input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    flex-shrink: 0;
    padding: 0;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.hex-text-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    width: 80px;
    font-weight: 500;
}

.gradient-toggle-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-end;
}

.gradient-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a78bfa 100%);
    box-shadow: 0 0 15px var(--primary-glow);
    border: none;
}

.gradient-toggle-btn:hover {
    transform: translateY(-1px);
}

/* Toggle row buttons */
.toggle-buttons-row {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-grow: 1;
}

.toggle-btn.active {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Premium Badge */
.premium-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* TAB: SOCIAL LINKS CONNECT PANEL */
.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 12px;
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.social-select-btn {
    aspect-ratio: 1;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-select-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Added Links container list styling */
.added-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.added-link-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: scale-up 0.2s ease-out;
}

.added-link-card i.network-icon {
    font-size: 26px;
}

.added-link-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.added-link-details label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.added-link-details input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    border-bottom: 1px dashed transparent;
    padding-bottom: 2px;
}

.added-link-details input:focus {
    border-color: var(--primary-color);
}

.added-link-actions {
    display: flex;
    gap: 8px;
}

.link-action-btn {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.link-action-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.link-action-btn.btn-delete:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==========================================================================
   LIVE PREVIEW CANVAS & PUBLIC BIO-PAGE SIMULATOR PANEL (Right Side)
   ========================================================================== */
.live-preview-section {
    display: flex;
    flex-direction: column;
    width: 440px;
    background-color: var(--bg-main);
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
}

.preview-header {
    height: 56px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: var(--bg-sidebar);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.preview-header i {
    font-size: 14px;
}

.preview-live-indicator {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.preview-canvas-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Particle Canvas Backdrop */
#previewBgCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Custom cursor tracker in preview container */
.preview-cursor-follower {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease, width 0.1s ease, height 0.1s ease;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

/* Intro overlay screen */
.preview-intro-overlay {
    position: absolute;
    inset: 0;
    background-color: #0a090c;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.preview-intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

#previewIntroText {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-profile);
    color: #fff;
    letter-spacing: 2px;
}

.enter-profile-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-profile-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Profile floating box mockup card */
.profile-card {
    width: 100%;
    max-width: 360px;
    background-color: rgba(27, 24, 32, var(--card-opacity));
    backdrop-filter: blur(var(--card-blur));
    border-radius: var(--border-radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 5;
    border: var(--profile-border-width) solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, border-radius 0.3s ease, border-color 0.3s ease, border-width 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Profile Card Animations in settings option */
.profile-card.animate-unfold {
    transform: translateY(0);
    opacity: 1;
}

.profile-card.animate-float {
    animation: floating-bounce 6s ease-in-out infinite alternate;
    opacity: 1;
}

.profile-card.animate-bounce {
    animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 1;
}

/* Glow Border class */
.profile-card.border-glow {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.profile-card.border-dashed {
    border-style: dashed;
}

/* Music Player Widget */
/* Profile Card and Music Player Wrapper */
.profile-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 5;
    width: 100%;
    max-width: 440px;
}

/* Standalone Music Player Card below profile */
.music-player-widget {
    background-color: rgba(27, 24, 32, var(--card-opacity));
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: var(--profile-border-width) solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 360px;
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    z-index: 5;
}

/* Integrated Music Player HUD Nested inside Profile Card */
.profile-card .music-player-widget {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px;
    gap: 10px;
}

.profile-card .music-player-widget .music-player-controls-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.profile-card .music-player-widget .music-time-container {
    width: 100%;
}

.profile-card .music-player-widget .music-buttons-group {
    align-self: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 2px 10px;
}

.music-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-player-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 6px;
    overflow: hidden;
}

.music-player-top-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.music-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.music-player-controls-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    justify-content: space-between;
}

.music-time-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.music-time-current,
.music-time-duration {
    font-size: 10px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    min-width: 28px;
    text-align: center;
}

.music-progress-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.music-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 6px var(--primary-glow);
}

.music-volume-container {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 70px;
    flex-shrink: 0;
}

.music-volume-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
}

.music-buttons-group {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4px 12px;
}

.music-nav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    font-size: 13px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.music-nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.music-play-btn {
    background: #ffffff;
    border: none;
    color: #000;
    font-size: 13px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.15);
}

.music-play-btn:hover {
    transform: scale(1.08);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 12px var(--primary-color);
}

/* Avatar Preview Wrapper inside live card */
.profile-avatar-wrapper {
    position: relative;
    margin-bottom: 8px;
}

#previewAvatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.profile-username {
    font-family: var(--font-profile);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Username glow and special text effects */
.profile-username.effect-glow {
    text-shadow: 0 0 12px var(--primary-color), 0 0 24px var(--primary-glow);
}

.profile-username.effect-rainbow {
    background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-scroll 3s linear infinite;
}

.profile-username.effect-fire {
    background: linear-gradient(0deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fire-flicker 1.5s ease infinite alternate;
}

/* Badges list under username */
.profile-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.badge:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.08);
}

.badge.glow-active {
    color: var(--primary-color);
    border-color: var(--primary-glow);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Styled Tooltip showing Badge Name on Hover */
.badge::after {
    content: attr(data-badge-name);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: #0d0c10;
    border: 1px solid #1c1a22;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.badge:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Bio / Description styles */
.profile-bio-container {
    width: 100%;
}

.profile-bio {
    font-family: var(--font-profile);
    font-size: 13.5px;
    color: var(--bio-color, var(--text-muted));
    line-height: 1.6;
    word-break: break-word;
}

/* Discord Activity Widget Mockup */
.discord-activity-widget {
    background-color: rgba(88, 101, 242, 0.06);
    border: 1px solid rgba(88, 101, 242, 0.15);
    border-radius: 14px;
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.discord-avatar-container {
    position: relative;
    width: 36px;
    height: 36px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.discord-status-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    bottom: -1px;
    right: -1px;
    border: 2px solid #1b1820;
}

.discord-status-dot.online {
    background-color: #23a55a;
}

.discord-activity-info {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    color: var(--text-muted);
    flex-grow: 1;
    overflow: hidden;
}

.discord-user {
    font-weight: 700;
    color: #fff;
    font-size: 12.5px;
}

.discord-activity-info strong {
    color: #fff;
}

.discord-activity-icon {
    font-size: 20px;
    color: #5865f2;
}

/* Location display */
.profile-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--location-color, var(--text-muted));
}

.profile-location i {
    color: var(--primary-color);
}

/* Instantiated Social Icons row inside profile */
.profile-social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.profile-social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-social-btn.glow-active {
    box-shadow: 0 0 10px var(--primary-glow);
    border-color: var(--primary-glow);
}

.profile-social-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
    color: #fff !important;
}

/* Views display */
.profile-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
}

.profile-views i {
    font-size: 10px;
}

/* Global transitions and scrollbar stylings */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-sidebar);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Custom alert styling */
.sweet-alert {
    animation: fade-in 0.2s ease;
}

/* KEYFRAMES ANIMATIONS */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scale-up {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes magic-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bar-dance {
    0% { height: 4px; }
    100% { height: 16px; }
}

@keyframes floating-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

@keyframes bounce-in {
    0% { transform: scale(0.7) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes rainbow-scroll {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes fire-flicker {
    0% { text-shadow: 0 0 4px #fbbf24, 0 -2px 4px #f59e0b, 0 -4px 6px #ef4444; }
    100% { text-shadow: 0 0 6px #fbbf24, 0 -4px 8px #f59e0b, 0 -8px 12px #ef4444; }
}

/* ==========================================================================
   LANDING PAGE & AUTH MODAL STYLES
   ========================================================================== */

.landing-wrapper {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    background: radial-gradient(circle at 50% 0%, #1d1825 0%, #0c0b0e 100%);
    color: #f3f1f5;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 40px;
}

.landing-header {
    width: 100%;
    max-width: 1200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav {
    display: flex;
    gap: 32px;
}

.landing-nav a {
    color: #9c97a6;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav a:hover {
    color: #fff;
}

.header-dashboard-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.header-dashboard-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
}

.landing-hero {
    margin-top: 80px;
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade-in 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #9c97a6;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

.cta-register-btn {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 14px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.2s;
}

.cta-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px var(--primary-color);
}

.cta-prices-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f1f5;
    padding: 14px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-prices-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.landing-showcase {
    margin-top: 60px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 80px;
    animation: fade-in 1.2s ease-out;
}

.mockup-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    perspective: 1000px;
}

.mockup-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transition: transform 0.5s;
}

.item-dashboard {
    width: 60%;
    transform: rotateY(15deg) rotateX(5deg);
}

.item-profile {
    width: 30%;
    transform: rotateY(-15deg) rotateX(5deg);
}

.mockup-item:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

/* Authentication Modal Overlay */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(6, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in 0.3s ease-out;
}

.auth-modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(139, 92, 246, 0.1);
    animation: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-close-btn:hover {
    color: #fff;
}

.auth-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.auth-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
    transition: color 0.2s;
}

.auth-tab-btn:hover {
    color: #fff;
}

.auth-tab-btn.active {
    color: #fff;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.auth-input {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.auth-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

.auth-submit-btn {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px var(--primary-glow);
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: #7c3aed;
    box-shadow: 0 0 16px var(--primary-color);
    transform: translateY(-1px);
}

/* ==========================================================================
   REUSABLE PREMIUM HUD MODAL STYLES
   ========================================================================== */

.hud-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(6, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in 0.3s ease-out;
}

.hud-modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(139, 92, 246, 0.15);
    animation: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hud-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hud-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.hud-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.hud-close-btn:hover {
    color: #fff;
}

/* Modal Body Content */
.hud-modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hud-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.hud-input-wrapper {
    position: relative;
    width: 100%;
}

.hud-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.hud-input {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 14px 16px 14px 44px;
    border-radius: 12px;
    font-size: 14.5px;
    outline: none;
    transition: all 0.2s;
}

.hud-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

.hud-subtext {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.hud-primary-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    margin-top: 8px;
}

.hud-primary-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 16px var(--primary-color);
}

/* Custom Aliases Lists for HUD */
.hud-aliases-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 160px;
    overflow-y: auto;
    background-color: var(--bg-main);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.hud-alias-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13.5px;
}

.hud-alias-delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}

.hud-alias-delete-btn:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   PROFILE STATISTICS PANEL STYLES (Guns.lol Replicas)
   ========================================================================== */

.stats-header-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(27, 24, 32, 1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.stats-header-banner .banner-icon {
    font-size: 28px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.stats-header-banner h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-header-banner p {
    font-size: 13px;
    color: var(--text-muted);
}

.stats-period-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.period-label-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.period-label {
    font-size: 14px;
    font-weight: 600;
}

.period-badge {
    background-color: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.period-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-calendar-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.period-select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 36px 10px 38px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
}

.period-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Charts Grid Layout */
.stats-charts-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.stats-chart-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stats-chart-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.chart-container {
    height: 200px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.smooth-area-chart {
    width: 100%;
    height: 100%;
}

/* Donut Chart wrapper rules */
.devices-donut-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    align-self: center;
    margin: 10px 0;
}

.donut-chart {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.donut-center-text {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.donut-total {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donut-count {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.donut-desc {
    font-size: 10px;
    color: var(--text-muted);
}

.devices-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.subpanel-content {
    animation: fade-in 0.3s ease-out;
}

/* Unsaved Changes Floating Bar */
.unsaved-changes-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18, 16, 24, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 14px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
    width: calc(100% - 48px);
    max-width: 800px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.unsaved-changes-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.unsaved-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.unsaved-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.unsaved-btn-discard {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.unsaved-btn-discard:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.unsaved-btn-save {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a78bfa 100%);
    border: none;
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.2s ease;
}

.unsaved-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.unsaved-btn-save:active {
    transform: translateY(1px);
}

/* ==========================================================================
   PREMIUM AUDIO MANAGER SPECIFIC STYLES (replica guns.lol)
   ========================================================================== */

.hud-audio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Scrollbar styling inside list */
.hud-audio-list::-webkit-scrollbar {
    width: 6px;
}
.hud-audio-list::-webkit-scrollbar-track {
    background: transparent;
}
.hud-audio-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.hud-audio-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hud-audio-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hud-audio-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.05);
}

.hud-audio-cover {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-audio-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.hud-audio-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}

.hud-audio-duration {
    font-size: 11px;
    color: var(--text-muted);
}

.hud-audio-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-audio-status {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.hud-active-badge {
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
}

.hud-inactive-badge {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.hud-audio-action-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
}

.hud-audio-action-btn:hover {
    background-color: var(--bg-main);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hud-audio-action-btn.delete-btn:hover {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   CUSTOM REPLICA TOGGLE SWITCHES & ADVANCED CUSTOMIZATIONS
   ========================================================================== */

/* Custom Toggle Switches (Guns.lol style) */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a191f;
    border: 1px solid #27252f;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #52525b;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

input:checked + .slider-toggle {
    background-color: #a855f7;
    border-color: #b55fe6;
}

input:checked + .slider-toggle:before {
    transform: translateX(24px);
    background-color: #ffffff;
}

/* Tooltip and Question Marks */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #27252f;
    color: #a1a1aa;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 10px;
    cursor: help;
    margin-left: 4px;
    font-weight: bold;
    border: 1px solid #3f3c4d;
}

/* Outras personalizações section card adjustment */
.custom-panel-card {
    background-color: #0d0c10 !important;
    border: 1px solid #1c1a22 !important;
    border-radius: 16px !important;
}

/* Discord Avatar decoration preview ring */
.discord-avatar-deco-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #a855f7;
    box-shadow: 0 0 12px #a855f7, inset 0 0 12px #a855f7;
    animation: deco-glow 3s linear infinite alternate;
    pointer-events: none;
    z-index: 2;
}

@keyframes deco-glow {
    0% {
        border-color: #a855f7;
        box-shadow: 0 0 8px #a855f7, inset 0 0 8px #a855f7;
    }
    100% {
        border-color: #ec4899;
        box-shadow: 0 0 16px #ec4899, inset 0 0 16px #ec4899;
    }
}

/* ==========================================================================
   DYNAMIC LAYOUT SYSTEMS: PADRÃO, MODERNO, SIMPLES, ELEGANTE
   ========================================================================== */

/* LAYOUT: PADRÃO (Centralized default) */
.profile-card.layout-classic {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.profile-card.layout-classic .profile-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LAYOUT: MODERNO (asymmetric, left aligned avatar) */
.profile-card.layout-modern {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 16px;
    max-width: 440px; /* Amplia para comportar a linha */
}

.profile-card.layout-modern .profile-header-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    width: 100%;
}

.profile-card.layout-modern .profile-avatar-wrapper {
    margin: 0;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.profile-card.layout-modern .profile-avatar-wrapper img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
}

.profile-card.layout-modern .profile-username {
    font-size: 24px;
    margin: 0;
    text-align: left;
}

.profile-card.layout-modern .profile-badges {
    justify-content: flex-start;
    margin-top: 4px;
}

.profile-card.layout-modern .profile-bio-container {
    text-align: left;
    margin-top: 4px;
}

.profile-card.layout-modern .profile-social-links {
    justify-content: flex-start;
    margin-top: 12px;
}

.profile-card.layout-modern .profile-location {
    justify-content: flex-start;
}

.profile-card.layout-modern .profile-views {
    justify-content: flex-start;
}

/* LAYOUT: SIMPLES (centered minimalist) */
.profile-card.layout-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: rgba(18, 16, 24, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.profile-card.layout-simple .profile-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.profile-card.layout-simple .profile-avatar-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 4px;
}

.profile-card.layout-simple .profile-avatar-wrapper img {
    border-radius: 50%;
}

.profile-card.layout-simple .profile-username {
    font-size: 20px;
}

.profile-card.layout-simple .profile-social-links {
    gap: 16px;
    margin-top: 8px;
}

/* LAYOUT: ELEGANTE (offset top-left avatar, top-right location, bottom-left details) */
.profile-card.layout-elegant {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 60px; /* Folga para o avatar sobreposto */
    gap: 16px;
}

.profile-card.layout-elegant .profile-header-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-card.layout-elegant .profile-avatar-wrapper {
    position: absolute;
    top: -98px; /* Desloca o avatar para fora da borda superior mantendo fluxo */
    left: 0;
    width: 76px;
    height: 76px;
    border-radius: 18px; /* Quadrado arredondado */
    overflow: visible;
}

.profile-card.layout-elegant .profile-avatar-wrapper img {
    border-radius: 18px !important;
    width: 76px;
    height: 76px;
}

.profile-card.layout-elegant .profile-username {
    font-size: 20px;
    margin-top: 20px; /* Posiciona com espaço adequado */
    text-align: left;
    justify-content: flex-start;
}

.profile-card.layout-elegant .profile-badges {
    justify-content: flex-start;
    margin-top: 4px;
}

.profile-card.layout-elegant .profile-location {
    position: absolute;
    top: 20px;
    right: 24px;
    justify-content: flex-end;
}

.profile-card.layout-elegant .profile-bio-container {
    text-align: left;
    margin-top: 12px;
}

.profile-card.layout-elegant .profile-social-links {
    justify-content: flex-start;
    margin-top: 8px;
}

.profile-card.layout-elegant .profile-views {
    justify-content: flex-start;
}

.live-preview-section {
    display: flex;
}

/* ==========================================================================
   TOAST NOTIFICATIONS & COLOR PICKER HUD STYLES
   ========================================================================== */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    background: rgba(19, 17, 22, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-message.success {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(16, 185, 129, 0.12);
}

.toast-message.error {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(239, 68, 68, 0.12);
}

.toast-icon {
    font-size: 16px;
}
.toast-success-icon {
    color: #10b981;
}
.toast-error-icon {
    color: #ef4444;
}

/* Color picker presets animations */
.preset-color-btn {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.preset-color-btn:hover {
    transform: scale(1.08);
    border-color: #fff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

#hudColorHue::-webkit-slider-runnable-track {
    background: transparent;
}
#hudColorSaturation::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #888, var(--primary-color));
}
#hudColorLightness::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #000, #888, #fff);
}

/* User details stacked wrapper layout styles */
.profile-user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.profile-card.layout-modern .profile-user-details {
    align-items: flex-start;
}

.profile-card.layout-classic .profile-user-details {
    align-items: center;
}

.profile-card.layout-simple .profile-user-details {
    align-items: center;
}

.profile-card.layout-elegant .profile-user-details {
    align-items: flex-start;
}

/* Custom Cursor particles */
.cursor-particle {
    position: absolute;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    animation: driftFade 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes driftFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--drift-x)), calc(-50% + var(--drift-y))) scale(0.2) rotate(var(--rotation));
    }
}

/* Floating Volume Control */
.floating-volume-container {
    position: absolute;
    top: 24px;
    left: 24px;
    right: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(19, 17, 22, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 38px;
}
.floating-volume-container:hover {
    background: rgba(19, 17, 22, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
}
.floating-volume-container button {
    background: none;
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
}
.floating-volume-container button:hover {
    color: var(--primary-color);
}
.floating-volume-container .profile-volume-slider-popout {
    width: 70px;
    display: flex;
    align-items: center;
}
.floating-volume-container .profile-volume-slider-popout input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    accent-color: #ffffff;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.floating-volume-container .profile-volume-slider-popout input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

/* ==========================================================================
   LAYOUT SIZING OVERRIDES, CENTERING & GLOW CONTROLS
   ========================================================================== */

.profile-username {
    font-size: var(--username-size, 24px) !important;
}

.profile-bio {
    font-size: var(--bio-size, 13.5px) !important;
    color: var(--bio-color, var(--text-muted));
}

#previewAvatar, .profile-avatar-wrapper {
    width: var(--avatar-size, 96px) !important;
    height: var(--avatar-size, 96px) !important;
}

.profile-card, .music-player-widget {
    width: 100% !important;
    max-width: var(--card-width, 360px) !important;
}

.music-player-widget {
    flex-direction: column !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.profile-card .music-player-widget {
    align-items: center !important;
}

.music-player-content {
    align-items: center !important;
}

.music-title {
    text-align: center !important;
}

.music-player-top-row {
    justify-content: center !important;
}

.music-player-controls-row {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.music-time-container {
    width: 100% !important;
    justify-content: center !important;
}

.music-buttons-group {
    align-self: center !important;
}

/* Glow styles for Player Icons */
.music-player-widget.glow-enabled .music-play-btn {
    box-shadow: 0 0 12px var(--primary-glow) !important;
}
.music-player-widget.glow-enabled .music-play-btn:hover {
    box-shadow: 0 0 18px var(--primary-color) !important;
}
.music-player-widget.glow-enabled .music-nav-btn i,
.music-player-widget.glow-enabled .music-play-btn i {
    text-shadow: 0 0 8px var(--primary-glow);
}
.music-player-widget.glow-disabled .music-play-btn {
    box-shadow: none !important;
}
.music-player-widget.glow-disabled .music-play-btn:hover {
    box-shadow: none !important;
}
.music-player-widget.glow-disabled .music-nav-btn i,
.music-player-widget.glow-disabled .music-play-btn i {
    text-shadow: none !important;
}
