/* 🌈✨ VOD Manager by K3N - Cute Tumblr Aesthetic Dark Mode ✨🌈 */

/* Import Fredoka font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

:root {
    /* Rainbow Gradient Colors */
    --pink: #ff6b9d;
    --purple: #c44569;
    --blue: #4a69bd;
    --cyan: #60a3bc;
    --teal: #0be881;
    --lavender: #c7b3ff;
    --peach: #ffa07a;
    
    /* Dark Mode Base */
    --bg-darkest: #0f0f1e;
    --bg-darker: #1a1a2e;
    --bg-dark: #16213e;
    --bg-card: #1f2937cc;
    --bg-card-hover: #374151cc;
    
    /* Text */
    --text-primary: #f8f8ff;
    --text-secondary: #d1d5e8;
    --text-muted: #9ca3af;
    
    /* Borders & Shadows */
    --border: rgba(199, 179, 255, 0.2);
    --glow: rgba(255, 107, 157, 0.4);
    --shadow: rgba(0, 0, 0, 0.5);
    
    /* Status Colors */
    --success: #0be881;
    --warning: #feca57;
    --danger: #ee5a6f;
    --info: #60a3bc;
}

/* ========== ANNOUNCEMENT BANNER ========== */
.announcement-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(90deg, var(--success), rgba(11,232,129,0.9));
    color: #07220f;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.4rem 0;
}
.announcement-inner { display:flex; align-items:center; justify-content:space-between; }
.announcement-inner { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.announcement-left { flex: 1 1 auto; min-width: 0; }
.announcement-content { font-weight:600; font-size:0.95rem; }
.announcement-content { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.announcement-right { display:flex; align-items:center; gap:0.75rem; flex: none; }
.announcement-cta { background: #07220f; color: white; padding:0.4rem 0.75rem; border-radius:8px; text-decoration:none; white-space:nowrap; }
.hero-announcement { margin-top: 0.75rem; display:flex; gap:0.75rem; align-items:center; }
.hero-announcement .announcement-text { font-weight:600; color: var(--text-primary); }
.announcement-dontshow { font-size:0.85rem; color: var(--text-primary); opacity:0.85; cursor:pointer; }
.btn-icon { background: transparent; border: none; color: var(--text-primary); font-size:1rem; cursor:pointer; }

@media (max-width: 768px) {
    .announcement-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .announcement-right { justify-content: flex-end; width:100%; }
}

/* ========== ANIMATED GRADIENT ========== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.animated-gradient-text {
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
    background: var(--bg-darkest);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 163, 188, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(199, 179, 255, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Cute scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--purple));
    border-radius: 10px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--purple), var(--blue));
}

/* Selection */
::selection {
    background: var(--pink);
    color: white;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

h2 {
    font-size: 2rem;
    background: linear-gradient(270deg, var(--lavender), var(--pink), var(--purple), var(--cyan), var(--purple), var(--pink), var(--lavender));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

/* ========== GLASSMORPHISM CARDS ========== */
.card, .streamer-card, .clip-card, .login-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before, .streamer-card::before, .clip-card::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover, .streamer-card:hover, .clip-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px var(--glow);
}

.card:hover::before, .streamer-card:hover::before, .clip-card:hover::before {
    opacity: 1;
    animation: sparkle 0.6s ease;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Fredoka', cursive;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

.btn-secondary {
    background: linear-gradient(270deg, var(--cyan), var(--blue), var(--purple), var(--pink), var(--purple), var(--blue), var(--cyan));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
    box-shadow: 0 4px 15px rgba(96, 163, 188, 0.4);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #c23866);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c23866, #a02d52);
    transform: translateY(-2px);
}

.btn-danger:disabled {
    background: linear-gradient(135deg, #666, #555);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.login-page::before {
    content: '⭐';
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    top: 10%;
    left: 10%;
    opacity: 0.3;
}

.login-page::after {
    content: '💫';
    position: absolute;
    font-size: 2.5rem;
    animation: float 4s ease-in-out infinite;
    bottom: 15%;
    right: 15%;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.login-container {
    max-width: 500px;
    width: 100%;
}

.login-card {
    text-align: center;
    padding: 3rem;
}

.login-header {
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.login-body {
    margin-bottom: 2rem;
}

.login-description {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.login-note {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.registration-intro {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.registration-form {
    text-align: left;
}

/* ========== HEADER/NAVIGATION ========== */
header {
    background: var(--bg-darker);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    /* Move header down if an announcement banner is present (set --announcement-height on body) */
        top: var(--announcement-height, 0px);
        transition: top 0.2s ease;
    z-index: 1001;
}

    /* Accessibility: hide visually but keep for screen-readers */
    .sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    min-width: 0;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 1;
    min-width: 0;
    z-index: 102;
    overflow: hidden;
}

.site-logo .logo-img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.site-name-full {
    display: inline;
}

.site-name-short {
    display: none;
}

.alpha-badge {
    -webkit-text-fill-color: white;
    color: white;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
    margin: 0;
    flex-wrap: nowrap;
    min-width: 0;
    flex-shrink: 1;
    flex-grow: 0;
    overflow: hidden;
    max-width: calc(100% - 180px);
}

.nav-menu li {
    flex-shrink: 1;
    min-width: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-shrink: 1;
    min-width: 16px;
    overflow: hidden;
}

.nav-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.nav-text {
    display: inline;
}

.nav-link:hover {
    background: var(--bg-card);
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(199, 179, 255, 0.15));
    border: 1px solid rgba(255, 107, 157, 0.3);
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.nav-link-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(199, 179, 255, 0.25));
    border-color: var(--pink);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
    min-width: 150px;
    flex-wrap: nowrap;
    margin-left: auto;
    padding-left: 0.25rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
}

.user-name {
    color: var(--text-secondary);
    font-size: 0.7rem;
    display: none;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--pink);
    object-fit: cover;
    flex-shrink: 0;
}

/* id="logout-btn" - let's make it more visible */
#logout-btn {
    background: linear-gradient(135deg, var(--danger), #c23866);
    color: white;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 102;
}

.mobile-menu-toggle:hover {
    border-color: var(--pink);
    background: rgba(255, 107, 157, 0.1);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* ========== PAGE HEADER ========== */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-separator {
    background: linear-gradient(270deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--blue), var(--purple), var(--pink));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ========== STREAMER GRID ========== */
.streamers-section {
    margin-top: 2rem;
}

.streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.streamer-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.streamer-live {
    border-color: var(--teal) !important;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(11, 232, 129, 0.4); }
    50% { box-shadow: 0 0 40px rgba(11, 232, 129, 0.6); }
}

.streamer-owned {
    border-color: var(--lavender);
}

.streamer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.streamer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    position: relative;
}

.streamer-avatar-large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    display: inline-flex;
    vertical-align: middle;
}

.streamer-info {
    flex: 1;
}

.live-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1rem;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.streamer-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ownership-badge {
    font-size: 0.9rem;
}

.streamer-stats {
    margin: 1rem 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
    border-bottom: none;
}

.streamer-footer {
    margin-top: 1rem;
    text-align: center;
}

.btn-link {
    color: var(--cyan);
    font-weight: 600;
}

/* ========== CLIPS GRID ========== */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.clip-card {
    display: flex;
    flex-direction: column;
}

.clip-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.clip-thumbnail::before {
    content: '🎬';
    font-size: 4rem;
    opacity: 0.3;
}

.clip-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.clip-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
    word-break: break-word;
}

.clip-date-time {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(199, 179, 255, 0.15);
}

.clip-date-primary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.clip-date-relative {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.clip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(199, 179, 255, 0.1);
    transition: all 0.2s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(199, 179, 255, 0.2);
}

.meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.meta-item span {
    white-space: nowrap;
    font-weight: 500;
}

.meta-audio {
    border-color: rgba(255, 107, 157, 0.3);
    background: rgba(255, 107, 157, 0.08);
}

.meta-audio:hover {
    border-color: rgba(255, 107, 157, 0.4);
    background: rgba(255, 107, 157, 0.12);
}

.clip-status-badge {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.clip-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.clip-actions .btn {
    width: 100%;
    padding: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== CLIPS LIST VIEW ========== */
.clips-list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clip-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.clip-list-item::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clip-list-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow);
}

.clip-list-item:hover::before {
    opacity: 1;
    animation: sparkle 0.6s ease;
}

.clip-list-icon {
    flex-shrink: 0;
}

.clip-list-icon .icon-link {
    display: block;
    text-decoration: none;
}

.clip-list-icon .icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.clip-list-icon .icon-bg:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.clip-list-icon .icon-bg.icon-disabled {
    background: linear-gradient(135deg, var(--text-muted), #666);
    opacity: 0.5;
}

.clip-list-icon .play-icon {
    width: 28px;
    height: 28px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.clip-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.clip-list-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.clip-list-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clip-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clip-list-filename {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clip-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(199, 179, 255, 0.15);
    transition: all 0.2s ease;
}

.meta-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(199, 179, 255, 0.25);
}

.meta-badge.meta-date {
    background: rgba(96, 163, 188, 0.1);
    border-color: rgba(96, 163, 188, 0.2);
    color: var(--cyan);
}

.meta-badge.meta-relative {
    background: transparent;
    border: none;
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-style: italic;
}

.meta-badge svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.clip-list-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.size-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(199, 179, 255, 0.1);
    color: var(--text-muted);
    font-weight: 500;
}

.size-badge svg {
    opacity: 0.6;
}

.size-badge.size-video {
    border-color: rgba(74, 105, 189, 0.3);
    background: rgba(74, 105, 189, 0.1);
    color: var(--blue);
}

.size-badge.size-audio {
    border-color: rgba(255, 107, 157, 0.8);
    background: rgba(255, 107, 157, 0.4);
    color: #ffffff;
}

.size-badge.size-source {
    border-color: rgba(199, 179, 255, 0.2);
    background: rgba(199, 179, 255, 0.08);
    color: var(--lavender);
}

.clip-list-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-compact {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
    white-space: nowrap;
}

.clip-list-actions .status-display {
    padding: 0.5rem 1rem;
}

/* List view responsive */
@media (max-width: 1024px) {
    .clip-list-item {
        flex-wrap: wrap;
    }
    
    .clip-list-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(199, 179, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .clip-list-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .clip-list-icon .icon-bg {
        width: 50px;
        height: 50px;
    }
    
    .clip-list-icon .play-icon {
        width: 24px;
        height: 24px;
    }
    
    .clip-list-title {
        font-size: 1rem;
    }
    
    .clip-list-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .clip-list-actions {
        flex-wrap: wrap;
    }
    
    .btn-compact {
        flex: 1;
        min-width: 0;
    }
}

/* ========== VIDEO PLAYER ========== */
.player-container {
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--border);
    box-shadow: 0 10px 50px var(--shadow);
}

.video-player {
    width: 100%;
    display: block;
    background: #000;
}

/* Audio Player */
.audio-player-wrapper {
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    text-align: center;
}

.audio-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.audio-icon {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.audio-info h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.audio-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
}

.audio-player {
    border-radius: 12px;
    background: var(--bg-darker);
    border: 2px solid var(--border);
}

/* Mode switcher */
.mode-switcher {
    padding: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid var(--border);
}

/* Download options */
.download-options {
    align-items: center;
}

.clip-details {
    margin: 2rem 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background: var(--bg-darker);
    border-radius: 12px;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Fredoka', cursive;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== MESSAGES & ALERTS ========== */
.message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
}

.message-success {
    background: rgba(11, 232, 129, 0.2);
    border: 2px solid var(--success);
    color: var(--success);
}

.message-error {
    background: rgba(238, 90, 111, 0.2);
    border: 2px solid var(--danger);
    color: var(--danger);
}

.message-info {
    background: rgba(96, 163, 188, 0.2);
    border: 2px solid var(--info);
    color: var(--info);
}

/* Info Banner */
.info-banner {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, rgba(96, 163, 188, 0.15), rgba(199, 179, 255, 0.15));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(96, 163, 188, 0.4);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(96, 163, 188, 0.2);
}

.info-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.info-banner-content {
    flex: 1;
    color: var(--text-primary);
}

.info-banner-content h3 {
    color: var(--cyan);
    font-weight: 600;
}

.info-banner-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-banner-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-banner-content li {
    margin-bottom: 4px;
}

.info-banner-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========== EMPTY STATES ========== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px dashed var(--border);
    border-radius: 24px;
    margin: 2rem 0;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(11, 232, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.badge-warning {
    background: rgba(254, 202, 87, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.badge-danger {
    background: rgba(238, 90, 111, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.badge-info {
    background: rgba(96, 163, 188, 0.2);
    color: var(--info);
    border: 1px solid var(--info);
}

.badge-primary {
    background: rgba(199, 179, 255, 0.2);
    color: var(--lavender);
    border: 1px solid var(--lavender);
}

.badge-secondary {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

/* ========== ADMIN PANEL ========== */
.admin-section {
    margin-bottom: 2rem;
}

.section-header-collapsible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.section-header-collapsible:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow);
}

.section-header-collapsible .section-title {
    margin: 0;
    font-size: 1.4rem;
}

.btn-collapse {
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.btn-collapse:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: rotate(180deg);
}

.btn-collapse.active {
    transform: rotate(180deg);
}

.btn-collapse svg {
    transition: transform 0.3s ease;
}

.collapsible-content {
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}

.collapsible-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--lavender);
}

/* VOD Master List Styles */
.vod-master-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vod-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.vod-list-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow);
}

.vod-list-icon {
    flex-shrink: 0;
}

.vod-list-icon .icon-bg {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vod-list-icon .icon-bg:hover {
    transform: scale(1.1) rotate(5deg);
}

.vod-list-icon .play-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.vod-list-info {
    flex: 1;
    min-width: 0;
}

.vod-list-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vod-list-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vod-list-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.vod-list-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg-darker);
    color: var(--lavender);
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--bg-card-hover);
}

.btn-small {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 16px;
    white-space: nowrap;
}

/* ========== LIVE SIDEBAR ========== */
/* Hide sidebar on pages with no-sidebar class */
body.no-sidebar .live-sidebar,
body.no-sidebar .live-sidebar-toggle,
body.no-sidebar .sidebar-overlay {
    display: none !important;
}

.live-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    backdrop-filter: blur(10px);
    border-left: 2px solid var(--border);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    padding-top: 73px;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-darkest);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.pulse-dot {
    animation: blink 1.5s ease-in-out infinite;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: none; /* Hidden on desktop */
}

.sidebar-close:hover {
    background: var(--bg-card);
    color: var(--pink);
}

.sidebar-stats {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    background: var(--bg-darkest);
    border-bottom: 2px solid var(--border);
}

.stat-pill {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-pill.stat-live {
    border-color: var(--teal);
    color: var(--teal);
}

.stat-pill.stat-offline {
    color: var(--text-muted);
}

.stat-emoji {
    font-size: 1.2rem;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: calc(100vh - 73px - 120px);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.section-header h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.streamers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.streamer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.streamer-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateX(-5px);
}

.streamer-item.live {
    border-color: var(--teal);
    background: rgba(11, 232, 129, 0.05);
}

.streamer-item.live:hover {
    box-shadow: 0 0 20px rgba(11, 232, 129, 0.3);
}

.streamer-avatar-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    position: relative;
    flex-shrink: 0;
}

.streamer-avatar-small.owned {
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.sidebar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.live-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 0.9rem;
    animation: blink 1s ease-in-out infinite;
}

.streamer-details {
    flex: 1;
    min-width: 0;
}

.streamer-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.streamer-name-row .name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owned-badge {
    font-size: 0.85rem;
}

.streamer-duration {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 600;
}

.streamer-last-seen {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sidebar-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.sidebar-loading .loading {
    margin: 0 auto 1rem;
}

.sidebar-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    background: var(--bg-darkest);
}

.no-streamers {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-style: italic;
}

.error-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--danger);
}

/* Live Sidebar Toggle Button (Mobile) */
.live-sidebar-toggle {
    position: fixed;
    top: 80px;
    right: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    display: none; /* Hidden on desktop */
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Fredoka', cursive;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.live-sidebar-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    box-shadow: 0 6px 20px rgba(96, 163, 188, 0.4);
}

.live-sidebar-toggle.has-live {
    border-color: var(--danger);
}

.live-sidebar-toggle.has-live .live-count-badge {
    background: linear-gradient(135deg, var(--danger), #c0294f);
    animation: pulse-glow 2s ease-in-out infinite;
}

.toggle-icon {
    font-size: 1.1rem;
    opacity: 0.9;
}

.toggle-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.live-count-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: inline-block;
}

.live-count-badge.active {
    background: linear-gradient(135deg, var(--danger), #c0294f);
    color: white;
    border-color: var(--danger);
    box-shadow: 0 0 10px rgba(238, 90, 111, 0.5);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Adjust main content for sidebar on desktop */
@media (min-width: 769px) {
    body:not(.no-sidebar) {
        padding-right: 320px;
    }
    
    /* Ensure header content doesn't get covered by sidebar */
    body:not(.no-sidebar) header .container {
        padding-right: 2rem;
    }
    
    body:not(.no-sidebar) .header-content {
        margin-right: 0;
    }
}

/* ========== RESPONSIVE HEADER ========== */
/* Large screens (1800px+) - show everything nicely */
@media (min-width: 1801px) {
    .site-logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    .site-logo .logo-img {
        width: 32px;
        height: 32px;
    }
    .nav-menu {
        gap: 0.2rem;
    }
    .nav-link {
        padding: 0.25rem 0.4rem;
        font-size: 0.8rem;
        min-width: auto;
    }
    .user-avatar {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }
    .user-name {
        display: block;
    }
    .user-info {
        gap: 0.35rem;
    }
    .main-nav {
        gap: 0.35rem;
    }
    .btn-small {
        padding: 0.25rem 0.45rem;
        font-size: 0.7rem;
    }
}

/* Hide nav text at 1800px - icons only */
@media (max-width: 1800px) {
    .nav-text {
        display: none;
    }
    .nav-link {
        min-width: 20px;
        padding: 0.15rem;
        font-size: 0.8rem;
    }
    .nav-link svg {
        width: 13px;
        height: 13px;
    }
}

/* Compact at 1600px */
@media (max-width: 1600px) {
    .site-name-full {
        display: none;
    }
    .site-name-short {
        display: inline;
        font-size: 0.8rem;
    }
    .alpha-badge {
        display: none;
    }
    .user-avatar {
        width: 22px;
        height: 22px;
    }
    .btn-small {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }
    .nav-link {
        padding: 0.1rem;
        min-width: 18px;
    }
    .nav-link svg {
        width: 12px;
        height: 12px;
    }
}

/* More compact at 1500px */
@media (max-width: 1500px) {
    .site-name-short {
        display: none;
    }
    .site-logo {
        gap: 0;
    }
    .site-logo .logo-img {
        width: 22px;
        height: 22px;
    }
    .user-avatar {
        width: 20px;
        height: 20px;
    }
    .nav-link {
        min-width: 16px;
        font-size: 0.75rem;
    }
    .nav-link svg {
        width: 11px;
        height: 11px;
    }
    .btn-small {
        padding: 0.1rem 0.2rem;
        font-size: 0.55rem;
    }
}

/* Very compact at 1400px */
@media (max-width: 1400px) {
    .site-logo .logo-img {
        width: 20px;
        height: 20px;
    }
    .nav-link {
        min-width: 14px;
        font-size: 0.7rem;
    }
    .nav-link svg {
        width: 10px;
        height: 10px;
    }
    .user-avatar {
        width: 18px;
        height: 18px;
    }
    .btn-small {
        padding: 0.08rem 0.15rem;
        font-size: 0.5rem;
    }
    .header-content {
        gap: 0.15rem;
    }
}

/* Ultra compact at 1300px */
@media (max-width: 1300px) {
    .nav-link {
        min-width: 12px;
        font-size: 0.65rem;
        padding: 0.05rem;
    }
    .nav-link svg {
        width: 9px;
        height: 9px;
    }
    .user-avatar {
        width: 16px;
        height: 16px;
    }
    .site-logo .logo-img {
        width: 18px;
        height: 18px;
    }
    .btn-small {
        padding: 0.05rem 0.1rem;
        font-size: 0.45rem;
    }
}

/* Minimum at 1200px */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.08rem;
        min-width: 16px;
        font-size: 0.65rem;
    }
    .nav-link svg {
        width: 10px;
        height: 10px;
    }
    .user-avatar {
        width: 18px;
        height: 18px;
    }
    .btn-small {
        padding: 0.1rem 0.2rem;
        font-size: 0.5rem;
    }
    .site-logo .logo-img {
        width: 20px;
        height: 20px;
    }
}

/* Absolute minimum at 1100px */
@media (max-width: 1100px) {
    .nav-link {
        padding: 0.05rem;
        min-width: 14px;
        font-size: 0.6rem;
    }
    .user-avatar {
        width: 16px;
        height: 16px;
    }
    .btn-small {
        padding: 0.08rem 0.15rem;
        font-size: 0.45rem;
    }
    .header-content {
        gap: 0.1rem;
    }
}

/* Mobile breakpoint - Show hamburger menu */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay.active {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        background: var(--bg-darker);
        border-left: 2px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 5rem 0 2rem 0;
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link {
        display: flex;
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 0;
        font-size: 1rem;
        gap: 0.5rem;
        justify-content: flex-start;
        min-width: auto;
    }
    
    /* Show text again in mobile menu */
    .nav-text {
        display: inline;
    }
    
    .nav-link:hover {
        background: var(--bg-card);
        border-radius: 0;
    }
    
    .user-info {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
        border-top: 2px solid var(--border);
        margin-top: auto;
        width: 100%;
    }
    
    .user-profile {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
        background: var(--bg-card);
        border-radius: 12px;
    }
    
    .user-name {
        display: block;
        font-size: 1rem;
        text-align: center;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .user-info .btn {
        width: 100%;
        padding: 0.75rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .streamer-grid, .clips-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .site-logo {
        font-size: 1.1rem;
    }
    
    .site-logo .logo-img {
        width: 28px;
        height: 28px;
    }
    
    /* Mobile sidebar behavior */
    body {
        padding-right: 0 !important;
    }
    
    .live-sidebar {
        transform: translateX(100%);
        width: 100%;
        max-width: 380px;
    }
    
    .live-sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: block;
    }
    
    .live-sidebar-toggle {
        display: flex;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== LOADING SPINNER ========== */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none; }

/* ========== CUTE DECORATIONS ========== */
.sparkle {
    position: relative;
}

.sparkle::after {
    content: '✨';
    position: absolute;
    animation: sparkle-float 2s ease-in-out infinite;
}

@keyframes sparkle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
}

/* ========== ADMIN ENHANCEMENTS ========== */

/* Setting Row Layout */
.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.setting-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--pink);
}

.setting-info {
    flex: 1;
    margin-right: 2rem;
}

.setting-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.setting-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-color: var(--pink);
    box-shadow: 0 0 20px var(--glow);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background: var(--text-primary);
}

.switch-label {
    font-weight: 500;
    color: var(--text-primary);
    vertical-align: middle;
    margin-left: 10px;
}

/* Streamer Tags */
.streamer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.streamer-tags .badge {
    position: relative;
    padding-right: 25px;
}

.remove-relationship-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.remove-relationship-btn:hover {
    opacity: 1;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    min-width: 300px;
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast.info {
    border-left: 4px solid var(--info);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* Modal for Add Relationship */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 20px;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px var(--shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 24px;
    padding: 0;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* ========== FILE SIZE SYNC STATS ========== */
.sync-stats-list {
    list-style: none;
    padding: 0;
}

.sync-stats-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sync-stats-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.error-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.error-list li {
    padding: 0.25rem 0;
    color: var(--danger);
    font-size: 0.9rem;
}

.btn-spinner {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(11, 232, 129, 0.1);
    border: 1px solid rgba(11, 232, 129, 0.3);
    color: var(--success);
}

.form-message.error {
    background: rgba(238, 90, 111, 0.1);
    border: 1px solid rgba(238, 90, 111, 0.3);
    color: var(--danger);
}

/* ========== HELP MODAL ========== */
.discord-contact {
    margin-top: 1.5rem;
}

.discord-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.discord-username-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.discord-username-container code {
    background: var(--bg-darker);
    color: var(--pink);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--border);
    flex: 1;
    min-width: 150px;
    user-select: all;
}

.copy-feedback {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
    font-weight: 500;
}

#help-modal .modal-content {
    max-width: 450px;
}

#help-modal h2 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== LIVE STREAM NOTIFICATIONS ========== */
.live-stream-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 10px 50px rgba(255, 0, 0, 0.8), 0 0 50px rgba(255, 0, 0, 0.6);
    }
}

.live-stream-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.live-notif-icon {
    font-size: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.live-notif-content {
    flex: 1;
}

.live-notif-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.live-notif-streamer {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Admin notification specific styles */
.live-stream-notification.admin-notification {
    max-width: 500px;
    min-width: 350px;
}

.live-notif-streamers {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.live-notif-total {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-notif-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.live-notif-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .live-stream-notification {
        top: 70px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 1rem;
    }
    
    .live-notif-icon {
        font-size: 1.5rem;
    }
    
    .live-notif-title {
        font-size: 0.75rem;
    }
    
    .live-notif-streamer {
        font-size: 1rem;
    }
}

/* ========== TIER & MONETIZATION STYLES ========== */

/* Tier Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-secondary {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.badge-primary {
    background: rgba(255, 107, 157, 0.2);
    color: var(--pink);
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.badge-success {
    background: rgba(11, 232, 129, 0.2);
    color: var(--success);
    border: 1px solid rgba(11, 232, 129, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* User Profile with Tier Badge */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-tier-badge {
    display: flex;
    gap: 0.25rem;
}

.user-tier-badge .badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
}

/* Founding Member Crown Animation */
.badge-warning {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    }
}

/* Progress Bars (for storage widget) */
.progress {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    transition: width 0.6s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bg-success {
    background: linear-gradient(90deg, var(--success), var(--teal));
}

.bg-warning {
    background: linear-gradient(90deg, var(--warning), var(--peach));
}

.bg-danger {
    background: linear-gradient(90deg, var(--danger), var(--purple));
}

/* Card Styles for Account/Pricing Pages */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(199, 179, 255, 0.4);
    box-shadow: 0 10px 30px var(--shadow);
}

.card-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

/* Alert Boxes */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.alert i {
    margin-right: 0.5rem;
}

.alert-info {
    background: rgba(96, 163, 188, 0.15);
    border-color: rgba(96, 163, 188, 0.3);
    color: var(--info);
}

.alert-warning {
    background: rgba(254, 202, 87, 0.15);
    border-color: rgba(254, 202, 87, 0.3);
    color: var(--warning);
}

.alert-danger {
    background: rgba(238, 90, 111, 0.15);
    border-color: rgba(238, 90, 111, 0.3);
    color: var(--danger);
}

.alert-success {
    background: rgba(11, 232, 129, 0.15);
    border-color: rgba(11, 232, 129, 0.3);
    color: var(--success);
}

/* Button Variants */
.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-link:hover {
    color: var(--pink);
    text-decoration: underline;
}

/* Storage Widget Specific Styles */
.storage-dashboard-widget {
    max-width: 100%;
}

.storage-dashboard-widget .d-flex {
    display: flex;
}

.storage-dashboard-widget .justify-content-between {
    justify-content: space-between;
}

.storage-dashboard-widget .align-items-center {
    align-items: center;
}

.storage-dashboard-widget .mb-0 {
    margin-bottom: 0;
}

.storage-dashboard-widget .mb-1 {
    margin-bottom: 0.25rem;
}

.storage-dashboard-widget .mb-2 {
    margin-bottom: 0.5rem;
}

.storage-dashboard-widget .mb-3 {
    margin-bottom: 1rem;
}

.storage-dashboard-widget .mt-2 {
    margin-top: 0.5rem;
}

.storage-dashboard-widget .mt-3 {
    margin-top: 1rem;
}

.storage-dashboard-widget .text-center {
    text-align: center;
}

.storage-dashboard-widget .text-muted {
    color: var(--text-muted);
}

.storage-dashboard-widget .text-success {
    color: var(--success);
}

.storage-dashboard-widget .font-weight-bold {
    font-weight: 600;
}

.storage-dashboard-widget small {
    font-size: 0.875rem;
}

/* Mobile Responsive for Tier Elements */
@media (max-width: 768px) {
    .user-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .user-details {
        align-items: flex-start;
    }
    
    .storage-dashboard-widget {
        margin: 1rem 0;
    }
}


