/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

:root {
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===== DARK THEME (DEFAULT) ===== */
body.dark-theme {
    --bg-primary: #0a0a0f;
    --bg-secondary: #121218;
    --bg-tertiary: #18181f;
    --bg-navbar: rgba(10, 10, 15, 0.95);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent: #d8b4fe;
    --accent-bg: #9333ea;
    --accent-hover: #a855f7;
    --border: #2a2a35;
    --card-bg: #121218;
}

/* ===== LIGHT THEME ===== */
body.light-theme {
    --bg-primary: #f3f4f6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f9fafb;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --accent: #4f46e5;
    --accent-bg: #4f46e5;
    --accent-hover: #4338ca;
    --border: #e5e7eb;
    --card-bg: #ffffff;
}

/* ===== MASCULINE THEME ===== */
body.masculine-theme {
    --bg-primary: #0c1929;
    --bg-secondary: rgba(15, 30, 50, 0.95);
    --bg-tertiary: rgba(20, 40, 65, 0.95);
    --bg-navbar: rgba(10, 20, 35, 0.98);
    --text-primary: #e0f0ff;
    --text-secondary: #7eb3e0;
    --accent: #3b82f6;
    --accent-bg: #1e40af;
    --accent-hover: #2563eb;
    --border: rgba(59, 130, 246, 0.3);
    --card-bg: rgba(15, 35, 60, 0.9);
}

/* ===== FEMININE THEME ===== */
body.feminine-theme {
    --bg-primary: #2d1f3d;
    --bg-secondary: rgba(60, 40, 80, 0.95);
    --bg-tertiary: rgba(70, 50, 95, 0.95);
    --bg-navbar: rgba(40, 25, 55, 0.98);
    --text-primary: #fce7f3;
    --text-secondary: #f9a8d4;
    --accent: #ec4899;
    --accent-bg: #be185d;
    --accent-hover: #db2777;
    --border: rgba(236, 72, 153, 0.3);
    --card-bg: rgba(60, 40, 80, 0.9);
}

/* ===== HELLO KITTY THEME ===== */
body.hello-kitty-theme {
    --bg-primary: #fce4ec;
    --bg-secondary: rgba(255, 255, 255, 0.95);
    --bg-tertiary: rgba(252, 228, 236, 0.95);
    --bg-navbar: rgba(255, 255, 255, 0.98);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent: #e60012;
    --accent-bg: #e60012;
    --accent-hover: #cc0010;
    --border: rgba(230, 0, 18, 0.3);
    --card-bg: rgba(255, 255, 255, 0.9);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes snowfall {
    0% {
        transform: translateY(-10vh) translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) translateX(20px);
        opacity: 0;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.snowflake {
    position: fixed;
    color: #fff;
    animation: snowfall linear infinite;
    z-index: 40;
    pointer-events: none;
}

.star-twinkle {
    position: fixed;
    background: white;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: twinkle ease-in-out infinite;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--bg-navbar);
    border-bottom: 1px solid var(--border);
    z-index: 50;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(216, 180, 254, 0.3);
}

.logo:hover h1 {
    text-shadow: 0 0 30px rgba(216, 180, 254, 0.6);
}

.desktop-menu {
    display: none;
    gap: 8px;
    align-items: center;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }
}

.nav-item {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.nav-item i {
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.25s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #a855f7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(216, 180, 254, 0.08);
    border-color: rgba(216, 180, 254, 0.2);
    color: #e9d5ff;
}

.nav-item:hover i {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(216, 180, 254, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(216, 180, 254, 0.3);
    color: #e9d5ff;
}

.nav-item.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-btn {
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(216, 180, 254, 0.08);
    border: 1px solid rgba(216, 180, 254, 0.2);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background-color: rgba(216, 180, 254, 0.15);
    border-color: rgba(216, 180, 254, 0.4);
    transform: scale(1.05);
}

.admin-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(216, 180, 254, 0.08);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 20px;
    transition: all 0.25s ease;
}

.menu-toggle:hover {
    background-color: rgba(216, 180, 254, 0.15);
    border-color: rgba(216, 180, 254, 0.4);
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.mobile-menu.active {
    display: block;
}

@media (max-width: 767px) {
    .mobile-menu.active {
        display: block;
    }
}

.nav-item-mobile {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item-mobile:hover,
.nav-item-mobile.active {
    background-color: var(--accent-bg);
    color: white;
}

.theme-menu {
    position: fixed;
    top: 70px;
    right: 20px;
    background: var(--bg-navbar);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: none;
    flex-direction: column;
    min-width: 180px;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.theme-menu.active {
    display: flex;
}

.theme-option {
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.theme-option:hover {
    background-color: var(--bg-secondary);
    opacity: 0.8;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex-grow: 1;
    margin-top: 64px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.page {
    animation: fadeIn 0.5s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 60px 20px;
    animation: slideDown 0.6s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #d8b4fe, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 16px;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 32px;
    border-radius: 24px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-bg);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    opacity: 0.8;
}

.btn-disabled {
    background-color: rgba(100, 100, 100, 0.1);
    color: #999;
    cursor: not-allowed;
    border: 1px solid var(--border);
}

/* ===== FEATURES SECTION ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: var(--card-bg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== COMMUNITY STATS ===== */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    margin-bottom: 35px;
}

.page-header h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.page-header i {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== RECOMMENDATIONS GRID ===== */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.recommendations-filter-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 50px;
    margin-top: 40px;
    padding-left: 20px;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label::before {
    content: '▬';
    color: var(--primary-color);
    font-size: 12px;
    opacity: 0.6;
}

.category-filter-select {
    width: 280px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(216, 180, 254, 0.3);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    position: relative;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d8b4fe' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='5 8 10 13 15 8'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-filter-select:hover {
    border-color: rgba(216, 180, 254, 0.6);
    background-color: rgba(216, 180, 254, 0.04);
    box-shadow: 0 6px 20px rgba(216, 180, 254, 0.15),
        inset 0 1px 3px rgba(216, 180, 254, 0.1);
    transform: translateY(-1px);
}

.category-filter-select:focus {
    outline: none;
    border-color: rgba(216, 180, 254, 0.8);
    background-color: rgba(216, 180, 254, 0.06);
    box-shadow: 0 8px 24px rgba(216, 180, 254, 0.25),
        0 0 16px rgba(168, 85, 247, 0.1),
        inset 0 1px 4px rgba(216, 180, 254, 0.15);
}

.category-filter-select:active {
    transform: translateY(0);
}

.category-filter-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px 14px;
    font-weight: 500;
    border-radius: 3px;
    margin: 2px 0;
    border: none;
}

.category-filter-select option:hover {
    background: rgba(216, 180, 254, 0.15) !important;
    color: var(--text-primary) !important;
}

.category-filter-select option:checked {
    background: #a855f7 !important;
    background-color: #a855f7 !important;
    color: white !important;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recommendation-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: var(--card-bg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.recommendation-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-banner {
    height: 160px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 48px;
    color: var(--text-secondary);
}

.card-banner i {
    font-size: 48px;
    opacity: 0.5;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-bg);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: normal;
    min-width: 0;
}

.rating {
    background-color: var(--accent-bg);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===== EVENTS GRID ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.event-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: var(--card-bg);
    padding: 25px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.event-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.event-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 13px;
}

.event-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.event-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* ===== GIVEAWAYS GRID ===== */
.giveaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.giveaway-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: var(--card-bg);
    padding: 25px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    text-align: center;
}

.giveaway-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.giveaway-prize {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.giveaway-prize i {
    margin-right: 10px;
}

.giveaway-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.giveaway-end {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 15px;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 64px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

.text-muted {
    color: #666;
    font-size: 12px;
}

.notification-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.notification-box i {
    color: var(--accent);
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: transparent;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: transparent;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.contact-form select option {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 12px 10px;
    margin: 8px 0;
    border: none;
}

.contact-form select option:checked {
    background: linear-gradient(#9333ea, #9333ea);
    background-color: #9333ea;
    color: white;
}

.form-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-group i {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    pointer-events: none;
}

.form-input-group input,
.form-input-group select {
    padding-left: 40px;
    width: 100%;
}

.form-input-group select option {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 12px 10px;
    margin: 8px 0;
    border: none;
}

.form-input-group select option:checked {
    background: linear-gradient(#9333ea, #9333ea);
    background-color: #9333ea;
    color: white;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: transparent;
    color: var(--text-primary);
}

/* ===== ABOUT PAGE ===== */

/* MVV - Missão, Visão e Valores */
.mvv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mvv-card {
    background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ec4899);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.mvv-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 20px;
    color: white;
    font-weight: bold;
}

.mvv-icon.missao {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.mvv-icon.visao {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mvv-icon.valores {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.mvv-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mvv-card>p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mvv-details {
    text-align: left;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.mvv-details h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.mvv-details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mvv-details li {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    gap: 6px;
    align-items: flex-start;
    line-height: 1.4;
}

.mvv-details li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* HISTÓRIA TIMELINE */
.about-historia {
    margin-bottom: 60px;
}

.about-historia h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.historia-timeline {
    position: relative;
    padding: 20px 0;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .historia-timeline::before {
        left: 20px;
    }
}

.timeline-item {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even)>* {
    direction: ltr;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }
}

.timeline-marker {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
}

.timeline-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
    transform: translateX(-5px);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ABOUT CONTAINER ATUALIZADO */
.about-container {
    background-color: transparent;
    border: none;
    padding: 40px 0;
}

.about-container h2 {
    color: var(--text-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.about-item-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 15px;
}

.about-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.about-item ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-item li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
}

/* ===== HALL OF FAME ===== */
.podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .podium {
        gap: 20px;
    }
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.podium-item.podium-gold {
    order: 2;
    transform: translateY(-30px);
}

@media (max-width: 768px) {
    .podium-item.podium-gold {
        transform: translateY(-20px);
    }
}

.podium-item.podium-silver {
    order: 1;
}

.podium-item.podium-bronze {
    order: 3;
}

.medal-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 18px;
    z-index: 10;
}

.podium-gold .medal-badge {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.podium-silver .medal-badge {
    background: linear-gradient(135deg, #d1d5db, #9ca3af);
}

.podium-bronze .medal-badge {
    background: linear-gradient(135deg, #fdba74, #dc2626);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border: 4px solid var(--border);
    background-color: var(--card-bg);
    margin-bottom: 15px;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.podium-gold .avatar {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(217, 119, 6, 0.1));
}

.podium-silver .avatar {
    border-color: #d1d5db;
}

.podium-bronze .avatar {
    border-color: #fdba74;
}

.podium-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.podium-item .title {
    background: linear-gradient(135deg, var(--accent), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.podium-base {
    width: 120px;
    margin-top: 20px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    opacity: 0.2;
}

.podium-gold .podium-base {
    height: 150px;
}

.podium-silver .podium-base {
    height: 100px;
}

.podium-bronze .podium-base {
    height: 70px;
}

.hall-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hall-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.hall-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.hall-card i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 15px;
}

.hall-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hall-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== BAN APPEAL PAGE ===== */
.ban-appeal-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .ban-appeal-container {
        grid-template-columns: 1fr;
    }
}

.ban-appeal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.warning-box i {
    color: #ef4444;
    font-size: 24px;
    margin-bottom: 10px;
}

.warning-box h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.warning-box p {
    color: var(--text-secondary);
    font-size: 14px;
}

.how-it-works {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.how-it-works h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.how-it-works ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.how-it-works li {
    display: flex;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--accent-bg);
    color: white;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.ban-appeal-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.ban-appeal-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.file-upload {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload:hover {
    border-color: var(--accent);
    background-color: rgba(147, 51, 234, 0.05);
}

.file-upload i {
    font-size: 32px;
    color: var(--accent);
}

.file-upload small {
    color: #666;
    font-size: 12px;
}

.file-upload input {
    display: none;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Form Input Groups */
.form-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.form-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-input-group i {
    color: var(--text-secondary);
    font-size: 16px;
}

.form-input-group .input-icon {
    font-size: 18px;
    line-height: 1;
}

.form-input-group input,
.form-input-group select {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.form-input-group input::placeholder {
    color: var(--text-secondary);
}

/* Hide browser clear button (X) */
.form-input-group input::-webkit-search-cancel-button,
.form-input-group input::-webkit-clear-button,
.form-input-group input::-ms-clear {
    display: none;
    -webkit-appearance: none;
}

.form-input {
    width: 100%;
    padding: 14px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.ban-appeal-form textarea {
    width: 100%;
    padding: 14px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.ban-appeal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.ban-appeal-form textarea::placeholder {
    color: var(--text-secondary);
}

.ban-appeal-form button[type="submit"] {
    align-self: center;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

/* ===== STAFF PAGE ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.staff-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.staff-avatar {
    font-size: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border: 3px solid var(--border);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.staff-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.staff-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
}

.staff-card.red .staff-role {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.staff-card.blue .staff-role {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.staff-card.purple .staff-role {
    background-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.staff-card.green .staff-role {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.staff-card.yellow .staff-role {
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* ===== RULES PAGE ===== */
.rules-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.rule-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.rule-item:hover {
    border-left: 4px solid var(--accent);
    border-color: var(--border);
}

.rule-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.rule-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.rule-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.rules-agreement {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #22c55e;
    font-weight: 500;
}

.rules-agreement i {
    margin-right: 10px;
}

/* ===== BUG REPORT PAGE ===== */
.bug-report-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== BOT STATUS PAGE ===== */
.bot-header {
    background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.bot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent), #ec4899);
}

.bot-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    background-color: #000;
}

.online-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.bot-info {
    flex: 1;
}

.bot-info h2 {
    font-size: 28px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.bot-badge {
    font-size: 12px;
    background-color: var(--accent-bg);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

.bot-info p {
    color: var(--text-secondary);
    margin-top: 5px;
}

.bot-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-icon {
    font-size: 24px;
    color: var(--accent);
    padding: 15px;
    border-radius: 10px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-logs {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.logs-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-header i {
    color: var(--accent);
}

.logs-header h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.log-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.log-item:last-child {
    border-bottom: none;
}

.log-time {
    color: #999;
    flex-shrink: 0;
    min-width: 85px;
}

.log-type {
    min-width: 120px;
    font-weight: 600;
}

.log-type {
    color: var(--accent-bg);
}

.log-message {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 50px 20px 20px;
    margin-top: auto;
    transition: var(--transition);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    transition: var(--transition);
    padding: 5px 0;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policy-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.footer-policy-link:hover {
    color: var(--accent);
}

/* ===== EFFECTS CONTAINER ===== */
#effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .page-header h2 {
        font-size: 32px;
    }

    .feature-card {
        padding: 20px;
    }

    .contact-container {
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== ENHANCED HOME PAGE STYLES ===== */

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: matrixFall linear infinite;
    white-space: nowrap;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(216, 180, 254, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 1;
    }
}

/* Enhanced Hero Section */
.hero-epic {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    position: relative;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitchTop 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    animation: glitchBottom 1.5s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchTop {

    2%,
    64% {
        transform: translate(2px, -2px);
    }

    4%,
    60% {
        transform: translate(-2px, 2px);
    }

    62% {
        transform: translate(13px, -1px) skew(-13deg);
    }
}

@keyframes glitchBottom {

    2%,
    64% {
        transform: translate(-2px, 0);
    }

    4%,
    60% {
        transform: translate(-2px, 0);
    }

    62% {
        transform: translate(-22px, 5px) skew(21deg);
    }
}

/* Neon Glow */
.neon-glow {
    text-shadow:
        0 0 5px #d8b4fe,
        0 0 10px #d8b4fe,
        0 0 20px #d8b4fe,
        0 0 40px #9333ea,
        0 0 80px #9333ea;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow:
            0 0 5px #d8b4fe,
            0 0 10px #d8b4fe,
            0 0 20px #d8b4fe,
            0 0 40px #9333ea;
    }

    50% {
        text-shadow:
            0 0 10px #d8b4fe,
            0 0 20px #d8b4fe,
            0 0 40px #d8b4fe,
            0 0 80px #9333ea,
            0 0 120px #9333ea;
    }
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(50) forwards;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.highlight-text {
    background: linear-gradient(90deg, #d8b4fe, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Button Enhancements */
.btn-glow {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.8), 0 0 60px rgba(147, 51, 234, 0.4);
    transform: translateY(-3px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-xl {
    padding: 16px 48px;
    font-size: 18px;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(216, 180, 254, 0.3);
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.float-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.float-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Terminal Section */
.code-terminal-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.section-title i {
    color: var(--accent);
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.terminal-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header {
    background: linear-gradient(90deg, #2d2d44, #1f1f33);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #888;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 20px;
    min-height: 200px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #00ff00;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-prompt {
    color: #00ff00;
    font-weight: bold;
}

.code-text {
    color: #e2e8f0;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff00;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Video Showcase */
.video-showcase {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.video-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.5);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(147, 51, 234, 0.6);
    transform: scale(1.1);
}

.video-slider {
    display: flex;
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
}

.video-card {
    min-width: 100%;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
    display: none;
}

.video-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-badge.anime {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.video-badge.dorama {
    background: linear-gradient(135deg, #4834d4, #686de0);
    color: white;
}

.video-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.video-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.video-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-indicator.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Enhanced Features */
.features-enhanced {
    position: relative;
    z-index: 10;
}

.feature-glow {
    position: relative;
    overflow: hidden;
}

.feature-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-glow:hover::before {
    left: 100%;
}

.feature-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-code {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.icon-entertainment {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.icon-benefits {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: rgba(216, 180, 254, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(216, 180, 254, 0.3);
}

/* Enhanced Stats */
.stats-animated {
    position: relative;
    z-index: 10;
}

.stat-card {
    position: relative;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, #9333ea, #d8b4fe);
    border-radius: 2px;
    animation: progressFill 2s ease-out forwards;
}

.stat-infinite {
    animation: infiniteProgress 2s linear infinite;
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

@keyframes infiniteProgress {
    0% {
        transform: translateX(-100%);
        width: 100%;
    }

    100% {
        transform: translateX(200%);
        width: 100%;
    }
}

/* Discord CTA */
.discord-cta {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865f2, #7289da);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.5);
}

.cta-icon.pulse {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 10px 40px rgba(88, 101, 242, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 20px 60px rgba(88, 101, 242, 0.8);
        transform: scale(1.05);
    }
}

.discord-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.discord-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    animation: orbit 20s linear infinite;
}

.orbit-ring.delay-1 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: -5s;
    animation-duration: 15s;
}

.orbit-ring.delay-2 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: -10s;
    animation-duration: 10s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive for New Elements */
@media (max-width: 768px) {
    .hero-epic {
        min-height: 60vh;
        padding: 40px 20px;
    }

    .terminal-container {
        margin: 0 10px;
    }

    .terminal-body {
        font-size: 12px;
        padding: 15px;
        min-height: 150px;
    }

    .video-carousel {
        flex-direction: column;
    }

    .carousel-btn {
        display: none;
    }

    .section-title {
        font-size: 22px;
    }

    .discord-cta h2 {
        font-size: 28px;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .floating-elements {
        display: none;
    }
}

/* ===== SAKURA PETALS EFFECT ===== */
.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ffb7c5, #ff69b4);
    border-radius: 150% 0 150% 0;
    animation: sakuraFall linear infinite;
    opacity: 0.8;
}

@keyframes sakuraFall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* ===== MUSIC PLAYER ===== */
.music-player-section {
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.music-player {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(216, 180, 254, 0.3);
    backdrop-filter: blur(10px);
}

.music-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.vinyl-disc {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a2e, #2d2d44, #1a1a2e, #2d2d44);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.vinyl-disc::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
            transparent 0,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px);
}

.vinyl-disc.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.vinyl-center {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8b4fe, #f472b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}

.equalizer {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 30px;
}

.equalizer .bar {
    width: 6px;
    background: linear-gradient(to top, #9333ea, #d8b4fe);
    border-radius: 3px;
    animation: equalize 0.5s ease-in-out infinite alternate;
}

.equalizer .bar:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
}

.equalizer .bar:nth-child(2) {
    height: 20px;
    animation-delay: 0.1s;
}

.equalizer .bar:nth-child(3) {
    height: 15px;
    animation-delay: 0.2s;
}

.equalizer .bar:nth-child(4) {
    height: 25px;
    animation-delay: 0.3s;
}

.equalizer .bar:nth-child(5) {
    height: 12px;
    animation-delay: 0.4s;
}

@keyframes equalize {
    0% {
        height: 5px;
    }

    100% {
        height: 30px;
    }
}

.music-info {
    flex: 1;
}

.music-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.now-playing {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.3);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: rgba(147, 51, 234, 0.6);
    transform: scale(1.1);
}

.music-btn.play-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

/* ===== RELEASES CALENDAR ===== */
.releases-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.release-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.release-card.anime {
    border-left: 4px solid #ff6b6b;
}

.release-card.dorama {
    border-left: 4px solid #4834d4;
}

.release-date {
    text-align: center;
    min-width: 60px;
}

.release-date .day {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.release-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.release-info {
    flex: 1;
}

.release-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    margin-bottom: 5px;
}

.release-badge.dorama {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

.release-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.release-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.release-countdown {
    text-align: center;
}

.countdown-timer {
    background: rgba(147, 51, 234, 0.2);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== LEADERBOARD ===== */
.leaderboard-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.leaderboard {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leader-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.leader-card.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
    border-color: rgba(255, 215, 0, 0.4);
}

.leader-card.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(169, 169, 169, 0.1));
    border-color: rgba(192, 192, 192, 0.4);
}

.leader-card.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(184, 115, 51, 0.1));
    border-color: rgba(205, 127, 50, 0.4);
}

.leader-card .rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.leader-card.gold .rank {
    background: linear-gradient(135deg, #ffd700, #ffb000);
    color: #1a1a2e;
}

.leader-card.silver .rank {
    background: linear-gradient(135deg, #c0c0c0, #a9a9a9);
    color: #1a1a2e;
}

.leader-card.bronze .rank {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #1a1a2e;
}

.leader-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.leader-avatar .crown {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

.leader-info {
    flex: 1;
}

.leader-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.leader-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.leader-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== GALLERY ===== */
.gallery-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-author {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.gallery-likes {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 600;
}

.gallery-likes i {
    margin-right: 4px;
}

/* ===== DISCORD LIVE WIDGET ===== */
.discord-live-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.discord-widget-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.online-members {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(114, 137, 218, 0.2));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 16px;
    padding: 25px;
}

.online-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #27ca3f;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.online-count {
    font-weight: 600;
    color: var(--text-primary);
}

.online-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.online-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(88, 101, 242, 0.5);
    transition: all 0.3s ease;
}

.online-avatar:hover {
    transform: scale(1.1);
    border-color: #5865f2;
}

.more-users {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.active-channels {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}

.active-channels h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.channel-item:hover {
    background: rgba(147, 51, 234, 0.2);
}

.channel-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.channel-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.channel-activity {
    font-size: 11px;
    color: #27ca3f;
    background: rgba(39, 202, 63, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

/* ===== MOBILE RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 768px) {
    .music-player {
        flex-direction: column;
        text-align: center;
    }

    .releases-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .discord-widget-container {
        grid-template-columns: 1fr;
    }

    .leader-card {
        padding: 12px 15px;
    }

    .leader-badge {
        display: none;
    }
}

/* ===== SHOOTING STARS ===== */
.shooting-stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, white, transparent);
    animation: shootingStar 1s linear forwards;
    opacity: 0;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 1;
    }

    100% {
        transform: translateX(500px) translateY(500px) rotate(-45deg);
        opacity: 0;
    }
}

/* ===== QUIZ SECTION ===== */
.quiz-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.quiz-card {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(216, 180, 254, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.quiz-question h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.quiz-question p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.quiz-start-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.quiz-start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.quiz-option-btn {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quiz-option-btn:hover {
    background: rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateX(5px);
}

.quiz-progress {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.quiz-characters {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.character-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.character-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.character-img.blur {
    filter: blur(5px);
}

.character-preview span {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.newsletter-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.newsletter-container>p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.btn-newsletter {
    padding: 15px 30px;
    font-size: 15px;
}

.newsletter-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 13px;
}

.newsletter-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.newsletter-features i {
    color: #27ca3f;
}

.newsletter-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-envelope {
    position: absolute;
    font-size: 30px;
    animation: floatEnvelope 6s ease-in-out infinite;
    opacity: 0.3;
}

.floating-envelope.float-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-envelope.float-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-envelope.float-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatEnvelope {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.partners-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partner-card {
    min-width: 180px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.partner-logo {
    font-size: 40px;
    margin-bottom: 15px;
}

.partner-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.partner-card p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== EASTER EGG POPUP ===== */
.easter-egg-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.easter-egg-popup.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.easter-egg-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid rgba(216, 180, 254, 0.5);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 400px;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.easter-egg-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.easter-egg-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.easter-egg-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.konami-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-block;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== MOBILE RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 768px) {
    .quiz-container {
        flex-direction: column;
    }

    .quiz-characters {
        flex-direction: row;
        justify-content: center;
    }

    .character-preview {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .newsletter-container {
        padding: 30px 20px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .input-wrapper {
        max-width: 100%;
    }

    .newsletter-features {
        flex-direction: column;
        gap: 10px;
    }

    .partners-carousel {
        padding-left: 20px;
    }

    .easter-egg-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

/* ===== FIXED MUSIC BAR - LUXURIOUS JAPANESE DESIGN ===== */
.music-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(10, 10, 15, 0.98) 0%,
            rgba(20, 15, 30, 0.98) 50%,
            rgba(15, 10, 25, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 107, 157, 0.15);
    z-index: 999;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 182, 193, 0.1) inset;
}

.music-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 107, 157, 0.5),
            rgba(147, 51, 234, 0.5),
            transparent);
}

/* Sakura petals decoration */
.music-bar-sakura {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffb6c1 30%, transparent 70%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.3;
    animation: sakuraFloat 8s ease-in-out infinite;
}

.music-bar-sakura:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.music-bar-sakura:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
}

.music-bar-sakura:nth-child(3) {
    left: 70%;
    top: 30%;
    animation-delay: 4s;
}

.music-bar-sakura.delay {
    animation-delay: 3s;
    opacity: 0.2;
}

.music-bar-sakura.delay2 {
    animation-delay: 6s;
    opacity: 0.15;
}

@keyframes sakuraFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-10px) rotate(45deg);
        opacity: 0.5;
    }
}

.music-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.music-bar-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Left Section - Logo & Info */
.music-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.music-bar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid rgba(255, 107, 157, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(255, 107, 157, 0.2),
        inset 0 0 15px rgba(147, 51, 234, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.station-name {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.station-tagline {
    font-size: 10px;
    color: rgba(255, 182, 193, 0.6);
    letter-spacing: 2px;
}

.music-bar-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 107, 157, 0.3),
            transparent);
}

.music-bar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.now-playing-label {
    font-size: 9px;
    color: rgba(255, 107, 157, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.music-bar-now {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    font-weight: 500;
}

/* Mini Equalizer */
.mini-equalizer {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 18px;
}

.mini-bar {
    width: 3px;
    background: linear-gradient(to top, #ff6b9d, #c084fc);
    border-radius: 2px;
    animation: miniEqualize 0.5s ease-in-out infinite alternate;
}

.mini-bar:nth-child(1) {
    height: 6px;
    animation-delay: 0s;
}

.mini-bar:nth-child(2) {
    height: 12px;
    animation-delay: 0.1s;
}

.mini-bar:nth-child(3) {
    height: 8px;
    animation-delay: 0.15s;
}

.mini-bar:nth-child(4) {
    height: 14px;
    animation-delay: 0.2s;
}

.mini-bar:nth-child(5) {
    height: 10px;
    animation-delay: 0.25s;
}

@keyframes miniEqualize {
    0% {
        height: 4px;
    }

    100% {
        height: 18px;
    }
}

.music-bar.paused .mini-bar {
    animation: none;
    height: 4px !important;
    opacity: 0.5;
}

/* Center Section - Controls */
.music-bar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-bar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
    position: relative;
    overflow: hidden;
}

.music-bar-btn:hover {
    background: rgba(255, 107, 157, 0.15);
    border-color: rgba(255, 107, 157, 0.3);
    color: #ff6b9d;
    transform: scale(1.05);
}

.music-bar-btn.play {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    border: none;
    color: white;
    font-size: 16px;
    box-shadow:
        0 4px 20px rgba(255, 107, 157, 0.4),
        0 0 40px rgba(255, 107, 157, 0.1);
}

.music-bar-btn.skip {
    width: 32px;
    height: 32px;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: rgba(192, 132, 252, 0.8);
    font-size: 10px;
}

.music-bar-btn.skip:hover {
    background: rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.5);
    color: #c084fc;
    transform: scale(1.1);
}

.music-bar-btn.play:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 30px rgba(255, 107, 157, 0.5),
        0 0 50px rgba(255, 107, 157, 0.2);
}

.music-bar-btn.play i {
    position: relative;
    z-index: 1;
}

.play-ripple {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: playRipple 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes playRipple {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Right Section - Volume & Close */
.music-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.volume-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.volume-btn:hover {
    color: #ff6b9d;
}

.volume-btn.muted i {
    color: #ff6b6b;
}

.volume-slider-container {
    position: relative;
    width: 80px;
    height: 6px;
}

.music-bar-volume {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b9d, #c084fc);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
    width: 30%;
    transition: width 0.1s ease;
}

.music-bar-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    position: relative;
    z-index: 3;
}

.music-bar-volume::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.music-bar-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-percent {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    min-width: 35px;
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}

.music-bar-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
}

.music-bar-close:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.3);
    color: #ff6b6b;
    transform: rotate(90deg);
}

/* Progress line */
.music-bar-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            #ff6b9d 20%,
            #c084fc 80%,
            transparent);
    animation: progressGlow 3s ease-in-out infinite;
}

@keyframes progressGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Adjust main content when music bar is visible */
body:has(.music-bar:not(.hidden)) .main-content {
    padding-top: 120px;
}

body:has(.music-bar.hidden) .main-content {
    padding-top: 70px;
}

/* Mobile responsive for music bar */
@media (max-width: 768px) {
    .music-bar {
        height: 45px;
    }

    .music-bar-content {
        padding: 0 10px;
        gap: 10px;
    }

    .music-bar-title {
        display: none;
    }

    .music-bar-now {
        max-width: 100px;
        font-size: 11px;
    }

    .music-bar-btn {
        width: 28px;
        height: 28px;
    }

    .music-bar-btn.play {
        width: 34px;
        height: 34px;
    }

    .music-bar-volume {
        width: 50px;
    }

    .music-bar-right i {
        display: none;
    }
}

/* ===== COMMUNITY HIGHLIGHTS (VIDEOS) ===== */
.community-highlights {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(118, 172, 240, 0.3);
    border-color: rgba(118, 172, 240, 0.5);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.custom-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.custom-play-btn i {
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
}

.video-card:hover .custom-play-btn {
    transform: scale(1.1);
    background: #0066e8;
    border-color: #0066e8;
    box-shadow: 0 0 20px rgba(0, 102, 232, 0.6);
}

.video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    padding-top: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.video-card:hover .video-title-overlay {
    transform: translateY(0);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== SAIKA IA CHATBOT - MIKA DESIGN ===== */

/* Container Principal */
.saika-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== AVATAR MINIMIZADO ===== */
.saika-avatar-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.saika-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-avatar-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.saika-online-indicator {
    display: none;
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
}

.saika-online-indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    animation: onlinePulse 2s infinite;
    opacity: 0.75;
}

@keyframes onlinePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ===== BALÃO MINIMIZADO ===== */
.saika-bubble {
    position: absolute;
    bottom: 0;
    right: 60px;
    background: #1e1e1e;
    border-radius: 16px;
    padding: 16px;
    min-width: 200px;
    max-width: 280px;
    width: max-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(55, 65, 81, 0.5);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.saika-bubble.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    cursor: pointer;
}

.saika-bubble-text {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    white-space: nowrap;
}

.saika-bubble-sub {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}

.saika-bubble-arrow {
    position: absolute;
    right: -8px;
    bottom: 24px;
    width: 16px;
    height: 16px;
    background: #1e1e1e;
    transform: rotate(45deg);
    border-right: 1px solid rgba(55, 65, 81, 0.5);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

/* ===== CHAT CONTAINER ABERTO ===== */
.saika-chat {
    position: fixed;
    top: 50px;
    bottom: 16px;
    right: 24px;
    width: 420px;
    max-width: calc(100vw - 48px);
    background: #212121;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 9998;
}

.saika-chat.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ===== HEADER ===== */
.saika-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #212121;
    border-bottom: 1px solid #2f2f2f;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 10;
}

.saika-header::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.5), transparent);
    pointer-events: none;
}

.saika-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saika-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.saika-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.saika-header-name {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: white;
}

.saika-verified-badge {
    flex-shrink: 0;
    margin-left: 2px;
}

.saika-ia-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
    border-radius: 9999px;
}

.saika-header-subtitle {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

.saika-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saika-header-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.saika-header-btn:hover {
    background: rgba(31, 41, 55, 0.5);
    color: white;
}

.saika-header-btn svg {
    width: 22px;
    height: 22px;
}

/* ===== ÁREA DE MENSAGENS ===== */
.saika-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.saika-messages::-webkit-scrollbar {
    width: 6px;
}

.saika-messages::-webkit-scrollbar-track {
    background: transparent;
}

.saika-messages::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}

/* ===== MENSAGENS ===== */
.saika-message {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.saika-message.saika {
    align-self: flex-start;
    max-width: 90%;
}

.saika-message.user {
    align-self: flex-end;
    max-width: 85%;
}

.message-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.saika-message.user .message-wrapper {
    flex-direction: row-reverse;
}

.message-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    background: #1f2937;
    border-radius: 12px;
    padding: 12px;
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

.saika-message.saika .message-content {
    background: transparent;
    padding: 0;
}

.saika-message.user .message-content {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    border-radius: 20px;
}

/* Botões de ação das mensagens */
.message-actions {
    display: flex;
    gap: 8px;
    margin-left: 44px;
}

.action-btn {
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(31, 41, 55, 0.5);
    color: white;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== TYPING INDICATOR ===== */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}

/* ===== ÁREA DE INPUT ===== */
.saika-input-area {
    padding: 12px 12px 8px 12px;
    background: #212121;
}

.saika-disclaimer {
    margin: 8px 0 0 0;
    padding: 0 4px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
}

.saika-input-container {
    background: #303030;
    border: 1px solid #424242;
    border-radius: 16px;
    padding: 12px 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.saika-input-container:focus-within {
    border-color: #4b5563;
}

#saika-input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 17px;
    line-height: 1.4;
    resize: none;
    outline: none;
    overflow-y: hidden;
    max-height: 120px;
    padding-left: 6px;
}

#saika-input::placeholder {
    color: #9ca3af;
}

.saika-input-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    margin-top: 4px;
}

.saika-toolbar-left,
.saika-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saika-toolbar-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.saika-toolbar-btn:hover {
    color: white;
    background: rgba(55, 65, 81, 0.5);
}

.saika-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.saika-tools-btn {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
}

.saika-tools-btn span {
    font-size: 14px;
}

.saika-mic-btn,
.saika-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.saika-mic-btn {
    background: #424242;
    color: #e5e5e5;
    transition: all 0.2s ease;
}

.saika-mic-btn:hover {
    background: #525252;
}

.saika-send-btn {
    background: #9333ea;
    color: white;
}

.saika-send-btn:hover {
    background: #7c3aed;
}

.saika-voice-mode-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.saika-voice-mode-btn:hover {
    background: #e5e5e5;
    transform: scale(1.05);
}

.saika-voice-mode-btn.active {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: white;
    animation: voiceModeActive 1.5s infinite ease-in-out;
}

@keyframes voiceModeActive {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(147, 51, 234, 0);
    }
}

/* ===== TOOLS DROPDOWN MENU - TOKYO STYLE ===== */
.saika-tools-wrapper {
    position: relative;
}

.saika-tools-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    max-width: 300px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    padding: 8px 0;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(147, 51, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    user-select: none;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.saika-tools-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.saika-menu-section {
    padding: 0;
}

.saika-menu-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(147, 51, 234, 0.3) 50%,
            transparent 100%);
    margin: 6px 12px;
}

.saika-tool-item {
    width: calc(100% - 16px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin: 2px 8px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 450;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.saika-tool-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(147, 51, 234, 0.15) 0%,
            rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 10px;
}

.saika-tool-item:hover::before {
    opacity: 1;
}

.saika-tool-item:hover {
    color: #fff;
    transform: translateX(2px);
}

.saika-tool-item:active {
    transform: translateX(2px) scale(0.98);
}

.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.2s ease;
}

.saika-tool-item:hover .tool-icon {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.35) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.3);
}

.tool-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    color: #c4b5fd;
    transition: color 0.2s ease;
}

.saika-tool-item:hover .tool-icon svg {
    color: #e9d5ff;
}

.tool-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* ===== VOICE MODE MODAL ===== */
.saika-voice-modal {
    position: absolute;
    inset: 0;
    background: #212121;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.saika-voice-modal.open {
    opacity: 1;
    visibility: visible;
}

.saika-voice-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px;
}

/* D-ID Lip Sync Container */
.saika-lipsync-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/16;
    max-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.3);
    background: #1a1a2e;
}

.saika-lipsync-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.5);
    border-color: rgba(147, 51, 234, 0.6);
}

.saika-lipsync-image,
.saika-lipsync-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.saika-lipsync-video {
    position: absolute;
    top: 0;
    left: 0;
}

/* Loading Overlay */
.saika-lipsync-loading {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #c4b5fd;
    font-size: 14px;
}

.lipsync-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(147, 51, 234, 0.2);
    border-top-color: #9333ea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Speaking state */
.saika-voice-modal.speaking .saika-lipsync-container {
    border-color: #9333ea;
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.5);
}

/* Voice Info */
.saika-voice-info {
    text-align: center;
    margin-top: 20px;
}

/* Title and Status */
.saika-voice-title {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: center;
}

.saika-voice-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voice-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    transition: all 0.3s ease;
}

.saika-voice-modal.speaking .voice-status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: statusPulse 1s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.saika-voice-modal-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
}

.saika-voice-cancel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #424242;
    border: none;
    border-radius: 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saika-voice-cancel-btn:hover {
    background: #525252;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Small (< 360px) */
@media (max-width: 359px) {
    .saika-widget {
        position: fixed;
        bottom: 12px;
        right: 12px;
        z-index: 9999;
    }

    .saika-avatar-btn {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        min-height: 52px;
        border-radius: 50% !important;
        overflow: hidden !important;
        aspect-ratio: 1/1;
    }

    .saika-avatar-btn img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    .saika-chat {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        height: 100vh !important;
        /* fallback */
        max-width: 100vw !important;
        max-height: 100dvh !important;
        max-height: 100vh !important;
        /* fallback */
        border-radius: 0 !important;
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
        z-index: 10000;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .saika-chat.open {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    /* Footer area needs extra padding on mobile */
    .saika-chat-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .saika-bubble {
        display: none;
    }

    .saika-header {
        padding: 12px 14px;
    }

    .saika-header-avatar img {
        width: 36px;
        height: 36px;
    }

    .saika-header-name {
        font-size: 14px;
    }

    .saika-tools-btn span {
        display: none;
    }

    .saika-input-area {
        padding: 10px 12px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 16px)) !important;
    }

    .saika-input {
        font-size: 14px;
        padding: 10px 14px;
    }

    .saika-disclaimer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 16px)) !important;
        margin-bottom: 0 !important;
    }

    .saika-profile-modal-content {
        max-width: 100%;
        padding: 0 8px;
    }

    .saika-profile-field input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .saika-menu-dropdown {
        width: 200px;
    }
}

/* Mobile (360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
    .saika-widget {
        position: fixed;
        bottom: 16px;
        right: 16px;
        z-index: 9999;
    }

    .saika-avatar-btn {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        min-height: 52px;
        border-radius: 50% !important;
        overflow: hidden !important;
        aspect-ratio: 1/1;
    }

    .saika-avatar-btn img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    .saika-chat {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        height: 100vh !important;
        /* fallback */
        max-width: 100vw !important;
        max-height: 100dvh !important;
        max-height: 100vh !important;
        /* fallback */
        border-radius: 0 !important;
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
        z-index: 10000;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .saika-chat.open {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    /* Footer area needs extra padding on mobile */
    .saika-chat-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .saika-bubble {
        display: none;
    }

    .saika-header {
        padding: 12px 16px;
    }

    .saika-tools-btn span {
        display: none;
    }

    .saika-input-area {
        padding: 12px 14px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 16px)) !important;
    }

    .saika-disclaimer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 16px)) !important;
        margin-bottom: 0 !important;
    }

    .saika-profile-modal-content {
        max-width: 100%;
        padding: 0 12px;
    }

    .saika-menu-dropdown {
        width: 220px;
    }

    .saika-discover-panel {
        padding: 16px;
    }

    .saika-discover-card {
        margin-bottom: 16px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .saika-widget {
        bottom: 20px;
        right: 20px;
    }

    .saika-chat {
        width: 90vw;
        max-width: 500px;
        height: 85vh;
        max-height: 700px;
        right: 5vw;
        bottom: 80px;
        border-radius: 20px;
    }

    .saika-bubble {
        max-width: 200px;
    }

    .saika-profile-modal-content {
        max-width: 380px;
    }

    .saika-discover-content {
        padding: 20px;
    }
}

/* Tablet Landscape / iPad (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .saika-widget {
        bottom: 24px;
        right: 24px;
    }

    .saika-chat {
        width: 420px;
        height: 80vh;
        max-height: 680px;
        right: 24px;
        bottom: 90px;
    }

    .saika-profile-modal-content {
        max-width: 380px;
    }
}

/* Desktop (> 1024px) - Default styles apply */
@media (min-width: 1025px) {
    .saika-chat {
        width: 427px;
        margin-right: -19px;
        height: 631px;
        top: 5px;
        max-height: 98vh;
    }
}

/* ===== LIGHT THEME ===== */
body.light-theme .saika-chat {
    background: #ffffff;
}

body.light-theme .saika-header {
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
    border-color: #e5e7eb;
}

body.light-theme .saika-header-name {
    color: #111827;
}

body.light-theme .saika-header-subtitle {
    color: #6b7280;
}

body.light-theme .saika-messages {
    background: #f3f4f6;
}

body.light-theme .saika-message.saika .message-content {
    background: white;
    color: #111827;
}

body.light-theme .saika-input-area {
    background: rgba(249, 250, 251, 0.8);
}

body.light-theme .saika-input-container {
    background: white;
    border-color: #e5e7eb;
}

body.light-theme #saika-input {
    color: #111827;
}

body.light-theme .saika-header-btn,
body.light-theme .saika-toolbar-btn,
body.light-theme .action-btn {
    color: #6b7280;
}

body.light-theme .saika-header-btn:hover,
body.light-theme .saika-toolbar-btn:hover,
body.light-theme .action-btn:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

/* ===== SAIKA MENU DROPDOWN ===== */
.saika-header-right {
    position: relative;
}

.saika-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.saika-menu-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Profile Section in Menu */
.saika-menu-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.saika-menu-profile:hover {
    background: rgba(139, 92, 246, 0.15);
}

.saika-menu-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    overflow: hidden;
}

.saika-menu-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-menu-profile-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.saika-menu-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.saika-menu-profile-hint {
    font-size: 11px;
    color: rgba(139, 92, 246, 0.9);
}

.saika-menu-profile.has-account .saika-menu-profile-hint {
    color: rgba(255, 255, 255, 0.5);
}

.saika-menu-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.saika-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #e5e5e5;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
}

.saika-menu-item:hover {
    background: rgba(147, 51, 234, 0.2);
    color: #fff;
}

.saika-menu-item svg {
    flex-shrink: 0;
}

/* ===== CONVERSATIONS PANEL ===== */
.saika-conversations-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d0d1a;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.saika-conversations-panel.open {
    transform: translateX(0);
}

.saika-conversations-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
}

.saika-conv-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #e5e5e5;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.saika-conv-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.saika-conv-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.saika-conv-header-right {
    display: flex;
    gap: 8px;
}

.saika-conversations-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Header spacer */
.saika-conv-header-spacer {
    flex: 1;
}

/* Header left group */
.saika-conv-header-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* User Profile Section */
.saika-conv-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saika-conv-profile:hover {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.12));
    border-color: rgba(139, 92, 246, 0.35);
}

.saika-conv-profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(139, 92, 246, 0.8);
    flex-shrink: 0;
    overflow: hidden;
}

.saika-conv-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-conv-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.saika-conv-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saika-conv-profile-hint {
    font-size: 12px;
    color: rgba(139, 92, 246, 0.8);
}

.saika-conv-profile.has-account .saika-conv-profile-hint {
    color: rgba(255, 255, 255, 0.5);
}

.saika-conv-profile-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.saika-conv-profile:hover .saika-conv-profile-arrow {
    transform: translateX(3px);
    color: rgba(139, 92, 246, 0.8);
}

/* Discover & Imagine Section */
.saika-conv-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.saika-conv-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #e5e5e5;
    font-size: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: left;
}

.saika-conv-action-item:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
}

.saika-conv-action-item.disabled {
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

.saika-badge-new {
    background: #3b82f6;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
    text-transform: uppercase;
}

.saika-badge-soon {
    color: #6b7280;
    font-size: 12px;
    margin-left: 4px;
}

/* Conversations Section Title */
.saika-conv-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    padding: 8px 16px;
    margin-bottom: 8px;
}

.saika-conversations-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Conversation Group by Date */
.saika-conv-date-group {
    margin-bottom: 8px;
}

.saika-conv-date-label {
    font-size: 12px;
    color: #6b7280;
    padding: 12px 16px 6px;
    font-weight: 500;
}

.saika-conv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saika-conv-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.saika-conv-item-content {
    flex: 1;
    min-width: 0;
}

.saika-conv-item-title {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saika-conv-item-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0;
    transition: all 0.2s ease;
}

.saika-conv-item:hover .saika-conv-item-menu {
    opacity: 1;
}

.saika-conv-item-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== CONVERSATION CONTEXT MENU ===== */
.saika-conv-context-menu {
    position: fixed;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.15s ease;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.saika-conv-context-menu.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.saika-conv-context-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #e5e5e5;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
}

.saika-conv-context-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.saika-conv-context-item svg {
    flex-shrink: 0;
}

.saika-conv-context-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.saika-conv-context-delete {
    color: #ef4444;
}

.saika-conv-context-delete:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Empty state */
.saika-conv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #6b7280;
    text-align: center;
}

.saika-conv-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.saika-conv-empty p {
    font-size: 14px;
}

/* Light theme overrides */
body.light-theme .saika-menu-dropdown,
body.light-theme .saika-conv-context-menu {
    background: #ffffff;
    border-color: #e5e7eb;
}

body.light-theme .saika-menu-item,
body.light-theme .saika-conv-context-item {
    color: #374151;
}

body.light-theme .saika-menu-item:hover,
body.light-theme .saika-conv-context-item:hover {
    background: rgba(147, 51, 234, 0.1);
}

body.light-theme .saika-conversations-panel {
    background: #ffffff;
}

body.light-theme .saika-conv-title {
    color: #111827;
}

body.light-theme .saika-conv-item {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .saika-conv-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .saika-conv-item-title {
    color: #111827;
}

/* ===== SAIKA DISCOVER PANEL - PREMIUM EXCLUSIVE DESIGN ===== */
.saika-discover-panel {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 50%, #0f0f1a 100%);
    z-index: 50;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Efeito de partículas de fundo */
.saika-discover-panel::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Header Premium - Glassmorphism */
.saika-discover-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
}

/* Linha brilhante decorativa no topo */
.saika-discover-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(59, 130, 246, 0.5), transparent);
}

.saika-discover-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Botão voltar premium */
.saika-discover-header .saika-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.saika-discover-header .saika-header-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.saika-discover-header-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.saika-discover-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Conteúdo com espaçamento refinado */
.saika-discover-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 24px 40px;
    z-index: 1;
}

.saika-discover-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Títulos das seções - Premium com gradiente */
.saika-discover-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(139, 92, 246, 0.8) 50%, rgba(59, 130, 246, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    margin: 0 0 4px 0;
    position: relative;
    padding-left: 16px;
}

/* Linha decorativa antes do título */
.saika-discover-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 2px;
}

/* Grid de exploração (2 cards) - Premium Glassmorphism */
.saika-discover-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.saika-discover-explore-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 130px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no hover */
.saika-discover-explore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.saika-discover-explore-card:hover::before {
    left: 100%;
}

.saika-discover-explore-card:hover {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.1) inset;
}

.saika-explore-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    margin-bottom: auto;
    color: #a78bfa;
    transition: all 0.3s ease;
}

.saika-discover-explore-card:hover .saika-explore-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.25));
    color: #c4b5fd;
    transform: scale(1.05);
}

.saika-explore-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    margin-top: 16px;
}

/* ===== CARDS PREMIUM - DESIGN EXCLUSIVO ===== */
.saika-discover-cards,
.saika-discover-ideas,
.saika-discover-topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.saika-discover-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(165deg, rgba(30, 30, 50, 0.9) 0%, rgba(20, 20, 35, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

/* Borda brilhante animada no hover */
.saika-discover-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2), rgba(236, 72, 153, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.saika-discover-card:hover::before {
    opacity: 1;
}

.saika-discover-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(139, 92, 246, 0.1);
}

.saika-discover-card-content {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.saika-discover-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.saika-discover-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.saika-discover-card:hover .saika-discover-card-image img {
    transform: scale(1.08);
}

/* Overlay removido para evitar bug visual */

/* Badge de duração premium */
.saika-discover-card-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.saika-discover-card-duration svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    fill: rgb(241, 245, 255);
}

/* Área de texto do card - Premium */
.saika-discover-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
    background: linear-gradient(165deg, rgba(30, 30, 50, 0.95) 0%, rgba(20, 20, 35, 1) 100%);
}

/* Linha de fonte/canal - Premium */
.saika-discover-card-source {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(139, 92, 246, 0.9);
}

.saika-discover-card-source img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

.saika-discover-card-source span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Título do card - Premium */
.saika-discover-card-title {
    font-family: 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Weather Widget - Premium */
.saika-weather-widget {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.saika-weather-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.saika-weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.saika-weather-city {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.saika-weather-icon {
    font-size: 36px;
}

.saika-weather-body {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.saika-weather-temp {
    font-size: 40px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
}

.saika-weather-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
}

.saika-weather-condition {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.saika-weather-range {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Ideas cards (horizontal) */
.saika-discover-ideas {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saika-discover-idea {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(30, 40, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.saika-discover-idea:hover {
    background: rgba(40, 50, 70, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.saika-discover-idea img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.saika-discover-idea span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* Stories cards (video) */
.saika-discover-stories {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.saika-discover-story {
    background: rgba(30, 40, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
}

.saika-discover-story:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.saika-story-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.saika-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-story-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.saika-story-duration svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.saika-story-info {
    padding: 12px;
}

.saika-story-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.saika-story-channel-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #fff;
}

.saika-story-channel-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.saika-story-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

/* Topics cards */
.saika-discover-topics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saika-discover-topic {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
    background: rgba(30, 40, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.saika-discover-topic:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.saika-discover-topic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-discover-topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.saika-discover-topic h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

/* Scrollbar personalizada */
.saika-discover-panel::-webkit-scrollbar {
    width: 5px;
}

.saika-discover-panel::-webkit-scrollbar-track {
    background: transparent;
}

.saika-discover-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.saika-discover-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== FEEDBACK MODAL ===== */
.saika-feedback-modal {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 200;
    padding: 20px;
}

.saika-feedback-modal.open {
    opacity: 1;
    visibility: visible;
}

.saika-feedback-modal-content {
    background: #212121;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 380px;
    max-height: 90%;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: all 0.25s ease;
}

.saika-feedback-modal.open .saika-feedback-modal-content {
    transform: scale(1) translateY(0);
}

.saika-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #2f2f2f;
}

.saika-feedback-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saika-feedback-header-left svg {
    color: #a855f7;
}

.saika-feedback-header-left h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.saika-feedback-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.saika-feedback-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.saika-feedback-body {
    padding: 20px;
}

.saika-feedback-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
}

.saika-feedback-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.saika-feedback-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
}

.saika-feedback-chip:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.saika-feedback-chip.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.saika-feedback-chip .chip-icon {
    font-size: 13px;
}

.saika-feedback-chip .chip-text {
    font-weight: 400;
}

.saika-feedback-textarea-wrapper {
    margin-bottom: 20px;
}

.saika-feedback-textarea-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    resize: none;
    transition: all 0.3s ease;
}

.saika-feedback-textarea-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.saika-feedback-textarea-wrapper textarea:focus {
    outline: none;
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.05);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

.saika-feedback-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.saika-feedback-notice {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.saika-feedback-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.saika-feedback-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.saika-feedback-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.saika-feedback-submit-btn:hover {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
}

.saika-feedback-submit-btn:active {
    transform: translateY(0);
}

.saika-feedback-submit-btn svg {
    width: 16px;
    height: 16px;
}

/* Success state */
.saika-feedback-modal.success .saika-feedback-modal-content {
    text-align: center;
    padding: 40px 30px;
}

.saika-feedback-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.saika-feedback-modal.success .saika-feedback-success {
    display: flex;
}

.saika-feedback-modal.success .saika-feedback-header,
.saika-feedback-modal.success .saika-feedback-body {
    display: none;
}

.saika-feedback-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

.saika-feedback-success-icon svg {
    width: 32px;
    height: 32px;
}

.saika-feedback-success h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.saika-feedback-success p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== PREMIUM SETTINGS MODAL ===== */
/* Design de empresa global - Luxuoso e Profissional */

/* Overlay com backdrop blur */
.settings-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.settings-overlay.open {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* Backdrop com blur e gradiente */
.settings-overlay-inner {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Container de scroll */
.settings-scroll-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
}

/* Modal Principal - Glassmorphism Premium */
.settings-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(138, 75, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll interno - scrollbar invisível */
.settings-modal-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-modal-scroll::-webkit-scrollbar {
    display: none;
}

/* Layout Principal */
.settings-layout {
    display: flex;
    min-height: 500px;
}

/* ===== SIDEBAR PREMIUM ===== */
.settings-sidebar {
    display: flex;
    flex-direction: column;
    width: 220px;
    min-width: 220px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px;
}

/* Header da sidebar */
.settings-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.settings-sidebar-header::before {
    content: 'Configurações';
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Botão fechar premium */
.settings-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
}

/* Navegação */
.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
}

/* Botão de navegação premium */
.settings-nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.settings-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 75, 255, 0.15) 0%, rgba(75, 138, 255, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 12px;
}

.settings-nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.settings-nav-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(138, 75, 255, 0.2) 0%, rgba(75, 138, 255, 0.2) 100%);
    box-shadow:
        0 0 0 1px rgba(138, 75, 255, 0.3),
        0 4px 12px rgba(138, 75, 255, 0.15);
}

.settings-nav-btn.active::before {
    opacity: 1;
}

/* Ícone na navegação */
.settings-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.settings-nav-btn:hover .settings-nav-icon,
.settings-nav-btn.active .settings-nav-icon {
    opacity: 1;
}

.settings-nav-icon svg {
    width: 20px;
    height: 20px;
}

.settings-nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== ÁREA DE CONTEÚDO ===== */
.settings-content {
    flex: 1;
    padding: 0 32px 32px;
    overflow-y: auto;
}

/* Seção */
.settings-section {
    display: none;
    animation: sectionFadeIn 0.3s ease;
}

.settings-section.active {
    display: block;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header da seção */
.settings-section-header {
    display: flex;
    align-items: center;
    padding: 24px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.settings-section-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

/* ===== ROW DE CONFIGURAÇÃO ===== */
.settings-row {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.settings-row:last-of-type {
    border-bottom: none;
}

.settings-row:hover {
    background: rgba(255, 255, 255, 0.02);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 12px;
}

.settings-row-inner {
    width: 100%;
}

.settings-row-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-row-label {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.settings-row-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    max-width: 85%;
}

.settings-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.settings-row-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SELECT BUTTON PREMIUM ===== */
.settings-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-select-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.settings-select-btn span {
    pointer-events: none;
}

.settings-select-btn svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* ===== PLAY BUTTON PREMIUM ===== */
.settings-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    background: linear-gradient(135deg, rgba(138, 75, 255, 0.2) 0%, rgba(75, 138, 255, 0.2) 100%);
    border: 1px solid rgba(138, 75, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-play-btn:hover {
    background: linear-gradient(135deg, rgba(138, 75, 255, 0.3) 0%, rgba(75, 138, 255, 0.3) 100%);
    border-color: rgba(138, 75, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(138, 75, 255, 0.2);
}

.settings-play-btn svg {
    width: 18px;
    height: 18px;
}

/* Divisor entre botões */
.settings-btn-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
}

/* ===== TOGGLE SWITCH PREMIUM ===== */
.settings-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-toggle[data-active="true"] {
    background: linear-gradient(135deg, #8a4bff 0%, #4b8aff 100%);
    box-shadow: 0 0 20px rgba(138, 75, 255, 0.4);
}

.settings-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-toggle[data-active="true"] .settings-toggle-knob {
    transform: translateX(22px);
    box-shadow: 0 2px 12px rgba(138, 75, 255, 0.5);
}

/* ===== DANGER BUTTON PREMIUM ===== */
.settings-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-danger-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

/* ===== DROPDOWN PREMIUM ===== */
.settings-dropdown-wrapper {
    position: relative;
}

.settings-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(40, 40, 50, 0.98) 0%, rgba(30, 30, 40, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 40px -12px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(138, 75, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.settings-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown com scroll - scrollbar invisível */
.settings-dropdown-scroll {
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.settings-dropdown-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Item do dropdown */
.settings-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.settings-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.settings-dropdown-item.active {
    background: linear-gradient(135deg, rgba(138, 75, 255, 0.15) 0%, rgba(75, 138, 255, 0.15) 100%);
    color: #fff;
}

.settings-dropdown-item .check-icon {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.settings-dropdown-item.active .check-icon {
    opacity: 1;
    color: #8a4bff;
}

/* Indicador de cor */
.color-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== SISTEMA DE TEMAS DO CHAT ===== */

/* Variável de cor de ênfase padrão */
:root {
    --accent-color: linear-gradient(135deg, #9333ea, #7c3aed);
    --accent-solid: #9333ea;
}

/* Cores de ênfase */
body[data-accent="padrao"] {
    --accent-color: linear-gradient(135deg, #9333ea, #7c3aed);
    --accent-solid: #9333ea;
}

body[data-accent="azul"] {
    --accent-color: linear-gradient(135deg, #3b82f6, #2563eb);
    --accent-solid: #3b82f6;
}

body[data-accent="verde"] {
    --accent-color: linear-gradient(135deg, #22c55e, #16a34a);
    --accent-solid: #22c55e;
}

body[data-accent="amarelo"] {
    --accent-color: linear-gradient(135deg, #eab308, #ca8a04);
    --accent-solid: #eab308;
}

body[data-accent="rosa"] {
    --accent-color: linear-gradient(135deg, #ec4899, #db2777);
    --accent-solid: #ec4899;
}

body[data-accent="laranja"] {
    --accent-color: linear-gradient(135deg, #f97316, #ea580c);
    --accent-solid: #f97316;
}

body[data-accent="roxo"] {
    --accent-color: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --accent-solid: #8b5cf6;
}

body[data-accent="vermelho"] {
    --accent-color: linear-gradient(135deg, #e60012, #ff4d5e);
    --accent-solid: #e60012;
}

/* Aplicar cor de ênfase nas mensagens do usuário */
.saika-message.user .message-content {
    background: var(--accent-color) !important;
}

/* ===== TEMA CLARO ===== */
body[data-theme="claro"] .saika-chat {
    background: #ffffff;
}

body[data-theme="claro"] .saika-messages {
    background: #ffffff;
}

body[data-theme="claro"] .saika-message.saika .message-content {
    background: #f3f4f6;
    color: #1f2937;
}

body[data-theme="claro"] .saika-header {
    background: #ffffff;
}

body[data-theme="claro"] .saika-header-name {
    color: #1f2937;
}

body[data-theme="claro"] .saika-header-subtitle {
    color: #6b7280;
}

body[data-theme="claro"] .saika-header-btn {
    color: #6b7280;
}

body[data-theme="claro"] .saika-input-area {
    background: #ffffff;
}

body[data-theme="claro"] .saika-input-container {
    background: #f3f4f6;
    border-color: #d1d5db;
}

body[data-theme="claro"] #saika-input {
    color: #1f2937;
}

body[data-theme="claro"] #saika-input::placeholder {
    color: #6b7280;
}

body[data-theme="claro"] .saika-toolbar-btn {
    color: #6b7280;
}

body[data-theme="claro"] .saika-disclaimer {
    color: #6b7280;
}

body[data-theme="claro"] .action-btn {
    color: #6b7280;
}

body[data-theme="claro"] .action-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

/* ===== TEMA MASCULINO - Azul Escuro Premium ===== */
body[data-theme="masculino"] .saika-chat {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="masculino"] .saika-messages {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="masculino"] .saika-message.saika .message-content {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2747 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #e2e8f0;
}

body[data-theme="masculino"] .saika-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="masculino"] .saika-input-area {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

body[data-theme="masculino"] .saika-input-container {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ===== TEMA FEMININO - Rosa Elegante ===== */
body[data-theme="feminino"] .saika-chat {
    background: linear-gradient(180deg, #1a1525 0%, #2d1f3d 100%);
}

body[data-theme="feminino"] .saika-messages {
    background: linear-gradient(180deg, #1a1525 0%, #2d1f3d 100%);
}

body[data-theme="feminino"] .saika-message.saika .message-content {
    background: linear-gradient(135deg, #3d2a5c 0%, #2d1f4a 100%);
    border: 1px solid rgba(219, 39, 119, 0.2);
    color: #fce7f3;
}

body[data-theme="feminino"] .saika-header {
    background: linear-gradient(135deg, #1a1525 0%, #2d1f3d 100%);
}

body[data-theme="feminino"] .saika-input-area {
    background: linear-gradient(180deg, #2d1f3d 0%, #1a1525 100%);
}

body[data-theme="feminino"] .saika-input-container {
    background: rgba(26, 21, 37, 0.8);
    border-color: rgba(219, 39, 119, 0.3);
}

/* ===== TEMA HELLO KITTY - Oficial ===== */
/* Cores oficiais: Vermelho #e60012, Branco, Preto */
body[data-theme="hello-kitty"] .saika-chat {
    background: #fce4ec url('https://i.imgur.com/V1vPQyh.jpeg') center bottom / cover no-repeat;
}

body[data-theme="hello-kitty"] .saika-messages {
    background: transparent;
}

/* Mensagem da Saika com fundo semi-transparente para legibilidade */
body[data-theme="hello-kitty"] .saika-message.saika .message-content {
    background: rgba(255, 255, 255, 0.85) !important;
    border: none !important;
    border-radius: 16px;
    color: #1a1a1a;
    box-shadow: none !important;
    padding: 12px;
}

/* Mensagem do usuário - vermelho Hello Kitty */
body[data-theme="hello-kitty"] .saika-message.user .message-content {
    background: linear-gradient(135deg, #e60012 0%, #ff4d5e 100%) !important;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
}

body[data-theme="hello-kitty"] .saika-header {
    background: rgba(255, 255, 255, 0.95);
}

body[data-theme="hello-kitty"] .saika-header-name {
    color: #e60012;
    font-weight: 600;
}

body[data-theme="hello-kitty"] .saika-header-subtitle {
    color: #666;
}

body[data-theme="hello-kitty"] .saika-header-btn {
    color: #e60012;
}

body[data-theme="hello-kitty"] .saika-input-area {
    background: transparent;
}

body[data-theme="hello-kitty"] .saika-input-container {
    background: #fff;
    border: 2px solid #e60012 !important;
}

body[data-theme="hello-kitty"] #saika-input {
    color: #1a1a1a;
}

body[data-theme="hello-kitty"] #saika-input::placeholder {
    color: #666;
}

body[data-theme="hello-kitty"] .saika-send-btn {
    background: linear-gradient(135deg, #e60012 0%, #ff4d5e 100%);
}

body[data-theme="hello-kitty"] .saika-toolbar-btn {
    color: #e60012;
}

body[data-theme="hello-kitty"] .action-btn {
    color: #e60012;
}

body[data-theme="hello-kitty"] .action-btn:hover {
    background: rgba(230, 0, 18, 0.1);
    color: #cc0010;
}

body[data-theme="hello-kitty"] .saika-disclaimer {
    color: #666;
}

/* Avatar Hello Kitty nas mensagens */
body[data-theme="hello-kitty"] .saika-message.saika .message-avatar img {
    content: url('https://i.imgur.com/VOUBM7K.png');
}

/* Variante 2: Azul Pastel */
body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-chat {
    background: #e0f2fe url('https://i.imgur.com/DvSAK2B.jpeg') center center / cover no-repeat;
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-messages {
    background: transparent;
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-header {
    background: rgba(224, 242, 254, 0.95);
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-input-area {
    background: transparent;
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-message.user .message-content {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-header-name {
    color: #0284c7;
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-input-container {
    border-color: #38bdf8 !important;
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-send-btn {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}

body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-header-btn,
body[data-theme="hello-kitty"][data-kitty-variant="2"] .saika-toolbar-btn,
body[data-theme="hello-kitty"][data-kitty-variant="2"] .action-btn {
    color: #0284c7;
}

/* Variante 3: Rosa/Roxo Pastel */
body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-chat {
    background: #fce7f3 url('https://i.imgur.com/d7h3zf7.jpeg') center center / cover no-repeat;
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-messages {
    background: transparent;
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-header {
    background: rgba(252, 231, 243, 0.95);
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-input-area {
    background: transparent;
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-message.user .message-content {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%) !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-header-name {
    color: #db2777;
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-input-container {
    border-color: #ec4899 !important;
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-send-btn {
    background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
}

body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-header-btn,
body[data-theme="hello-kitty"][data-kitty-variant="3"] .saika-toolbar-btn,
body[data-theme="hello-kitty"][data-kitty-variant="3"] .action-btn {
    color: #db2777;
}


/* Light theme para Discover */
body.light-theme .saika-discover-panel {
    background: #ffffff;
}

body.light-theme .saika-discover-header {
    background: #ffffff;
    border-bottom-color: #e5e7eb;
}

body.light-theme .saika-discover-header-title {
    color: #111827;
}

body.light-theme .saika-discover-header .saika-header-btn {
    color: #374151;
}

body.light-theme .saika-discover-header .saika-header-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

body.light-theme .saika-discover-title {
    color: #111827;
}

body.light-theme .saika-discover-explore-card {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

body.light-theme .saika-discover-explore-card:hover {
    background: #e5e7eb;
}

body.light-theme .saika-explore-text {
    color: #111827;
}

body.light-theme .saika-discover-idea,
body.light-theme .saika-discover-story,
body.light-theme .saika-discover-topic {
    background: #ffffff;
    border-color: #e5e7eb;
}

/* Cards com fundo claro no tema claro */
body.light-theme .saika-discover-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

body.light-theme .saika-discover-card-source {
    color: #6b7280;
}

body.light-theme .saika-discover-card-title {
    color: #111827;
}

body.light-theme .saika-discover-idea span,
body.light-theme .saika-story-title,
body.light-theme .saika-discover-topic h3 {
    color: #111827;
}

body.light-theme .saika-explore-icon {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

body.light-theme .saika-weather-widget {
    background: linear-gradient(145deg, #e0f2fe, #dbeafe);
}

body.light-theme .saika-weather-city,
body.light-theme .saika-weather-temp {
    color: #0369a1;
}

body.light-theme .saika-weather-condition {
    color: #0284c7;
}

body.light-theme .saika-weather-range {
    color: #0ea5e9;
}

/* ===== SAIKA PROFILE MODAL - PREMIUM ===== */
.saika-profile-modal {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 50%, #0f0f1a 100%);
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 24px;
    padding-top: 16px;
    overflow-y: auto;
}

.saika-profile-modal.active {
    display: flex;
}

.saika-profile-modal-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: profileModalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Back Header Bar */
.saika-profile-back-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.saika-profile-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saika-profile-back-btn:hover {
    background: rgba(139, 92, 246, 0.35);
    transform: translateX(-2px);
}

.saika-profile-back-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

@keyframes profileModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.saika-profile-header {
    text-align: center;
}

.saika-profile-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.saika-profile-header h2.clickable {
    cursor: pointer;
    transition: color 0.2s ease;
}

.saika-profile-header h2.clickable:hover {
    color: rgba(139, 92, 246, 0.9);
}

.saika-profile-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.saika-profile-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Avatar Upload */
.saika-profile-avatar-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.saika-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.15));
    border: 2px dashed rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(139, 92, 246, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
}

.saika-profile-avatar:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.2));
}

.saika-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saika-profile-avatar-btn {
    position: absolute;
    bottom: 0;
    right: calc(50% - 50px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border: 3px solid #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saika-profile-avatar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Form Fields */
.saika-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.saika-profile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.saika-profile-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saika-profile-field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.saika-profile-field label .optional {
    font-weight: 400;
    text-transform: none;
    color: rgba(255, 255, 255, 0.4);
}

.saika-profile-field input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.saika-profile-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.saika-profile-field input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Actions */
.saika-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.saika-profile-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saika-profile-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.saika-profile-divider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.saika-profile-divider::before,
.saika-profile-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.saika-profile-divider span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.saika-profile-guest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saika-profile-guest-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.saika-profile-guest-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 200, 100, 0.8);
    text-align: center;
    margin: 0;
}

.saika-profile-guest-notice svg {
    flex-shrink: 0;
    fill: rgba(255, 200, 100, 0.8);
}

/* Light Theme */
body.light-theme .saika-profile-modal {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.light-theme .saika-profile-header h2 {
    color: #1e293b;
}

body.light-theme .saika-profile-header p {
    color: #64748b;
}

body.light-theme .saika-profile-avatar {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.08));
    border-color: rgba(139, 92, 246, 0.3);
}

body.light-theme .saika-profile-avatar-btn {
    border-color: #f8fafc;
}

body.light-theme .saika-profile-field label {
    color: #475569;
}

body.light-theme .saika-profile-field label .optional {
    color: #94a3b8;
}

body.light-theme .saika-profile-field input {
    background: #fff;
    border-color: #e2e8f0;
    color: #1e293b;
}

body.light-theme .saika-profile-field input::placeholder {
    color: #94a3b8;
}

body.light-theme .saika-profile-field input:focus {
    border-color: #8b5cf6;
    background: #fff;
}

body.light-theme .saika-profile-divider span {
    color: #94a3b8;
}

body.light-theme .saika-profile-divider::before,
body.light-theme .saika-profile-divider::after {
    background: #e2e8f0;
}

body.light-theme .saika-profile-guest-btn {
    border-color: #e2e8f0;
    color: #475569;
}

body.light-theme .saika-profile-guest-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

body.light-theme .saika-profile-guest-notice {
    color: #d97706;
}

body.light-theme .saika-profile-guest-notice svg {
    fill: #d97706;
}

/* ========================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ======================================== */

/* Settings Modal Mobile */
@media (max-width: 600px) {
    .settings-overlay {
        padding: 0 !important;
        margin: 0 !important;
    }

    .settings-overlay-inner {
        height: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .settings-scroll-container {
        align-items: flex-end !important;
        justify-content: flex-end !important;
        height: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .settings-modal {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .settings-modal-scroll {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .settings-layout {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
    }

    /* Sidebar vira header com título + tabs */
    .settings-sidebar {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 100% !important;
        flex-shrink: 0 !important;
        background: rgba(20, 20, 30, 1) !important;
        border-radius: 0 !important;
        padding-top: env(safe-area-inset-top, 20px) !important;
    }

    .settings-sidebar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px 12px 20px !important;
        border-bottom: none !important;
        width: 100% !important;
    }

    .settings-sidebar-header::before {
        content: 'Configurações' !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #fff !important;
    }

    .settings-close-btn {
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
    }

    /* Nav como tabs horizontais */
    .settings-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 16px 16px 16px !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        scrollbar-width: none !important;
    }

    .settings-nav::-webkit-scrollbar {
        display: none !important;
    }

    .settings-nav-btn {
        flex-shrink: 0 !important;
        padding: 10px 16px !important;
        min-height: 40px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        gap: 8px !important;
    }

    .settings-nav-btn.active {
        background: linear-gradient(135deg, rgba(138, 75, 255, 0.3) 0%, rgba(75, 138, 255, 0.3) 100%) !important;
    }

    .settings-nav-label {
        display: block !important;
        font-size: 12px !important;
    }

    .settings-nav-icon {
        width: 18px !important;
        height: 18px !important;
    }

    .settings-nav-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Content area */
    .settings-content {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 0 !important;
        background: rgba(20, 20, 30, 1) !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .settings-section {
        padding: 20px !important;
    }

    .settings-section-header h3 {
        font-size: 16px !important;
        margin-bottom: 16px !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .settings-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px 0 !important;
    }

    .settings-row-inner {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .settings-row-main {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .settings-row-label {
        font-size: 15px !important;
        color: #fff !important;
    }

    .settings-dropdown-wrapper {
        width: 100% !important;
    }

    .settings-select-btn {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: space-between !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .settings-dropdown {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-height: 60vh !important;
        border-radius: 24px 24px 0 0 !important;
        z-index: 10001 !important;
        background: rgba(30, 30, 40, 0.98) !important;
        padding: 12px 0 !important;
    }

    .settings-dropdown-item {
        min-height: 52px !important;
        padding: 16px 20px !important;
        font-size: 15px !important;
    }

    /* Toggle buttons */
    .settings-toggle {
        min-width: 52px !important;
        height: 28px !important;
    }

    /* Danger zone */
    .settings-danger-btn {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: center !important;
    }
}

/* Touch-friendly adjustments for all mobile */
@media (max-width: 768px) {

    /* Mínimo 44px para áreas de toque (Apple guidelines) */
    .saika-header-btn,
    .saika-toolbar-btn,
    .action-btn,
    .saika-send-btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove hover effects em touch devices */
    @media (hover: none) {

        .saika-header-btn:hover,
        .saika-toolbar-btn:hover,
        .action-btn:hover {
            background: transparent;
        }

        .settings-nav-btn:hover {
            background: transparent;
        }
    }

    /* Hello Kitty theme mobile adjustments */
    body[data-theme="hello-kitty"] .saika-chat {
        background-size: cover;
        background-position: center center;
    }

    body[data-theme="hello-kitty"] .saika-message.saika .message-content {
        font-size: 14px;
    }

    /* Ensure input doesn't zoom on iOS */
    #saika-input {
        font-size: 16px;
    }
}

/* iPhone notch support */
@supports (padding-top: env(safe-area-inset-top)) {
    .saika-chat {
        padding-top: env(safe-area-inset-top);
    }

    .saika-header {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .saika-input-area {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* Tablet improvements */
@media (min-width: 481px) and (max-width: 1024px) {
    .settings-modal {
        width: 90vw;
        max-width: 600px;
    }
}

/* Landscape mode for phones */
@media (max-height: 500px) and (orientation: landscape) {
    .saika-chat {
        height: 100vh;
        height: 100dvh;
    }

    .saika-header {
        padding: 8px 16px;
    }

    .saika-messages {
        max-height: calc(100vh - 120px);
    }

    .saika-input-area {
        padding: 8px 12px;
    }
}

/* ===== SAIKA IMAGE GENERATION UI ===== */

/* Placeholder de geração de imagem */
.image-gen-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.image-gen-text {
    color: rgba(255, 255, 255, 0.9);
}

.image-gen-dots span {
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.image-gen-dots span:nth-child(1) {
    animation-delay: 0s;
}

.image-gen-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.image-gen-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }
}

.image-gen-placeholder {
    width: 300px;
    /* Mais estreito para 9:16 */
    max-width: 100%;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a1a2e 50%, #2d1b4e 100%);
}

.image-gen-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Header de imagem criada */
.image-created-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

.image-created-label {
    color: #ffffff;
    font-weight: 700;
}

.image-created-dot {
    color: #6b7280;
}

.image-created-desc {
    color: #9ca3af;
    font-weight: 400;
}

/* Container da imagem gerada */
.generated-image-container {
    position: relative;
    width: 300px;
    /* Mais estreito para 9:16 */
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.generated-image {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.generated-image:hover {
    transform: scale(1.02);
}

/* Overlay de ações na imagem */
.image-overlay-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.generated-image-container:hover .image-overlay-actions {
    opacity: 1;
}

.img-action-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.img-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.img-action-btn.active {
    background: rgba(255, 255, 255, 0.3);
}

.img-action-btn.share-btn {
    margin-left: auto;
    padding: 8px 12px;
    gap: 6px;
    font-size: 12px;
}

.img-action-btn.share-btn span {
    display: inline;
}

/* Ações de baixo da mensagem de imagem */
.image-bottom-actions {
    margin-top: 8px;
}

/* Novo Modo Visual - Botão Ferramentas Minimalista */
.saika-tools-btn.visual-mode-active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 4px !important;
    min-width: 0 !important;
    width: auto !important;
    color: inherit !important;
    animation: none !important;
    cursor: default !important;
    display: flex !important;
    align-items: center !important;
}

.visual-mode-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visual-mode-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.visual-icon-wrapper svg {
    width: 18px;
    height: 18px;
    color: #8b5cf6;
    display: block;
}

.visual-text-gradient {
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.95rem;
}

.tools-separator {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    font-size: 1.2rem;
    margin-top: -2px;
    /* Ajuste fino vertical */
    margin-left: -6px;
    /* Mover para a esquerda */
    margin-right: 4px;
    /* Compensar espaço para o ícone */
}

.visual-close {
    margin-left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.visual-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Ajuste para o container do input acomodar o badge */
.saika-input-container {
    transition: padding 0.3s ease;
}

/* Quando o modo visual está ativo, o input pode precisar de ajuste */
.saika-input-container.visual-mode {
    flex-wrap: wrap;
    /* Permitir quebra de linha se o badge for inserido */
    padding-top: 10px;
}

/* Ajuste Input quando modo visual ativo */
.saika-input-container.visual-mode #saika-input {
    color: #a78bfa;
    /* Texto roxo claro ao digitar */
}

.saika-input-container.visual-mode #saika-input::placeholder {
    color: rgba(167, 139, 250, 0.7);
}

/* ===== MENU DE FERRAMENTAS MINIMALISTA (GPT Style) ===== */
.saika-tools-menu {
    background: #202123 !important;
    /* Cinza escuro sóbrio */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    padding: 6px !important;
    min-width: 240px !important;
    backdrop-filter: blur(10px);
}

.saika-tool-item {
    background: transparent !important;
    color: #ececf1 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: left !important;
    transition: background 0.2s ease !important;
    cursor: pointer !important;
    margin-bottom: 2px !important;
}

.saika-tool-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.saika-tool-item .tool-icon {
    background: transparent !important;
    color: #acacbe !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
}

.saika-tool-item .tool-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 1.5 !important;
}

.saika-tool-item:hover .tool-icon {
    color: white !important;
}

.saika-tool-item .tool-text {
    font-weight: 400 !important;
    font-size: 14px !important;
}

.saika-menu-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    margin: 6px 0 !important;
    width: 100% !important;
}

/* Remover padding das seções para ficar compacto */
.saika-menu-section {
    padding: 0 !important;
    background: transparent !important;
}

/* Model Selector Styles */
.saika-model-selector-wrapper {
    position: relative;
    margin-right: 4px;
    z-index: 1001;
}

.saika-model-toggle {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-right: -7px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    height: 36px;
    white-space: nowrap;
}

.saika-model-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.saika-model-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    /* Alinhado à direita para não cortar */
    margin-bottom: 8px;
    width: 220px;
    background: #202123;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    backdrop-filter: blur(10px);
    min-width: 240px;
}

.saika-model-menu.show {
    display: block;
    animation: fadeIn 0.1s ease;
}

.model-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0;
    white-space: normal;
}

.model-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.model-option.active {
    background: rgba(255, 255, 255, 0.05);
}

.model-menu-header {
    color: #ececf1;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px 8px 16px;
    margin-bottom: 0;
}

.model-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.model-title {
    color: #ececf1;
    font-size: 14px;
    font-weight: 500;
}

.model-desc {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.3;
}

.pro-badge {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 14px;
    margin-left: 12px;
}

.check-icon {
    color: #60a5fa;
    opacity: 0;
    margin-left: 12px;
}

.model-option.active .check-icon {
    opacity: 1;
}

/* Thinking Indicator (Saika Pro) */
.thinking-container {
    display: flex;
    align-items: center;
    padding: 2px 0;
}

.thinking-text {
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(90deg, #666 0%, #fff 50%, #666 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 1.5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Regenerate Menu Styles */
.regen-menu-wrapper {
    position: relative;
    display: inline-block;
}

.regen-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #1a1a1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 8px;
    min-width: 180px;
    z-index: 99999;
}

.regen-menu.show {
    display: block;
    animation: fadeIn 0.15s ease;
}

.regen-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #ececf1;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.regen-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.regen-menu-item svg {
    width: 16px;
    height: 16px;
    color: #acacbe;
    flex-shrink: 0;
}

.regen-menu-item:hover svg {
    color: white;
}

/* Complete Regen Menu Styles */
.regen-menu-input {
    width: 100%;
    background: #2a2a2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    color: #ececf1;
    font-size: 14px;
    margin-bottom: 8px;
    outline: none;
}

.regen-menu-input::placeholder {
    color: #8e8ea0;
}

.regen-menu-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
}

.regen-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

.regen-menu-item.has-submenu {
    justify-content: space-between;
}

.regen-menu-item .submenu-arrow {
    font-size: 10px;
    opacity: 0.6;
}

/* Submenu */
.regen-submenu-wrapper {
    position: relative;
}

.regen-submenu {
    display: none;
    position: absolute;
    top: 0;
    right: calc(100% + 4px);
    background: #1a1a1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 8px;
    min-width: 200px;
    z-index: 999999;
}

.regen-submenu-wrapper:hover .regen-submenu {
    display: block;
}

.regen-submenu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    color: #ececf1;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.regen-submenu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.regen-submenu-item .model-name {
    font-size: 14px;
    font-weight: 500;
}

.regen-submenu-item .model-desc {
    font-size: 12px;
    color: #8e8ea0;
}

.regen-submenu-item.deprecated .model-name {
    color: #f59e0b;
}

/* Toast notification */
.saika-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 20px;
    color: #f59e0b;
    font-size: 14px;
    z-index: 9999999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

/* Floating Model Submenu (appended to body) */
.floating-model-submenu {
    background: #1a1a1b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 8px;
    min-width: 200px;
    z-index: 9999999;
    animation: fadeIn 0.15s ease;
}