/* ===== CSS Variables - PlanDo Premium Theme ===== */
:root {
    /* Primary Colors - Modern Indigo/Purple */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-darker: #3730A3;
    --primary-light: #6366F1;
    --primary-lighter: #818CF8;
    --primary-soft: #EEF2FF;
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4338CA 0%, #6D28D9 50%, #7E22CE 100%);
    
    /* Accent Colors */
    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --secondary: #10B981;
    --secondary-light: #34D399;
    --warning: #F59E0B;
    --warning-light: #FBBF24;
    --danger: #EF4444;
    --danger-light: #F87171;
    --success: #10B981;
    --info: #0EA5E9;
    --purple: #8B5CF6;
    --pink: #EC4899;
    --orange: #F97316;
    
    /* Background Colors - Clean & Modern */
    --bg-primary: #FAFBFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3F4F6;
    --bg-accent: #EEF2FF;
    --bg-elevated: #FFFFFF;
    --bg-dark: #111827;
    
    /* Text Colors - High Contrast */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-light: #D1D5DB;
    --text-inverse: #FFFFFF;
    
    /* Border & Dividers */
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --border-focus: #4F46E5;
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.25);
    --shadow-glow-lg: 0 0 60px rgba(79, 70, 229, 0.35);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.12);
    
    /* Layout */
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --header-height: 70px;
    --content-max-width: 1400px;
    
    /* Border Radius - Rounded Modern */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions - Smooth */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== Sidebar ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar-header {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
}

.sidebar-toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

/* Hide sidebar scrollbar (keep scroll) */
.sidebar-nav {
    -ms-overflow-style: none; /* IE/Edge legacy */
    scrollbar-width: none; /* Firefox */
}

.sidebar-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    margin: 4px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-item i {
    width: 24px;
    font-size: 18px;
    text-align: center;
}

.sidebar.collapsed .nav-item span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 14px;
    margin: 4px 8px;
}

/* Sidebar Bottom (Upgrade + Account) */
.sidebar-bottom {
    margin-top: auto;
    flex-shrink: 0;
}

/* Sidebar Upgrade Section */
.sidebar-upgrade {
    padding: 12px;
    flex-shrink: 0;
}

.upgrade-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 191, 36, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upgrade-card:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(251, 191, 36, 0.25));
    transform: translateY(-2px);
}

.upgrade-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upgrade-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.upgrade-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    min-width: 0;
}

.sidebar.collapsed .upgrade-text {
    display: none;
}

.upgrade-text strong {
    font-size: 13px;
    color: #fbbf24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upgrade-text span {
    font-size: 11px;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.upgrade-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sidebar.collapsed .upgrade-btn {
    padding: 8px;
}

.sidebar.collapsed .upgrade-btn span {
    display: none;
}

.donate-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #f87171;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-link:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.donate-link i {
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.sidebar-upgrade.hidden {
    display: none;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sidebar.collapsed .user-info {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-status {
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

/* User Avatar Clickable */
.user-avatar {
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Profile Dropdown Menu */
.user-profile {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 10px;
    overflow: hidden;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.profile-dropdown-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-dropdown-name {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-email {
    font-size: 11px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-divider {
    height: 1px;
    background: #eee;
}

.profile-dropdown-menu {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.profile-dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    color: #1f2937 !important;
    font-size: 13px;
}

.profile-dropdown-menu li span {
    color: #1f2937;
    white-space: nowrap;
}

.profile-dropdown-menu li:hover {
    background: #f5f5f5;
}

.profile-dropdown-menu li i {
    width: 18px;
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.profile-dropdown-menu li.logout-item {
    color: #ef4444 !important;
}

.profile-dropdown-menu li.logout-item span {
    color: #ef4444;
}

.profile-dropdown-menu li.logout-item i {
    color: #ef4444;
}

.profile-badge {
    margin-left: auto;
    padding: 2px 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    flex-shrink: 0;
}

.profile-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ===== Profile Modal Styles ===== */
.profile-modal-content {
    max-width: 900px;
    width: 95%;
}

.profile-modal-body {
    display: flex;
}

.profile-tabs {
    width: 180px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 16px 0;
    flex-shrink: 0;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
    text-align: left;
    transition: all 0.2s;
}

.profile-tab:hover {
    background: #eee;
    color: var(--text);
}

.profile-tab.active {
    background: white;
    color: var(--primary);
    border-right: 3px solid var(--primary);
    font-weight: 600;
}

.profile-tab i {
    width: 20px;
}

.profile-tab-content {
    display: none;
    flex: 1;
    padding: 24px;
}

.profile-tab-content.active {
    display: block;
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 32px;
}

/* Invite form */
.invite-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.invite-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-change-avatar {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: background 0.2s;
}

.btn-change-avatar:hover {
    background: #e0e0e0;
}

.profile-form {
    flex: 1;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
}

.profile-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.profile-form input:disabled {
    background: #f5f5f5;
    color: var(--text-light);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-light);
}

.btn-save-profile,
.btn-save-settings {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-save-profile:hover,
.btn-save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Subscription Section */
.subscription-section {
    max-width: 600px;
}

.current-plan {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.plan-header h3 {
    margin: 0;
    font-size: 16px;
}

.plan-badge {
    padding: 4px 12px;
    background: #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.plan-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.plan-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: border-color 0.2s;
}

.plan-card:hover {
    border-color: var(--primary);
}

.plan-card.premium {
    border-color: var(--primary);
}

.plan-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.plan-card-header {
    text-align: center;
    margin-bottom: 16px;
}

.plan-card-header h4 {
    margin: 0 0 8px;
}

.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.plan-price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
}

.plan-features li i.fa-check {
    color: var(--secondary);
}

.plan-features li i.fa-times {
    color: #ccc;
}

.btn-upgrade {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
}

.cancel-subscription {
    background: #fff5f5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}

.cancel-subscription h4 {
    margin: 0 0 8px;
    color: #ef4444;
}

.cancel-subscription p {
    margin: 0 0 16px;
    color: var(--text-light);
    font-size: 14px;
}

.btn-cancel-subscription {
    padding: 10px 20px;
    background: white;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-cancel-subscription:hover {
    background: #ef4444;
    color: white;
}

/* Settings Section */
.settings-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setting-title {
    font-weight: 500;
}

.setting-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Danger Zone */
.danger-zone {
    margin-top: 32px;
    padding: 20px;
    background: #fff5f5;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}

.danger-zone h4 {
    margin: 0 0 16px;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.danger-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #fee2e2;
}

.danger-item:last-child {
    border-bottom: none;
}

.danger-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.danger-title {
    font-weight: 500;
}

.danger-desc {
    font-size: 13px;
    color: var(--text-light);
}

.btn-danger {
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-danger-secondary {
    padding: 8px 16px;
    background: white;
    color: var(--text);
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-danger-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Appearance Options */
.appearance-option {
    margin-bottom: 24px;
}

.appearance-option h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text-light);
}

.theme-options {
    display: flex;
    gap: 12px;
}

.theme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-btn:hover {
    border-color: var(--primary);
}

.theme-btn.active {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}

.theme-btn i {
    font-size: 24px;
    color: var(--text-light);
}

.theme-btn.active i {
    color: var(--primary);
}

.theme-btn span {
    font-size: 13px;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--text);
}

/* Responsive Profile Modal */
@media (max-width: 768px) {
    .profile-modal-body {
        flex-direction: column;
    }
    
    .profile-tabs {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        display: flex;
        overflow-x: auto;
        padding: 8px;
    }
    
    .profile-tab {
        flex-shrink: 0;
        padding: 10px 16px;
        border-right: none;
    }
    
    .profile-tab.active {
        border-right: none;
        border-bottom: 3px solid var(--primary);
    }
    
    .profile-section {
        flex-direction: column;
    }
    
    .plan-options {
        grid-template-columns: 1fr;
    }
    
    .profile-dropdown {
        width: 260px;
    }
}

/* ===== Main Content ===== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
    overflow-x: hidden;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
    max-width: calc(100vw - var(--sidebar-collapsed));
}

/* ===== Header ===== */
.main-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-primary);
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.page-title p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
}

.search-box input {
    width: 250px;
    padding: 10px 14px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-section:last-child {
    border-bottom: none;
}

.search-section-title {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-section-title i {
    font-size: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title mark {
    background: rgba(99, 102, 241, 0.3);
    color: var(--primary);
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-meta {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-no-results {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-muted);
}

.search-no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-no-results p {
    font-size: 14px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.header-date i {
    color: var(--primary);
}

.notification-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.notification-btn:hover {
    background: var(--primary);
    color: white;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ===== Views ===== */
.view {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Dashboard ===== */
.dashboard-grid {
    display: grid;
    gap: 24px;
}

/* Stats Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.tasks {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.stat-icon.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-icon.events {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.stat-icon.lists {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h2 i {
    color: var(--primary);
}

.card-content {
    padding: 20px 24px;
    max-height: 400px;
    overflow-y: auto;
}

.btn-add {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn-add:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.view-all {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Schedule List */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.schedule-item:hover {
    transform: translateX(4px);
}

.schedule-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 60px;
}

.schedule-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.schedule-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Quick Tasks */
.quick-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.quick-task-item:hover {
    background: var(--bg-primary);
}

.quick-task-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.quick-task-item.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
}

.quick-task-item span {
    flex: 1;
    font-size: 14px;
}

.task-priority {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.task-priority.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.task-priority.medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.task-priority.low {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.task-delete {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.task-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Recent Lists */
.recent-lists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.recent-list-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.recent-list-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.recent-list-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-list-card h4 i {
    font-size: 14px;
}

.recent-list-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== Calendar ===== */
.calendar-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-header h2 {
    font-size: 20px;
    font-weight: 600;
    min-width: 180px;
}

.calendar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-view-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.view-toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.view-toggle-btn.active {
    background: var(--primary);
    color: white;
}

.view-toggle-btn i {
    font-size: 12px;
}

.btn-today {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-today:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.calendar-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Month View */
.calendar-month-view {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays {
    display: contents;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
}

.calendar-days {
    display: contents;
}

.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-tertiary);
    min-height: 100px;
}

.calendar-day:hover {
    background: rgba(99, 102, 241, 0.1);
}

.calendar-day.other-month {
    opacity: 0.4;
}

.calendar-day.today {
    background: var(--primary);
    color: white;
}

.calendar-day.today .day-number {
    color: white;
}

.calendar-day.selected {
    border: 2px solid var(--primary);
}

.day-number {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Member badges shown under day number */
.day-member-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
    max-width: 100%;
}

.day-member-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    overflow: hidden;
    max-height: 60px;
}

.day-event {
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    max-width: 100%;
}

/* =====================================================
   WEEK VIEW - Complete Redesign
   ===================================================== */
.calendar-week-view {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    overflow: hidden;
}

.week-scroll-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Week Header - Fixed at top */
.week-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.week-header .week-time-col {
    width: 70px;
    min-width: 70px;
    padding: 16px 8px;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-color);
}

.week-header .week-day-col {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-right: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.week-header .week-day-col:last-child {
    border-right: none;
}

.week-header .week-day-col.today {
    background: rgba(99, 102, 241, 0.08);
}

.week-day-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.week-day-date {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.week-day-col.today .week-day-date {
    background: var(--primary);
    color: white;
}

/* Week Body - Scrollable */
.week-body {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.week-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.week-row:last-child {
    border-bottom: none;
}

.week-time-slot {
    width: 70px;
    min-width: 70px;
    padding: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: right;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-color);
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.week-cell {
    flex: 1;
    min-height: 60px;
    padding: 4px;
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
    border-right: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.week-cell:last-child {
    border-right: none;
}

.week-cell:hover {
    background: rgba(99, 102, 241, 0.05);
}

.week-cell.today {
    background: rgba(99, 102, 241, 0.03);
}

.week-event {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.week-event:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Day View */
.calendar-day-view {
    width: 100%;
}

.day-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.day-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.day-body {
    max-height: 600px;
    overflow-y: auto;
}

.day-time-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    min-height: 60px;
    border-bottom: 1px solid var(--border-color);
}

.day-time-label {
    padding: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
    padding-right: 16px;
}

.day-time-content {
    padding: 4px 8px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.day-time-content:hover {
    background: rgba(99, 102, 241, 0.05);
}

.day-event {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.day-event:hover {
    transform: translateX(4px);
}

.day-event-time {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.day-event-title {
    font-weight: 600;
    font-size: 14px;
}

.day-event-location {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

.day-event-location i {
    margin-right: 4px;
}

/* Current time indicator */
.current-time-indicator {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #ef4444;
    z-index: 10;
}

.current-time-indicator::before {
    content: '';
    position: absolute;
    left: -5px;
    top: -4px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
}

/* Responsive Calendar Views */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .calendar-nav {
        justify-content: center;
    }
    
    .calendar-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .calendar-view-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .view-toggle-btn span {
        display: none;
    }
    
    .view-toggle-btn i {
        margin: 0;
    }
    
    .week-header .week-time-col,
    .week-time-slot {
        width: 50px;
        min-width: 50px;
    }
    
    .week-scroll-wrapper {
        overflow-x: auto;
    }
    
    .week-header,
    .week-row {
        min-width: 610px;
    }
    
    .week-day-name {
        font-size: 10px;
    }
    
    .week-day-date {
        font-size: 16px;
        width: 30px;
        height: 30px;
    }
}

.day-event {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

/* Events Sidebar */
#calendarView {
    display: none;
}

#calendarView.active {
    display: block;
}

.events-sidebar {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.events-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-sidebar h3 i {
    color: var(--primary);
}

.events-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.event-item {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.event-item:hover {
    transform: translateX(4px);
}

/* Event collapse/expand header row */
.event-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.event-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
}

.event-toggle-btn:hover {
    color: var(--primary);
}

/* Event summary (shown when collapsed) */
.event-summary {
    display: none;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.event-summary i {
    margin-right: 4px;
}

/* Event details (hidden when collapsed) */
.event-details {
    margin-top: 12px;
}

/* Collapsed state */
.event-item.collapsed .event-details {
    display: none;
}

.event-item.collapsed .event-summary {
    display: block;
}

.event-item.collapsed:hover {
    transform: none;
}

.event-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.event-item p {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-item p i {
    font-size: 12px;
}

/* =====================================================
   EVENT ACTIONS - Simple Button Row
   ===================================================== */
.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.event-actions button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.event-actions button i {
    font-size: 14px;
}

.event-actions .edit-btn {
    background: #6366f1;
    color: white;
}

.event-actions .edit-btn:hover {
    background: #4f46e5;
}

.event-actions .whatsapp-btn {
    background: #22c55e;
    color: white;
}

.event-actions .whatsapp-btn:hover {
    background: #16a34a;
}

.event-actions .delete-btn {
    background: #ef4444;
    color: white;
}

.event-actions .delete-btn:hover {
    background: #dc2626;
}

.event-actions .hide-btn {
    background: #6b7280;
    color: white;
}

.event-actions .hide-btn:hover {
    background: #4b5563;
}

/* Hidden events toggle */
.hidden-events-toggle {
    margin-bottom: 12px;
}

.toggle-hidden-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.toggle-hidden-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hidden event styling (when shown) */
.event-item.is-hidden {
    opacity: 0.6;
    border-left-style: dashed !important;
}

.event-item.is-hidden .event-header h4::after {
    content: ' (verborgen)';
    font-size: 11px;
    color: var(--text-muted);
    font-weight: normal;
}

.event-actions button:hover {
    opacity: 0.8;
}

/* ===== To-Do Lists ===== */
.todos-header {
    margin-bottom: 24px;
}

.todos-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.todos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.todos-grid.list-view {
    grid-template-columns: 1fr;
}

.todo-list-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.todo-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.todo-list-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.todo-list-content {
    padding: 20px;
}

.todo-list-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.todo-list-content h3 i {
    font-size: 16px;
}

.todo-list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.todo-list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== Notes ===== */
.notes-header {
    margin-bottom: 24px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.note-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.note-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.note-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.note-card-content {
    padding: 20px;
}

.note-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.note-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.note-date {
    font-size: 12px;
    color: var(--text-muted);
}

.note-actions {
    display: flex;
    gap: 8px;
}

.note-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.note-actions button:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.note-actions button.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ===== Modals ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-content.modal-large {
    max-width: 700px;
}

.modal-content.modal-medium {
    max-width: 520px;
}

.modal-content.modal-small {
    max-width: 400px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h2 i {
    color: var(--primary);
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}

/* ===== Start View Picker ===== */
.start-view-modal-body {
    padding: 24px;
}

.start-view-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.start-view-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.start-view-option i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.start-view-option:hover {
    background: var(--bg-secondary);
}

.btn-icon.danger:hover {
    background: var(--danger);
}

/* Form Styles */
form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 10px;
}

.color-picker input[type="radio"] {
    display: none;
}

.color-picker label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.color-picker input[type="radio"]:checked + label {
    transform: scale(1.15);
    border-color: var(--text-primary);
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.image-upload-area:hover {
    border-color: var(--primary);
}

.upload-placeholder {
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

.upload-placeholder i {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.upload-placeholder p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.upload-placeholder span {
    font-size: 12px;
    color: var(--text-muted);
}

.image-preview {
    position: relative;
}

.image-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.remove-image:hover {
    transform: scale(1.1);
}

/* List Items Editor */
.list-items-editor {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
}

.list-item-input {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.list-item-input input {
    flex: 1;
}

.btn-add-item {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.btn-add-item:hover {
    background: var(--primary-dark);
}

.list-items-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.list-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.list-item-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.list-item-row span {
    flex: 1;
    font-size: 14px;
}

.list-item-row button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.list-item-row button:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 24px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* View List Modal */
.view-list-content {
    padding: 24px;
}

.view-list-image {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.view-list-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.view-list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.view-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.view-list-item.dragging {
    opacity: 0.6;
}

.view-list-item.drag-over {
    outline: 2px dashed var(--primary-light);
}

.view-list-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.view-list-item.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
}

.view-list-item span {
    flex: 1;
    font-size: 14px;
}

.view-list-item button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.view-list-item .drag-handle {
    margin-left: auto;
    color: var(--text-muted);
    cursor: grab;
}

.view-list-item .drag-handle:active {
    cursor: grabbing;
}

.view-list-item button:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.view-list-add {
    display: flex;
    gap: 10px;
}

.view-list-add input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--bg-tertiary);
}

.view-list-add input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.toast.success {
    border-left: 4px solid var(--secondary);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast i {
    font-size: 20px;
}

.toast.success i { color: var(--secondary); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }

.toast span {
    flex: 1;
    font-size: 14px;
}

.toast button {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

/* ===== Inline Login Message ===== */
.login-inline-message-new,
.login-inline-message {
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border-left: 4px solid var(--danger);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.35;
}

/* ===== Empty States ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #calendarView.active {
        grid-template-columns: 1fr;
    }
    
    .events-sidebar {
        margin-top: 0;
    }
}

@media (max-width: 992px) {
    .sidebar {
        height: 100dvh;
        max-height: 100dvh;
        transform: translateX(-100%);
        z-index: 10000;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar.collapsed {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    
    .sidebar.collapsed.mobile-open {
        transform: translateX(0);
    }
    
    /* Ensure footer stays visible on mobile */
    .sidebar-footer {
        padding: 15px;
        flex-shrink: 0;
    }
    
    .sidebar-upgrade {
        flex-shrink: 0;
        padding: 10px;
    }
    
    .sidebar-nav {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100vw;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }
    
    .search-box {
        display: none;
    }
    
    .header-date {
        display: none;
    }
}

/* Fix for small screen heights - ensure sidebar footer is always visible */
@media (max-height: 700px) {
    .sidebar-header {
        padding: 15px;
    }
    
    .sidebar-nav {
        padding: 10px 0;
    }
    
    .nav-item {
        padding: 10px 20px;
        margin: 2px 10px;
    }
    
    .sidebar-upgrade {
        padding: 8px;
    }
    
    .upgrade-card {
        padding: 10px;
    }
    
    .sidebar-footer {
        padding: 12px;
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0 16px;
        justify-content: center;
    }
    
    .header-left {
        flex: 1;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        position: absolute;
        left: 16px;
    }
    
    .page-title {
        text-align: center;
    }
    
    .page-title h1 {
        font-size: 20px;
    }
    
    .page-title p {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .view {
        padding: 12px;
    }
    
    .todos-grid {
        grid-template-columns: 1fr;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 16px;
        max-height: calc(100vh - 32px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calendar-month-view {
        gap: 2px;
    }
    
    .calendar-day {
        height: 70px;
        min-height: 70px;
        max-height: 70px;
        padding: 3px;
        overflow: hidden;
    }
    
    .calendar-weekdays div {
        font-size: 10px;
        padding: 4px 0;
    }
    
    .day-number {
        font-size: 11px;
        margin-bottom: 1px;
    }
    
    .day-member-badges {
        gap: 1px;
        margin-bottom: 1px;
    }
    
    .day-member-badge {
        width: 14px;
        height: 14px;
        font-size: 6px;
    }
    
    .day-events {
        gap: 1px;
        max-height: 30px;
        overflow: hidden;
    }
    
    .day-event {
        padding: 1px 2px;
        font-size: 7px;
        line-height: 1.2;
    }
    
    .calendar-container {
        padding: 10px;
        margin: 0;
    }
    
    .calendar-header {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .calendar-header h2 {
        font-size: 18px;
        min-width: auto;
    }
    
    .btn-today {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .calendar-nav-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .calendar-header {
        flex-wrap: wrap;
    }
    
    .calendar-header .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .todos-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .view-toggle {
        justify-content: center;
    }
}

/* ===== Landing Page ===== */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
}

.landing-page.hidden {
    display: none;
}

/* Landing Navigation - New Dark Style */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.landing-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-logo-icon svg {
    width: 100%;
    height: 100%;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav-links .nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.landing-nav-links .nav-link:hover {
    color: #a78bfa;
}

.nav-btn-login {
    padding: 10px 24px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.landing-mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--pink);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 40%;
    left: 30%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-btn-primary {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.hero-btn-secondary {
    padding: 16px 32px;
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: left;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero Phone Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-phone {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    padding: 24px;
    overflow: hidden;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.phone-date {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}

.phone-avatars {
    display: flex;
    gap: -8px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    margin-left: -8px;
    border: 2px solid white;
}

.phone-avatar:first-child {
    margin-left: 0;
}

.phone-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-event {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.phone-event .event-time {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.phone-event .event-title {
    font-weight: 600;
    color: var(--text-primary);
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: 30px;
}

.pricing-price .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: var(--secondary);
}

.pricing-features li i.fa-times {
    color: var(--text-muted);
}

.pricing-features li .muted {
    color: var(--text-muted);
}

.pricing-btn {
    width: 100%;
    padding: 14px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.pricing-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
}

.pricing-btn.primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* Donate Card */
.pricing-card.donate {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.pricing-card.donate .pricing-price .price {
    color: #b45309;
}

.pricing-card.donate .pricing-price .price i {
    font-size: 40px;
    color: #ef4444;
}

.donate-text {
    color: #92400e;
    margin-bottom: 24px;
    line-height: 1.6;
}

.donate-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.donate-btn {
    flex: 1;
    padding: 12px;
    background: white;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    font-weight: 600;
    color: #b45309;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: #f59e0b;
    color: white;
}

.donate-btn-custom {
    background: #f59e0b;
    color: white;
    border: none;
}

.donate-btn-custom:hover {
    background: #d97706;
}

/* About Section */
.about-section {
    padding: 100px 5%;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-team {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.about-business {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 24px;
}

.about-business p {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
}

.about-business i {
    color: var(--primary);
    margin-right: 8px;
}

.about-business a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-business a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.team-info strong {
    display: block;
    color: var(--text-primary);
}

.team-info span {
    font-size: 13px;
    color: var(--text-secondary);
}

.about-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px;
    border-radius: 24px;
    color: white;
}

.about-card i {
    font-size: 32px;
    opacity: 0.5;
    margin-bottom: 16px;
}

.about-card p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: white;
}

.testimonial-author strong {
    display: block;
    color: white;
}

.testimonial-author span {
    font-size: 14px;
    opacity: 0.8;
}

/* Login Section */
.login-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #312e81 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 140px;
}

.login-section .login-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.login-logo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.login-logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-logo-icon svg {
    width: 100%;
    height: 100%;
}

.login-logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.login-logo p {
    font-size: 14px;
    opacity: 0.9;
}

.login-content {
    padding: 40px;
    text-align: center;
}

.login-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-content > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 14px;
}

.google-login-btn {
    width: 100%;
    padding: 14px 24px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.google-login-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-login-btn img {
    width: 20px;
    height: 20px;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.guest-login-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.guest-login-btn:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
}

.login-note {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Email Login Form */
.email-login-form {
    margin-top: 8px;
}

.login-input-group {
    margin-bottom: 16px;
}

.login-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.login-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0 14px;
    transition: all 0.2s ease;
}

.login-input-wrapper:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.login-input-wrapper i {
    color: var(--text-muted);
    font-size: 16px;
}

.login-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

.login-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.email-login-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.email-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.email-login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
}

.login-toggle span {
    color: var(--text-secondary);
}

.login-toggle button {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.login-toggle button:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Email Verification Message */
.email-verification-message {
    text-align: center;
    padding: 20px 0;
}

.verification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.email-verification-message h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--text-primary);
}

.email-verification-message p {
    color: var(--text-secondary);
    margin: 8px 0;
    font-size: 14px;
}

.verification-email {
    background: var(--bg-tertiary);
    padding: 12px 20px;
    border-radius: 10px;
    margin: 16px 0 !important;
    font-size: 15px !important;
}

.verification-email strong {
    color: var(--primary);
}

.verification-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.verification-actions .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.verification-actions .btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.verification-actions .btn-primary {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.verification-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.verification-note {
    margin-top: 20px !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
}

.verification-note i {
    color: #F59E0B;
    margin-right: 4px;
}

/* Password Requirements */
.password-requirements {
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 12px;
}

.password-requirements p {
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--text-secondary);
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.password-requirements li i {
    font-size: 10px;
}

.password-requirements li.valid {
    color: #10B981;
}

.password-requirements li.valid i {
    color: #10B981;
}

/* Landing Footer */
.landing-footer {
    background: #0f172a;
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand span {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.footer-brand p {
    width: 100%;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom i {
    color: #ef4444;
}

/* Ad Banner */
.ad-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 2px dashed var(--border-color);
}

.ad-content {
    text-align: center;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ad-placeholder {
    background: white;
    padding: 30px 60px;
    border-radius: 8px;
    color: var(--text-muted);
}

.ad-placeholder.small {
    padding: 20px;
}

.ad-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.ad-placeholder p {
    font-size: 14px;
    margin-bottom: 4px;
}

.ad-placeholder span {
    font-size: 12px;
}

.ad-remove-btn {
    padding: 8px 16px;
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ad-remove-btn:hover {
    background: var(--primary);
    color: white;
}

.ad-remove-btn.small {
    padding: 6px 12px;
    font-size: 11px;
}

/* Ad Banner Variants */
.ad-banner.ad-horizontal {
    margin-top: 30px;
    flex-direction: row;
    justify-content: center;
    padding: 16px 30px;
}

.ad-banner.ad-sidebar {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    flex-direction: column;
}

.ad-banner.ad-sidebar .ad-placeholder {
    padding: 20px;
}

.ad-banner.hidden {
    display: none;
}

/* Premium Promo Modal */
.premium-promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.premium-promo-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    padding: 32px;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 215, 0, 0.1);
}

.premium-promo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

.premium-promo-header {
    text-align: center;
    margin-bottom: 24px;
}

.premium-promo-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.premium-promo-header h2 {
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-promo-header p {
    margin: 0;
    color: var(--text-secondary);
}

.premium-promo-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.premium-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.premium-benefit i {
    color: #FFD700;
}

.premium-benefit span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.premium-promo-prices {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.premium-price-option {
    flex: 1;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.premium-price-option:hover {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.premium-price-option.featured {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.premium-price-option .price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.premium-price-option .price-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
}

.premium-price-option .price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.premium-price-option .price-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.premium-promo-xp {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.premium-promo-xp p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.premium-promo-xp a {
    color: #EC4899;
    text-decoration: none;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    margin: 24px 0;
}

.payment-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.payment-options {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.payment-option img {
    height: 24px;
    width: auto;
}

.payment-option i {
    font-size: 24px;
    color: var(--text-primary);
}

.payment-option.selected i {
    color: var(--primary);
}

.payment-option span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* iDEAL Bank Selection */
.ideal-banks {
    margin: 16px 0;
}

.bank-select {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bank-select:focus {
    outline: none;
    border-color: var(--primary);
}

.bank-select:hover {
    border-color: var(--primary);
}

/* Premium Modal */
.premium-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.premium-content {
    padding: 30px;
    text-align: center;
}

.premium-hero {
    margin-bottom: 30px;
}

.premium-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #f59e0b;
    margin: 0 auto 20px;
}

.premium-hero h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.premium-hero p {
    color: var(--text-secondary);
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    font-size: 13px;
}

.premium-feature i {
    color: var(--secondary);
}

/* Premium Plan Selection */
.premium-plan-selection {
    margin-bottom: 24px;
}

.premium-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.premium-plan-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-plan-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.premium-plan-btn.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.premium-plan-btn.gold {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.premium-plan-btn.gold:hover,
.premium-plan-btn.gold.selected {
    border-color: #d97706;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
}

.premium-plan-btn .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.premium-plan-btn .plan-badge.fire {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.premium-plan-btn .plan-badge.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.plan-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.plan-duration {
    font-size: 11px;
    color: var(--text-muted);
}

.plan-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.premium-plan-btn.gold .plan-price {
    color: #d97706;
}

.selected-plan-display {
    background: var(--bg-tertiary);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.selected-plan-display p {
    color: var(--text-primary);
    font-size: 15px;
    margin: 0;
}

.premium-pricing {
    margin-bottom: 24px;
}

.premium-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.premium-price .currency {
    font-size: 24px;
    color: var(--text-secondary);
}

.premium-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.premium-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.premium-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.premium-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-premium-monthly,
.btn-premium-yearly,
.btn-premium-confirm {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-premium-monthly {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-premium-monthly:hover {
    background: var(--bg-primary);
}

.btn-premium-yearly,
.btn-premium-confirm {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-premium-yearly:hover,
.btn-premium-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.save-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.premium-disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive Premium Modal */
@media (max-width: 768px) {
    .premium-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .premium-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    .premium-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Donate Modal */
.donate-header {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.donate-content {
    padding: 30px;
    text-align: center;
}

.donate-hero {
    margin-bottom: 30px;
}

.donate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ef4444;
    margin: 0 auto 20px;
}

.donate-hero h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.donate-hero p {
    color: var(--text-secondary);
}

.donate-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.donate-option {
    padding: 16px 24px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.donate-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.donate-option.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.donate-custom {
    margin-bottom: 24px;
}

.donate-custom label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.currency-symbol {
    font-size: 24px;
    color: var(--text-secondary);
}

.custom-amount-input input {
    width: 120px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.custom-amount-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-donate {
    padding: 16px 48px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.donate-actions {
    text-align: center;
}

.donate-disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive Landing */
@media (max-width: 992px) {
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .landing-nav-links.mobile-open {
        display: flex;
    }
    
    .landing-mobile-menu {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-phone {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    /* Login section mobile fixes */
    .login-section {
        padding: 60px 12px 40px;
        min-height: auto;
        scroll-margin-top: 140px;
    }
    
    .login-card {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .login-logo {
        padding: 24px;
    }
    
    .login-logo-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .login-logo h1 {
        font-size: 28px;
    }
    
    .login-content {
        padding: 24px;
    }
    
    .login-content h2 {
        font-size: 20px;
    }
}
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    color: var(--text-secondary);
}

.guest-login-btn:hover {
    background: var(--border-color);
}

.guest-login-btn i {
    font-size: 18px;
}

.login-note {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== User Profile Updates ===== */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logout-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.sidebar.collapsed .logout-btn {
    display: none;
}

/* ===== Nav Badge ===== */
.nav-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.sidebar.collapsed .nav-badge {
    display: none;
}

/* ===== Shared Calendar View ===== */
#sharedView {
    display: none;
}

#sharedView.active {
    display: block;
}

.shared-header {
    margin-bottom: 24px;
}

.shared-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shared-members-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.shared-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shared-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.shared-member:hover {
    background: var(--bg-primary);
}

.shared-member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.shared-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shared-member-info {
    display: flex;
    flex-direction: column;
}

.shared-member-name {
    font-size: 14px;
    font-weight: 500;
}

.shared-member-role {
    font-size: 12px;
    color: var(--text-muted);
}

.shared-member-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    margin-left: auto;
    transition: var(--transition);
}

.shared-member-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.shared-calendar-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.shared-events-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.shared-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shared-event-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.shared-event-item:hover {
    transform: translateX(4px);
}

.shared-event-info {
    flex: 1;
}

.shared-event-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.shared-event-info p {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.shared-event-creator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.shared-event-creator img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.shared-event-actions {
    display: flex;
    gap: 8px;
}

.shared-event-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.shared-event-actions button:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.shared-event-actions button.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ===== Share Modal ===== */
.share-content {
    padding: 24px;
}

.share-input-group {
    display: flex;
    gap: 10px;
}

.share-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--bg-tertiary);
}

.share-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.share-recipients {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.share-recipient {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.share-recipient-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.share-recipient-email {
    flex: 1;
    font-size: 14px;
}

.share-recipient-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
}

.share-recipient-remove:hover {
    color: var(--danger);
}

/* ===== Share Button on Cards ===== */
.share-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

/* Override: share button used as full action button (e.g. WhatsApp "Delen") */
.event-actions .share-btn {
    width: auto;
    min-width: 110px;
}

.share-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* ===== Shared Indicator ===== */
.shared-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

.shared-indicator i {
    font-size: 10px;
}

/* ===== Pending Invites ===== */
.pending-invites {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.pending-invites h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--warning);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pending-invite-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.pending-invite-item:last-child {
    margin-bottom: 0;
}

.pending-invite-info {
    font-size: 13px;
}

.pending-invite-actions {
    display: flex;
    gap: 8px;
}

.pending-invite-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.pending-invite-actions .accept-btn {
    background: var(--secondary);
    color: white;
}

.pending-invite-actions .decline-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* ===== Online Status ===== */
.online-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
}

.offline-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
}

/* ===== Responsive for Shared View ===== */
@media (max-width: 768px) {
    .shared-actions {
        flex-direction: column;
    }
    
    .shared-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .shared-members-list {
        flex-direction: column;
    }
    
    .shared-member {
        width: 100%;
    }
}

/* ===== Family Members View ===== */
.family-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.family-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.family-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.family-member-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.family-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.family-member-card.is-you {
    border-color: var(--primary);
}

.family-member-card .you-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.family-member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.family-member-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.family-member-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.family-member-actions {
    display: flex;
    gap: 0.5rem;
}

.family-member-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.family-member-actions .edit-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.family-member-actions .edit-btn:hover {
    background: var(--primary);
    color: white;
}

.family-member-actions .delete-btn {
    background: var(--bg-tertiary);
    color: var(--danger);
}

.family-member-actions .delete-btn:hover {
    background: var(--danger);
    color: white;
}

.family-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.family-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.family-empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* ===== Family Member Selector (in modals) ===== */
.family-member-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.member-checkbox {
    display: none;
}

.member-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.member-checkbox-label:hover {
    background: var(--bg-hover);
}

.member-checkbox:checked + .member-checkbox-label {
    border-color: var(--primary);
    background: rgba(110, 89, 242, 0.1);
}

.member-checkbox-label .member-mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.member-checkbox-label .member-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ===== Member Badges (on calendar events, todos, notes) ===== */
.member-badges {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.member-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    border: 2px solid var(--bg-primary);
    margin-left: -6px;
}

.member-badge:first-child {
    margin-left: 0;
}

.member-badge.small {
    width: 20px;
    height: 20px;
    font-size: 0.5rem;
    margin-left: -4px;
}

.member-badge.small:first-child {
    margin-left: 0;
}

/* ===== Calendar Event with Members ===== */
.calendar-event {
    position: relative;
    padding-left: 0.5rem;
}

.calendar-event .event-members {
    display: flex;
    margin-top: 4px;
}

.calendar-event .event-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
}

/* Multiple color bars for multiple members */
.calendar-event .multi-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
}

.calendar-event .multi-color-bar .color-segment {
    flex: 1;
}

/* ===== Todo/Note with Members ===== */
.todo-item .todo-members,
.note-item .note-members {
    display: flex;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* ===== Family Member Modal ===== */
.color-picker-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--text-primary);
}

/* ===== Responsive for Family View ===== */
@media (max-width: 768px) {
    .family-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .family-members-grid {
        grid-template-columns: 1fr;
    }
    
    .family-member-selector {
        flex-direction: column;
    }
    
    .member-checkbox-label {
        width: 100%;
        justify-content: flex-start;
    }
    
    .color-picker-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ===== Klender-style Event Display ===== */
.day-event {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-event .member-badges {
    flex-shrink: 0;
}

.day-event .member-badge {
    width: 16px;
    height: 16px;
    font-size: 0.5rem;
    margin-left: -3px;
    border-width: 1px;
}

.day-event .member-badge:first-child {
    margin-left: 0;
}

/* Event item header with badges */
.event-item .event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.event-item .event-header h4 {
    margin: 0;
    flex: 1;
}

.event-item .event-header .member-badges {
    flex-shrink: 0;
}

/* Schedule item with member badges */
.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-bottom: 0.5rem;
}

.schedule-item .schedule-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 60px;
}

.schedule-item .schedule-info {
    flex: 1;
}

.schedule-item .schedule-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}

.schedule-item .schedule-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.schedule-item .member-badges {
    flex-shrink: 0;
}

/* ===== Todo List Card with Members ===== */
.todo-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.todo-list-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.todo-list-drag-handle {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: grab;
    border-radius: var(--radius-sm);
}

.todos-grid.list-view .todo-list-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.todo-list-drag-handle:active {
    cursor: grabbing;
}

.todo-list-card.dragging {
    opacity: 0.6;
}

.todo-list-card.drag-over {
    outline: 2px dashed var(--primary-light);
}

.todo-list-header h3 {
    margin: 0;
    flex: 1;
    font-size: 1rem;
}

.recent-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.recent-list-header h4 {
    margin: 0;
    flex: 1;
}

/* ===== Note Card with Members ===== */
.note-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.note-card-header h3 {
    margin: 0;
    flex: 1;
    color: var(--text-primary);
}

.note-card-header .member-badges {
    flex-shrink: 0;
}

.note-card-header .member-badge {
    border-color: rgba(255, 255, 255, 0.8);
}

/* ===== Approval System Styles ===== */
.approval-group {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border: 1px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
}

.approval-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.approval-toggle input {
    display: none;
}

.approval-slider {
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    position: relative;
    transition: background 0.3s;
    flex-shrink: 0;
}

.approval-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.approval-toggle input:checked + .approval-slider {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.approval-toggle input:checked + .approval-slider::before {
    transform: translateX(20px);
}

.approval-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text);
}

.approval-label i {
    color: var(--primary);
}

.premium-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.premium-badge-small i {
    color: white;
    font-size: 8px;
}

.approval-hint {
    margin: 8px 0 0 56px;
    font-size: 12px;
    color: var(--text-light);
}

.approver-select {
    margin-top: 12px;
    margin-left: 56px;
}

.approver-select label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}

.approver-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

/* Invite Response Toggle Styles */
.invite-response-group {
    padding: 16px;
    background: linear-gradient(135deg, rgba(110, 89, 242, 0.05), rgba(110, 89, 242, 0.02));
    border-radius: 12px;
    border: 1px solid rgba(110, 89, 242, 0.1);
    margin-top: 8px;
}

.invite-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.invite-toggle input {
    display: none;
}

.invite-slider {
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    position: relative;
    transition: background 0.3s;
    flex-shrink: 0;
}

.invite-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.invite-toggle input:checked + .invite-slider {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.invite-toggle input:checked + .invite-slider::before {
    transform: translateX(20px);
}

.invite-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text);
}

.invite-label i {
    color: var(--primary);
}

.invite-hint {
    margin: 8px 0 0 56px;
    font-size: 12px;
    color: var(--text-light);
}

.invite-credits-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0 56px;
    font-size: 13px;
    font-weight: 500;
}

.invite-credits-info a {
    text-decoration: none;
}

.invite-credits-info a:hover {
    text-decoration: underline;
}

/* Response Status Badges in Event List */
.event-response-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.response-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.response-badge.accepted {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.response-badge.declined {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.response-badge i {
    font-size: 10px;
}

/* Premium feature field disabled state */
.premium-feature-field.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.premium-feature-field.disabled .approval-slider {
    background: #e0e0e0;
}

/* Approvals Nav Item */
.premium-nav-item {
    position: relative;
}

.approval-count {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.approval-count:empty,
.approval-count[data-count="0"] {
    display: none;
}

/* Approvals View */
.approvals-header {
    margin-bottom: 24px;
}

.approvals-info h2 {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.approvals-info h2 i {
    color: var(--primary);
}

.approvals-info p {
    margin: 0;
    color: var(--text-light);
}

.approvals-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.approval-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.approval-tab:hover {
    color: var(--text);
}

.approval-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.tab-count {
    background: #eee;
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.approval-tab.active .tab-count {
    background: var(--primary);
    color: white;
}

.approval-tab-content {
    display: none;
}

.approval-tab-content.active {
    display: block;
}

.approvals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.empty-approvals {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-approvals i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.empty-approvals h3 {
    margin: 0 0 8px;
    color: var(--text);
}

.empty-approvals p {
    margin: 0;
}

/* Approval Item Card */
.approval-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}

.approval-item.event {
    border-left-color: #6366f1;
}

.approval-item.list {
    border-left-color: #10b981;
}

.approval-item.note {
    border-left-color: #f59e0b;
}

.approval-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.approval-item-info {
    flex: 1;
}

.approval-item-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.approval-item-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.approval-item-meta {
    font-size: 13px;
    color: var(--text-light);
}

.approval-item-meta i {
    margin-right: 4px;
}

.approval-item-from {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: var(--text-light);
}

.approval-item-from .member-badge {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.approval-actions {
    display: flex;
    gap: 8px;
}

.btn-approve {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-approve:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-reject {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-reject:hover {
    background: #ef4444;
    color: white;
}

/* Approval Status Badge */
.approval-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.approval-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.approval-status.approved {
    background: #d1fae5;
    color: #059669;
}

.approval-status.rejected {
    background: #fee2e2;
    color: #dc2626;
}

/* Pending Approval Badge on Items */
.pending-approval-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.pending-approval-badge i {
    font-size: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .approvals-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .approval-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .approval-item-header {
        flex-direction: column;
    }
    
    .approval-actions {
        width: 100%;
    }
    
    .btn-approve,
    .btn-reject {
        flex: 1;
        justify-content: center;
    }
}

/* ===== Calendar Sync Styles ===== */
.btn-sync {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4285F4, #0078D4);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sync:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.btn-sync i {
    font-size: 14px;
}

/* Day Overview Modal */
.day-overview-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.day-overview-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.day-overview-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.day-overview-empty p {
    font-size: 16px;
}

.day-overview-event {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.day-overview-event:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.day-overview-event.external {
    cursor: default;
    opacity: 0.8;
}

.day-overview-event.external:hover {
    transform: none;
}

.day-overview-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.day-overview-event-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.day-overview-event-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.day-overview-event-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.day-overview-event-members {
    display: flex;
    gap: 4px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sync Modal */
.sync-info-card {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 24px;
}

.sync-info-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sync-info-icon i {
    font-size: 28px;
}

.sync-info-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.sync-info-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Service Cards */
.sync-service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.sync-service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sync-service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.sync-service-icon.google {
    background: #4285F4;
}

.sync-service-icon.microsoft {
    background: #0078D4;
}

.sync-service-icon i {
    font-size: 22px;
}

.sync-service-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sync-last-time {
    font-size: 12px;
    color: var(--text-muted);
}

.sync-service-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.sync-service-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.sync-service-btn.connected {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.sync-service-btn.connected:hover {
    background: var(--danger);
    border-color: var(--danger);
}

/* Sync Now Button */
.btn-sync-now {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    margin: 24px 0;
}

.btn-sync-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sync-now i {
    font-size: 18px;
}

/* Help Section */
.sync-help {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sync-help h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sync-help h5 i {
    color: var(--primary);
}

.sync-help ol {
    margin: 0;
    padding-left: 24px;
}

.sync-help li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 8px;
}

.sync-help li::marker {
    color: var(--primary);
    font-weight: 700;
}

/* External Event Indicator */
.event-external {
    position: relative;
}

.event-external::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    border: 2px solid currentColor;
}

.event-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.event-source-badge.google {
    background: #E8F0FE;
    color: #4285F4;
}

.event-source-badge.outlook {
    background: #E5F1FB;
    color: #0078D4;
}

/* Responsive */
@media (max-width: 768px) {
    .sync-service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-sync {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .btn-sync span {
        display: none;
    }
}

/* ===== AI Brief Scanner Styles ===== */
.scanner-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.scanner-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scanner-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.scanner-settings {
    flex-shrink: 0;
}

.scanner-settings .btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-settings .btn-icon:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

/* API Key Banner */
.api-key-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: var(--transition);
}

.api-key-banner.configured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.api-key-banner.not-configured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.api-key-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.api-key-banner.configured .api-key-status {
    color: #22c55e;
}

.api-key-banner.not-configured .api-key-status {
    color: #f59e0b;
}

.api-key-banner .btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.api-key-banner .btn-text:hover {
    background: var(--primary-soft);
}

/* API Key Modal */
.api-key-modal {
    max-width: 500px;
}

.api-key-info {
    margin-bottom: 20px;
}

.api-key-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.api-key-status-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.api-key-status-box.active {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.api-key-status-box.inactive {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.api-key-status-box .status-icon {
    font-size: 32px;
}

.api-key-status-box.active .status-icon {
    color: #22c55e;
}

.api-key-status-box.inactive .status-icon {
    color: #ef4444;
}

.api-key-status-box .status-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.api-key-input {
    font-family: monospace;
    letter-spacing: 1px;
}

.api-key-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.api-key-help {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.api-key-help h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-key-help ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.api-key-help a {
    color: var(--primary);
    text-decoration: none;
}

.api-key-help a:hover {
    text-decoration: underline;
}

.api-key-note {
    margin-top: 16px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.api-key-note i {
    color: var(--primary);
    margin-top: 2px;
}

.scanner-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.scanner-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.scanner-upload-area:hover,
.scanner-upload-area.drag-over {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.scanner-upload-area .scanner-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.scanner-upload-area h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.scanner-upload-area p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.scanner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scanner-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scanner-preview {
    text-align: center;
}

.preview-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.preview-image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.preview-remove-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.preview-remove-btn:hover {
    background: var(--danger-light);
    transform: scale(1.1);
}

.analyze-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.scanner-loading {
    text-align: center;
    padding: 48px;
}

.scanner-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.scanner-loading h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.scanner-loading p {
    color: var(--text-secondary);
}

.scanner-results .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.scanner-results .results-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 8px;
}

.found-appointments {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.found-appointment-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    margin-bottom: 16px;
}

.found-appointment-card.selected {
    background: rgba(79, 70, 229, 0.08);
    border-left-color: var(--secondary);
}

.found-appointment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.found-appointment-card .appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.found-appointment-card .appointment-title-section {
    flex: 1;
}

.found-appointment-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.extracted-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-soft), rgba(124, 58, 237, 0.1));
    color: var(--primary);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.extracted-badge i {
    font-size: 10px;
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: var(--transition);
}

.custom-checkbox:hover .checkmark {
    border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 5px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.found-appointment-card .appointment-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.found-appointment-card .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.found-appointment-card .detail-item.description {
    background: rgba(0, 0, 0, 0.03);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 6px;
}

.found-appointment-card .detail-item i {
    color: var(--primary);
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.results-actions {
    text-align: center;
}

.scanner-empty {
    text-align: center;
    padding: 48px;
}

.scanner-empty .empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}

.scanner-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.scanner-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.scanner-tips {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.scanner-tips h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scanner-tips h4 i {
    color: var(--warning);
}

.scanner-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scanner-tips li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.scanner-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Responsive Scanner */
@media (max-width: 768px) {
    .scanner-container {
        padding: 20px;
    }
    
    .scanner-upload-area {
        padding: 32px 20px;
    }
    
    .scanner-buttons {
        flex-direction: column;
    }
    
    .scanner-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Location Picker Styles ===== */
.location-input-wrapper {
    display: flex;
    gap: 8px;
    position: relative;
}

.location-input-wrapper input {
    flex: 1;
    padding-right: 80px;
}

.location-search-btn,
.location-map-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.location-search-btn {
    right: 48px;
    background: var(--primary);
    color: white;
}

.location-map-btn {
    background: #EA4335;
    color: white;
}

.location-search-btn:hover {
    background: var(--primary-dark);
}

.location-map-btn:hover {
    background: #CC3629;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.location-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.location-suggestion-item:last-child {
    border-bottom: none;
}

.location-suggestion-item:hover {
    background: var(--bg-tertiary);
}

.location-suggestion-item i {
    color: #EA4335;
    font-size: 16px;
    width: 20px;
}

.location-suggestion-item .suggestion-text {
    flex: 1;
}

.location-suggestion-item .suggestion-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.location-suggestion-item .suggestion-address {
    font-size: 12px;
    color: var(--text-secondary);
}

.location-suggestion-item .suggestion-open-maps {
    color: var(--text-muted);
    font-size: 14px;
}

.location-suggestion-item .suggestion-open-maps:hover {
    color: #EA4335;
}

/* ===== AI Features Highlight Section ===== */
.ai-features-highlight {
    margin-top: 60px;
    padding: 0 20px;
}

.ai-feature-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.ai-feature-content h3 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ai-feature-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 24px;
}

.ai-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-feature-list li {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.ai-feature-list li i {
    color: #34D399;
    font-size: 16px;
}

.ai-feature-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ai-demo-phone {
    width: 280px;
    height: 480px;
    background: #1F2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.ai-demo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #111827 0%, #1F2937 100%);
    border-radius: 30px;
    overflow: hidden;
}

.ai-demo-header {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-demo-content {
    padding: 24px;
}

.ai-scan-animation {
    position: relative;
    width: 180px;
    height: 220px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.ai-scan-animation i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.3);
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #34D399, transparent);
    animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: 10%; opacity: 0; }
    50% { top: 90%; opacity: 1; }
}

.ai-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-result-item {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid #34D399;
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: white;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.ai-result-item:nth-child(1) { animation-delay: 0.2s; }
.ai-result-item:nth-child(2) { animation-delay: 0.4s; }
.ai-result-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.ai-result-item i {
    color: #34D399;
}

/* Feature Card Highlight */
.feature-card.featured-highlight {
    position: relative;
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(52, 211, 153, 0.05));
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsive AI Features */
@media (max-width: 968px) {
    .ai-feature-card {
        flex-direction: column;
        padding: 32px;
    }
    
    .ai-demo-phone {
        width: 240px;
        height: 400px;
    }
    
    .ai-feature-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ai-features-highlight {
        padding: 0;
    }
    
    .ai-feature-card {
        border-radius: var(--radius-lg);
        padding: 24px;
    }
    
    .ai-demo-phone {
        width: 200px;
        height: 340px;
    }
}

/* ===== Event Location Styles ===== */
.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: #EA4335;
}

.location-link-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 12px;
}

.location-link-btn:hover {
    background: var(--bg-tertiary);
    color: #EA4335;
}

/* Form group position for suggestions */
.form-group {
    position: relative;
}

/* ===== Quick Scan Section in Modal ===== */
.quick-scan-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    border: 2px dashed var(--secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-quick-scan {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-quick-scan:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-quick-scan i {
    font-size: 16px;
}

.quick-scan-hint {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Location Loading Spinner */
.location-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--text-secondary);
    gap: 8px;
}

.location-loading i {
    animation: spin 1s linear infinite;
}

/* ===== Admin Dashboard Styles ===== */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.admin-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-info h2 i {
    color: #F59E0B;
}

.admin-info p {
    color: var(--text-secondary);
    margin-top: 4px;
}

.btn-refresh {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-refresh:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.total {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.stat-icon.premium {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.stat-icon.free {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.stat-icon.active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Admin Search */
.admin-search {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Admin Users List */
.admin-users-list {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.loading-users {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-secondary);
}

.loading-users i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.admin-user-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.admin-user-item:last-child {
    border-bottom: none;
}

.admin-user-item:hover {
    background: var(--bg-tertiary);
}

.admin-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-right: 14px;
    flex-shrink: 0;
}

.admin-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-user-info {
    flex: 1;
    min-width: 0;
}

.admin-user-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-user-email {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-badges {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.admin-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-badge.premium {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.admin-badge.free {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.admin-badge.admin {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
}

.admin-badge.banned {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.admin-user-meta {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    min-width: 100px;
}

.admin-user-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.admin-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admin-action-btn.edit {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.admin-action-btn.edit:hover {
    background: var(--primary);
    color: white;
}

.admin-action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.admin-action-btn.delete:hover {
    background: var(--danger);
    color: white;
}

/* Admin User Modal */
.admin-modal-content {
    max-width: 500px;
}

.admin-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.admin-modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 22px;
}

.admin-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-modal-user-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-modal-user-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.admin-modal-section {
    margin-bottom: 20px;
}

.admin-modal-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.admin-toggle-label {
    font-size: 14px;
    color: var(--text-primary);
}

.admin-credits-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.admin-credits-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.admin-credits-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
}

.admin-credits-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-credits-btn:hover {
    background: #059669;
}

.admin-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.admin-modal-actions button {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-admin-ban {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: none;
}

.btn-admin-ban:hover {
    background: var(--danger);
    color: white;
}

.btn-admin-delete {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.btn-admin-delete:hover {
    background: #DC2626;
    color: white;
}

.btn-admin-close {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: none;
}

.btn-admin-close:hover {
    background: var(--border-color);
}

/* Toggle Switch for Admin */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--secondary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Admin nav item styling */
.admin-nav-item {
    background: rgba(245, 158, 11, 0.1) !important;
}

.admin-nav-item i {
    color: #F59E0B !important;
}

/* Empty state for admin */
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
}

.admin-empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.admin-empty-state h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.admin-empty-state p {
    color: var(--text-secondary);
}
/* ===== Share Section Styles ===== */
.share-section {
    background: var(--bg-accent);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 8px;
}

.share-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.share-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.share-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.share-toggle .toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.share-toggle .toggle-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.share-members {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.share-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-member-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.share-member-item:hover {
    border-color: var(--primary-light);
}

.share-member-item.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.share-member-item input[type="checkbox"] {
    display: none;
}

.share-member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.share-member-info {
    display: flex;
    flex-direction: column;
}

.share-member-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.share-member-email {
    font-size: 11px;
    color: var(--text-muted);
}

.shared-by-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-size: 13px;
    margin-top: 8px;
}

.shared-by-info i {
    font-size: 16px;
}

/* Shared indicator on cards */
.shared-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    margin-top: 4px;
}

.shared-indicator i {
    font-size: 10px;
}

/* ===== AAA PREMIUM SHOP STYLES ===== */
.shop-modal-premium {
    max-width: 480px !important;
    border-radius: 24px !important;
    overflow: hidden;
}

.shop-header-premium {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    padding: 20px 24px !important;
}

.shop-header-premium h3 {
    color: white !important;
    font-weight: 700 !important;
}

.shop-header-premium .modal-close {
    color: white !important;
    opacity: 0.9;
}

.shop-body-premium {
    padding: 0 !important;
    background: var(--bg-primary);
}

/* XP Hero Section */
.shop-xp-hero {
    position: relative;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    padding: 32px 24px;
    text-align: center;
    overflow: hidden;
}

.shop-xp-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.shop-xp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 8px 48px rgba(245, 158, 11, 0.6); }
}

.shop-xp-amount {
    font-size: 48px;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1;
    margin-bottom: 4px;
}

.shop-xp-amount small {
    font-size: 24px;
    font-weight: 600;
    opacity: 0.8;
    margin-left: 4px;
}

.shop-xp-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* Shop Items */
.shop-items-grid {
    padding: 24px;
}

.shop-item-card {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.shop-item-card:hover {
    border-color: #F59E0B;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
    transform: translateY(-4px);
}

.shop-item-premium {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
}

.shop-item-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.shop-item-details h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.shop-item-details > p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.shop-item-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.shop-item-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.shop-item-features li i {
    color: #10B981;
    font-size: 12px;
}

.shop-buy-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shop-buy-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* XP Guide */
.shop-xp-guide {
    padding: 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.shop-xp-guide h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.shop-xp-guide h4 i {
    color: #F59E0B;
}

.xp-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xp-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.xp-method:hover {
    transform: translateX(4px);
}

.xp-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.xp-method-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xp-method-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.xp-method-amount {
    font-size: 14px;
    font-weight: 700;
    color: #F59E0B;
}

/* ===== AAA PREMIUM GAME CENTER STYLES ===== */
.game-center-premium {
    border-radius: 24px !important;
    overflow: hidden;
}

.game-center-header {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    padding: 20px 24px !important;
}

.game-center-header h3 {
    color: white !important;
    font-weight: 700 !important;
}

.game-center-header .modal-close {
    color: white !important;
    opacity: 0.9;
}

.game-center-body {
    padding: 24px !important;
    background: var(--bg-primary);
}

/* Game Center Layout */
.game-center-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

@media (max-width: 768px) {
    .game-center-layout {
        grid-template-columns: 1fr;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-header h4 i {
    color: #8B5CF6;
}

.section-badge {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Game Cards */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: #8B5CF6;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.game-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border-radius: 14px;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.game-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-xp {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #F59E0B;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Leaderboards Section */
.leaderboards-section {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

/* Leaderboard Tabs */
.leaderboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: 12px;
}

.leaderboard-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.leaderboard-tab:hover {
    color: var(--text-primary);
}

.leaderboard-tab.active {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.leaderboard-content {
    display: none;
}

.leaderboard-content.active {
    display: block;
}

.leaderboard-header {
    margin-bottom: 16px;
}

.leaderboard-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.leaderboard-row:hover {
    transform: translateX(4px);
}

.leaderboard-row.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.leaderboard-row.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.leaderboard-row.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.leaderboard-row .rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.leaderboard-row .name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.leaderboard-row .score {
    font-weight: 700;
    font-size: 14px;
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
}

.leaderboard-empty {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-primary);
    border-radius: 12px;
}

/* Turbo Tapper Game */
.turbo-tapper-game,
.reaction-game,
.memory-game {
    text-align: center;
    padding: 24px;
}

.turbo-tapper-game h3,
.reaction-game h3,
.memory-game h3 {
    margin-bottom: 8px;
}

.game-instruction {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tap-counter {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.tap-counter .tap-target {
    font-size: 24px;
    color: var(--text-muted);
}

.tap-progress {
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    overflow: hidden;
}

.tap-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    transition: width 0.05s linear;
}

.tap-button {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 24px;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.tap-button:active {
    transform: scale(0.95);
}

.tap-button i {
    font-size: 48px;
}

.tap-timer {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-back-games,
.btn-play-again {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    margin: 4px;
}

.btn-play-again {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-back-games:hover,
.btn-play-again:hover {
    transform: translateY(-2px);
}

/* Game Result */
.game-result {
    padding: 40px;
}

.game-result h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.game-result.gold h2 { color: #FFD700; }
.game-result.silver h2 { color: #C0C0C0; }
.game-result.bronze h2 { color: #CD7F32; }

.result-time {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.result-actions {
    margin-top: 24px;
}

/* Reaction Time Game */
.reaction-info {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.reaction-box {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
}

.reaction-box.waiting {
    background: #EF4444;
    color: white;
    border-color: #DC2626;
}

.reaction-box.go {
    background: #10B981;
    color: white;
    border-color: #059669;
}

.reaction-box.early {
    background: #F59E0B;
    color: white;
    border-color: #D97706;
}

.reaction-box.result {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

.reaction-times {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.reaction-time-item {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

/* Memory Game */
.memory-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.memory-card {
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

.memory-card .card-front,
.memory-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: var(--radius-md);
    backface-visibility: hidden;
    transition: transform 0.4s;
}

.memory-card .card-front {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    font-weight: 700;
}

.memory-card .card-back {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transform: rotateY(180deg);
}

.memory-card.flipped .card-front {
    transform: rotateY(180deg);
}

.memory-card.flipped .card-back {
    transform: rotateY(0);
}

/* ========================================= */
/* ===== AAA Layout V3 (New Sidebar) ===== */
/* ========================================= */

:root {
    /* Core Brand Colors - Refined */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    
    /* AAA UI Colors */
    --sidebar-bg: #111827; /* Deep dark for contrast */
    --sidebar-width: 280px;
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --hover-bg: rgba(255, 255, 255, 0.08);
    --active-bg: rgba(79, 70, 229, 0.2);
    --active-border: #6366F1;
    
    /* Gamification Colors */
    --gold: #F59E0B;
    --xp-gradient: linear-gradient(90deg, #F59E0B, #FBBF24);
}

/* === SIDEBAR OVERRIDES === */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.1);
    z-index: 1000;
    border-right: none; /* Remove any old borders */
}

/* Keep sidebar above content when opened on mobile */
@media (max-width: 992px) {
    .sidebar {
        z-index: 10000;
    }
}

/* Logo Section */
.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: transparent; /* Ensure no old bg */
}

/* Sidebar collapse toggle is overbodig: hide it */
#sidebarToggle {
    display: none !important;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(79, 70, 229, 0.5));
}

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    margin: 0;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-gray);
    display: block;
    margin-top: -2px;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    margin: 24px 0 12px 12px;
    font-weight: 600;
}

.nav-category:first-child { margin-top: 0; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: transparent; /* Reset old styles */
    border: none;
}

.nav-item:hover {
    background: var(--hover-bg);
    color: var(--text-white);
    transform: translateX(4px);
}

.nav-item.active {
    background: var(--active-bg);
    color: var(--text-white);
    font-weight: 600;
    box-shadow: none; /* Reset old shadows */
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 3px;
    background: var(--active-border);
    border-radius: 0 4px 4px 0;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-item.active i {
    color: #818CF8;
}

/* Badge for notifications */
.badge {
    margin-left: auto;
    background: #EF4444;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

/* Special Items (Game/Shop) */
.nav-item.special:hover i {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* User Profile & Gamification Area */
.sidebar-footer {
    padding: 20px;
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.user-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.1);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    display: block;
    color: white;
}

.user-level {
    font-size: 11px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* XP Bar Integrated */
.xp-container {
    margin-top: 12px;
}

.xp-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.xp-track {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.xp-fill {
    height: 100%;
    width: 0%; /* Start at 0, JS will update */
    background: var(--xp-gradient);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    transition: width 0.5s ease;
}

/* ========================================= */
/* ===== AAA Layout V3 (Main Content) ===== */
/* ========================================= */

.main-content {
    background: var(--bg-primary);
}

/* Make the top header feel like a premium floating card */
.main-header {
    border-bottom: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    margin: 20px 30px 0;
    padding: 0 20px;
    top: 16px;
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .main-header {
        background: rgba(255, 255, 255, 0.78);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* Keep header controls on the original light theme */
.search-box input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.header-date,
.notification-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Restore light cards (but keep AAA radius/shadows) */
.calendar-container,
.events-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.events-sidebar .filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.event-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.calendar-day {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.view {
    padding: 20px 30px 30px;
}

.search-box input {
    background: var(--bg-secondary);
}

.header-date {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.notification-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* Calendar + right panel: same card language */
.calendar-container,
.events-sidebar {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.calendar-container {
    padding: 28px;
}

.calendar-day {
    border: 1px solid var(--border-light);
}

.calendar-day.selected {
    border: 2px solid var(--primary);
}

.events-sidebar {
    overflow: hidden;
}

.filter-btn {
    background: var(--bg-secondary);
}

.event-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}


/* ========================================= */
/* ===== GAME CENTER PAGE STYLES ===== */
/* ========================================= */

/* Page Header */
.game-center-page-header {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gc-header-left h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gc-header-left p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 14px;
}

.gc-header-stats {
    display: flex;
    gap: 12px;
}

.gc-stat {
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.gc-stat i {
    color: #FBBF24;
}

@media (max-width: 768px) {
    .game-center-page-header {
        padding: 20px;
        border-radius: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .gc-header-left h1 {
        font-size: 22px;
        justify-content: center;
    }
    
    .gc-header-stats {
        width: 100%;
        justify-content: center;
    }
    
    .gc-stat {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Section Title */
.section-title-gc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title-gc h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-title-gc h2 i {
    color: #8B5CF6;
}

.section-badge-large {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Games Grid */
.games-grid-section {
    margin-bottom: 28px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.game-card-large {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.game-card-large:hover {
    border-color: #8B5CF6;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.game-card-large:active {
    transform: scale(0.98);
}

.game-card-large.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.game-card-large.coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.game-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.game-card-icon.green {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.game-card-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.game-card-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.game-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.game-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.game-card-xp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #D97706;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.game-card-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.2s;
}

.game-card-large:hover .game-card-play {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.game-card-play.coming-soon-btn {
    background: #9CA3AF;
}

.game-card-large.coming-soon:hover .game-card-play {
    background: #9CA3AF;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .game-card-large {
        padding: 20px;
    }
    
    .game-card-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

/* Game Play Section */
.game-play-section-page {
    margin-bottom: 28px;
}

.game-play-section-page:empty {
    display: none;
}

.game-play-section-page .turbo-tapper-game,
.game-play-section-page .reaction-game,
.game-play-section-page .memory-game {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

/* Leaderboards Grid Page */
.leaderboards-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.leaderboard-card-page {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.leaderboard-card-header-page {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    padding: 16px 20px;
}

.leaderboard-card-header-page h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-list-page {
    padding: 16px;
}

.leaderboard-row-page {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.leaderboard-row-page:last-child {
    margin-bottom: 0;
}

.leaderboard-row-page:hover {
    transform: translateX(4px);
}

.leaderboard-row-page.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.leaderboard-row-page.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.leaderboard-row-page.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.leaderboard-row-page.highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.leaderboard-row-page .rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: var(--bg-secondary);
    border-radius: 8px;
    flex-shrink: 0;
}

.leaderboard-row-page .name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-row-page .score {
    font-weight: 700;
    font-size: 13px;
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .leaderboards-grid-page {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== GAME PAGE SPECIFIC STYLES ===== */

/* Back Button */
.gc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.gc-back-btn:hover {
    background: var(--bg-tertiary);
    border-color: #8B5CF6;
    color: #8B5CF6;
}

/* Turbo Tapper Game */
.turbo-tapper-game {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.turbo-tapper-game h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.turbo-tapper-game p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tap-timer {
    font-size: 48px;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 16px;
}

.tap-counter {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.tap-counter span {
    font-weight: 700;
    color: #10B981;
}

.tap-button {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5E7EB, #D1D5DB);
    border: none;
    font-size: 24px;
    font-weight: 700;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 24px;
    transition: all 0.15s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.tap-button.active {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    cursor: pointer;
    animation: pulse-glow 1s infinite;
}

.tap-button.active:hover {
    transform: scale(1.05);
}

.tap-button.tapped {
    transform: scale(0.92);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.7); }
}

.start-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.start-game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* Game Result */
.game-result {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
}

.game-result h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.result-score {
    font-size: 56px;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 12px;
}

.result-xp {
    font-size: 20px;
    color: #F59E0B;
    font-weight: 600;
    margin-bottom: 28px;
}

/* Reaction Time Game */
.reaction-game {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.reaction-game h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.reaction-game p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.reaction-box {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
    border-radius: 20px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.reaction-box span {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.reaction-box.red {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.reaction-box.green {
    background: linear-gradient(135deg, #10B981, #059669);
    animation: pulse-green 0.3s infinite;
}

@keyframes pulse-green {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Memory Game */
.memory-game {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.memory-game h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.memory-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--text-secondary);
}

.memory-stats strong {
    color: #8B5CF6;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
}

.memory-card {
    aspect-ratio: 1;
    cursor: pointer;
    perspective: 1000px;
}

.memory-card .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s;
}

.memory-card.flipped .card-inner,
.memory-card.matched .card-inner {
    transform: rotateY(180deg);
}

.memory-card .card-front,
.memory-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.memory-card .card-front {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.memory-card .card-back {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    transform: rotateY(180deg);
}

.memory-card.matched .card-back {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border-color: #10B981;
}

@media (max-width: 480px) {
    .memory-grid {
        gap: 8px;
        max-width: 280px;
    }
    
    .memory-card .card-front,
    .memory-card .card-back {
        font-size: 24px;
    }
    
    .tap-button {
        width: 140px;
        height: 140px;
        font-size: 20px;
    }
    
    .result-score {
        font-size: 42px;
    }
}

/* Progress Bar for Turbo Tapper */
.tap-progress {
    width: 80%;
    max-width: 300px;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    margin: 16px auto;
    overflow: hidden;
}

.tap-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    border-radius: 6px;
    transition: width 0.1s ease;
}

.tap-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* Leaderboard Empty State */
.leaderboard-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================= */
/* ===== GAME CENTER - NEW STRUCTURE ===== */
/* ========================================= */

/* Shop button in header */
.gc-shop-btn {
    cursor: pointer;
    background: rgba(255,255,255,0.25) !important;
}

.gc-shop-btn:hover {
    background: rgba(255,255,255,0.35) !important;
}

/* Game card meta info */
.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-card-best {
    font-size: 13px;
    color: #10B981;
    font-weight: 600;
}

/* Icon color variants */
.game-card-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

/* ===== XP PROGRESS CARD ===== */
.gc-xp-progress-card {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.gc-xp-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.gc-xp-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gc-xp-total {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-xp-total strong {
    font-size: 28px;
    font-weight: 800;
}

.gc-xp-total i {
    color: #FCD34D;
}

.gc-xp-streak {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gc-xp-streak i {
    color: #FB923C;
}

.gc-level-badge {
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 8px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.gc-level-badge span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.gc-level-badge strong {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.gc-xp-progress-bar-container {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gc-xp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FCD34D, #FBBF24);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.5);
}

.gc-xp-progress-text {
    font-size: 13px;
    opacity: 0.9;
    text-align: center;
}

.gc-xp-stat {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.2), rgba(251, 191, 36, 0.1)) !important;
    border: 1px solid rgba(252, 211, 77, 0.3) !important;
}

/* Mobile responsive for XP card */
@media (max-width: 480px) {
    .gc-xp-progress-card {
        padding: 16px 18px;
    }
    
    .gc-xp-total strong {
        font-size: 24px;
    }
    
    .gc-level-badge strong {
        font-size: 24px;
    }
}

/* ===== GAME DETAIL PAGE ===== */
.gc-game-detail {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gc-detail-header {
    margin-bottom: 24px;
}

.gc-detail-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.gc-detail-title .game-card-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    flex-shrink: 0;
}

.gc-detail-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.gc-detail-title p {
    color: var(--text-secondary);
    margin: 4px 0 0;
}

.gc-detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* How to Play Card */
.gc-how-to-play {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.gc-how-to-play h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-how-to-play h3 i {
    color: #8B5CF6;
}

.gc-how-to-play p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.gc-xp-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.xp-badge.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: #B8860B;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.xp-badge.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.1));
    color: #6B7280;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.xp-badge.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(205, 127, 50, 0.1));
    color: #A0522D;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

/* Play Button */
.gc-play-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.gc-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.gc-play-btn:active {
    transform: scale(0.98);
}

/* Leaderboards in Detail */
.gc-leaderboards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gc-leaderboard-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.gc-leaderboard-section h3 {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc-leaderboard-list {
    padding: 12px;
    min-height: 100px;
}

.gc-leaderboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.gc-leaderboard-row:last-child {
    margin-bottom: 0;
}

.gc-leaderboard-row:hover {
    transform: translateX(4px);
}

.gc-leaderboard-row.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.gc-leaderboard-row.rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.gc-leaderboard-row.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.gc-leaderboard-row.is-me {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.gc-rank {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.gc-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-score {
    font-weight: 700;
    font-size: 13px;
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.gc-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.gc-loading {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
}

/* ===== ACTIVE GAME CONTAINER ===== */
.gc-active-game {
    animation: fadeIn 0.2s ease;
}

.gc-game-container {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    max-width: 500px;
    margin: 0 auto;
}

.gc-game-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gc-game-header p {
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.gc-game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gc-stat-box {
    background: var(--bg-tertiary);
    padding: 12px 24px;
    border-radius: 12px;
    min-width: 100px;
}

.gc-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.gc-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #8B5CF6;
}

.gc-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ===== GAME RESULT ===== */
.gc-result {
    padding: 40px 24px;
}

.gc-result-medal {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.gc-result-medal.gold { color: #FFD700; }
.gc-result-medal.silver { color: #C0C0C0; }
.gc-result-medal.bronze { color: #CD7F32; }

.gc-result-score {
    font-size: 56px;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 8px;
}

.gc-result-xp {
    font-size: 20px;
    color: #F59E0B;
    font-weight: 600;
    margin-bottom: 32px;
}

.gc-result-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gc-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.gc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.gc-btn-secondary {
    width: 100%;
    padding: 14px 24px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.gc-btn-secondary:hover {
    border-color: #8B5CF6;
    color: #8B5CF6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gc-detail-title {
        flex-direction: column;
        text-align: center;
    }
    
    .gc-detail-title h1 {
        font-size: 24px;
    }
    
    .gc-xp-rewards {
        justify-content: center;
    }
    
    .gc-leaderboards {
        grid-template-columns: 1fr;
    }
    
    .gc-result-score {
        font-size: 42px;
    }
    
    .gc-stat-value {
        font-size: 20px;
    }
    
    .gc-stat-box {
        padding: 10px 16px;
        min-width: 80px;
    }
}

/* ========================================= */
/* ===== WHEEL OF FORTUNE GAME ===== */
/* ========================================= */

.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 24px auto;
}

.wheel-arrow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #EE5253;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #FF6B6B 0deg 60deg,
        #FFE66D 60deg 120deg,
        #4ECDC4 120deg 180deg,
        #95E1D3 180deg 240deg,
        #F38181 240deg 300deg,
        #AA96DA 300deg 360deg
    );
    box-shadow: 
        0 0 0 8px #2D3748,
        0 0 0 12px #4A5568,
        0 8px 32px rgba(0,0,0,0.3);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0; /* Hide text segments - visual is from conic-gradient */
}

.wheel-spin-btn {
    font-size: 18px;
    padding: 16px 48px;
    margin-top: 16px;
}

.wheel-cooldown {
    background: var(--bg-tertiary);
    padding: 16px 32px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.wheel-cooldown i {
    color: #F59E0B;
}

.wheel-result {
    min-height: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
}

.wheel-result.win {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #059669;
}

.wheel-result.lose {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.wheel-win {
    color: #059669;
}

.wheel-lose {
    color: #DC2626;
}

/* ========================================= */
/* ===== FOCUS SEQUENCE (SIMON SAYS) ===== */
/* ========================================= */

.simon-level {
    font-size: 28px;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 24px;
}

.simon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 280px;
    margin: 0 auto 24px;
}

.simon-btn {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    opacity: 0.7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.simon-btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.simon-btn.active {
    opacity: 1;
    transform: scale(0.95);
    box-shadow: 0 0 30px currentColor;
}

.simon-green {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #10B981;
}

.simon-red {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #EF4444;
}

.simon-yellow {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #F59E0B;
}

.simon-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #3B82F6;
}

.simon-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

/* Focus Sequence Result Styling */
.focus-sequence .gc-result-score {
    font-size: 36px;
}

.focus-sequence .gc-result-score::before {
    content: 'Level ';
    font-size: 20px;
    color: var(--text-secondary);
}

/* Mobile responsive for wheel and simon */
@media (max-width: 480px) {
    .wheel-container {
        width: 220px;
        height: 220px;
    }
    
    .wheel-arrow {
        font-size: 26px;
    }
    
    .simon-grid {
        max-width: 240px;
        gap: 10px;
    }
    
    .simon-btn {
        border-radius: 16px;
    }
    
    .wheel-spin-btn {
        padding: 14px 36px;
        font-size: 16px;
    }
}

/* ========================================= */
/* ===== PLANDO SHOP - FULL PAGE ===== */
/* ========================================= */

/* Shop Header - Matches Game Center */
.shop-page-header {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-header-left h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-header-left p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 14px;
}

.shop-header-stats {
    display: flex;
    gap: 12px;
}

.shop-stat {
    background: rgba(255,255,255,0.2);
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.shop-stat i {
    color: #FBBF24;
}

.shop-xp-stat {
    cursor: default;
}

.shop-game-btn {
    cursor: pointer;
    background: rgba(255,255,255,0.25);
}

.shop-game-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* Shop Sections */
.shop-section {
    margin-bottom: 32px;
}

.shop-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.shop-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.shop-section-header h2 i {
    color: #10B981;
}

.shop-section-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
}

.shop-section-badge.viral {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.shop-section-badge.achievements {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.shop-section-badge.rewards {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
}

/* Shop Action Cards Grid */
.shop-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.shop-action-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.shop-action-card:hover {
    border-color: #10B981;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.shop-action-card.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
    border-color: rgba(16, 185, 129, 0.3);
}

/* Coming Soon Card */
.shop-action-card.coming-soon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.02));
    border-color: rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.shop-action-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(139, 92, 246, 0.03) 10px,
        rgba(139, 92, 246, 0.03) 20px
    );
    pointer-events: none;
}

.shop-action-card.coming-soon:hover {
    border-color: #8B5CF6;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.shop-card-icon.video-ad {
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
}

.shop-card-icon.video-ad-bonus {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
}

.video-ad-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.video-ad-info i {
    color: #8B5CF6;
}

.video-ad-limit {
    opacity: 0.7;
}

.xp-badge.coming {
    background: linear-gradient(135deg, #8B5CF6, #6366F1) !important;
    opacity: 0.8;
}

.shop-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.shop-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.shop-card-icon.streak {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.shop-card-icon.invite {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.shop-card-icon.social {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.shop-card-icon.planning {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.shop-card-icon.tasks {
    background: linear-gradient(135deg, #10B981, #059669);
}

.shop-card-icon.calendar {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
}

.shop-card-icon.family {
    background: linear-gradient(135deg, #F97316, #EA580C);
}

.shop-card-icon.review {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.shop-card-content {
    flex: 1;
    min-width: 0;
}

.shop-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.shop-card-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.shop-card-reward {
    flex-shrink: 0;
}

.xp-badge.earn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #059669;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* Streak Display */
.shop-streak-display {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.streak-day {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.streak-day.active {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border-color: #10B981;
}

.streak-day.bonus {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border-color: #F59E0B;
}

.streak-day.claimed {
    background: var(--bg-tertiary);
    color: #10B981;
    border-color: #10B981;
}

/* Invite Stats */
.invite-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.invite-stats i {
    color: #8B5CF6;
    margin-right: 4px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    font-size: 20px;
    margin-top: 8px;
}

.social-icons i {
    transition: transform 0.2s;
}

.social-icons .fa-whatsapp { color: #25D366; }
.social-icons .fa-facebook { color: #1877F2; }
.social-icons .fa-instagram { color: #E4405F; }
.social-icons .fa-twitter { color: #1DA1F2; }

.shop-action-card:hover .social-icons i {
    transform: scale(1.1);
}

/* Planning Status */
.planning-status {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.planning-status.available {
    color: #10B981;
}

/* Task Progress */
.task-progress {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.task-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.task-count {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Challenge Preview */
.challenge-preview {
    font-size: 13px;
    color: #F97316;
    font-weight: 600;
}

/* Review Stars */
.review-stars {
    display: flex;
    gap: 4px;
    font-size: 18px;
    color: #FBBF24;
    margin-top: 8px;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.achievement-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--border-color);
    opacity: 0.6;
    transition: all 0.2s;
}

.achievement-card.unlocked {
    opacity: 1;
    border-color: #10B981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent);
}

.achievement-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.achievement-icon.locked {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.achievement-info {
    flex: 1;
    min-width: 0;
}

.achievement-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.achievement-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.achievement-xp {
    font-size: 12px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.reward-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.2s;
    position: relative;
}

.reward-card:hover {
    border-color: #EC4899;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.15);
}

.reward-card.featured {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(236, 72, 153, 0.02));
    border-color: rgba(236, 72, 153, 0.3);
}

.reward-card.charity {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
    border-color: rgba(239, 68, 68, 0.3);
}

.reward-card.charity:hover {
    border-color: #EF4444;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.reward-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.reward-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
}

.reward-icon.premium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.reward-icon.theme {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.reward-icon.avatar {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.reward-icon.booster {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.reward-icon.sound {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.reward-icon.charity {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.reward-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.reward-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.reward-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.reward-features li {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reward-features li i {
    color: #10B981;
    font-size: 10px;
}

.reward-buy-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.reward-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.reward-buy-btn.charity {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.reward-buy-btn.charity:hover {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

/* Ultimate/Gold Reward Card */
.reward-card.ultimate {
    border: 3px solid #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.reward-card.ultimate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.reward-icon.premium.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.reward-icon.premium.gold i {
    color: #8B4513;
}

.reward-buy-btn.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-weight: 700;
}

.reward-buy-btn.gold:hover {
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

/* Booster Button Styling */
.reward-buy-btn.booster {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.reward-buy-btn.booster:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Featured Booster Card */
.reward-card.featured-booster {
    border: 2px solid #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
}

/* Ultimate Booster Card */
.reward-card.ultimate-booster {
    border: 3px solid #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.08));
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.reward-card.ultimate-booster::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.reward-icon.booster.gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.reward-buy-btn.booster-gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #1a1a2e;
    font-weight: 700;
}

.reward-buy-btn.booster-gold:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

/* Dual Button Layout */
.reward-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
}

.reward-buttons .reward-buy-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
}

.reward-buy-btn.money {
    background: linear-gradient(135deg, #10B981, #059669);
}

.reward-buy-btn.money:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.reward-buy-btn.money-gold {
    background: linear-gradient(135deg, #10B981, #059669);
    font-weight: 700;
}

.reward-buy-btn.money-gold:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

/* Payment Modal */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.payment-modal {
    background: var(--bg-primary);
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-color);
}

.payment-modal-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 24px;
    text-align: center;
    color: #1a1a2e;
}

.payment-modal-header i {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.payment-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.payment-modal-body {
    padding: 24px;
}

.payment-product {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-product-icon {
    font-size: 2rem;
}

.payment-product-info {
    flex: 1;
}

.payment-product-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.payment-product-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
}

.payment-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-feature i {
    color: #10B981;
}

.payment-methods {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.payment-methods p {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-method-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.payment-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: var(--bg-secondary);
}

.payment-cancel-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-cancel-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.payment-confirm-btn {
    flex: 2;
    padding: 14px;
    border: none;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.payment-confirm-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Shop Leaderboards */
.shop-leaderboards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.shop-leaderboard-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--border-color);
}

.shop-leaderboard-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-leaderboard-card h3 i {
    color: #F59E0B;
}

.shop-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-lb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.2s;
}

.shop-lb-row.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
}

.shop-lb-row.rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
}

.shop-lb-row.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
}

.shop-lb-row.is-me {
    border: 2px solid #8B5CF6;
}

.lb-rank {
    font-size: 16px;
    min-width: 28px;
    text-align: center;
}

.lb-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.lb-xp {
    font-size: 13px;
    font-weight: 700;
    color: #8B5CF6;
}

/* Mobile Responsive for Shop */
@media (max-width: 768px) {
    .shop-page-header {
        padding: 20px;
        border-radius: 16px;
    }
    
    .shop-header-left h1 {
        font-size: 22px;
    }
    
    .shop-header-stats {
        width: 100%;
        justify-content: center;
    }
    
    .shop-stat {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .shop-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-leaderboards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-action-card {
        padding: 16px;
    }
    
    .shop-card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* =====================================================
   APPOINTMENTS PAGE - Full Page View
   ===================================================== */
.appointments-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.appointments-header-left h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.appointments-header-left h1 i {
    color: var(--primary);
}

.appointments-header-left p {
    margin: 0;
    color: var(--text-secondary);
}

.appointments-content {
    padding: 0 24px 24px;
    max-width: 900px;
}

.appointments-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.appointments-filters .filter-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.appointments-filters .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.appointments-filters .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointments-list .event-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.appointments-list .empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.appointments-list .empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.appointments-list .empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
}

@media (max-width: 768px) {
    .appointments-page-header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }
    
    .appointments-header-left h1 {
        font-size: 1.4rem;
        justify-content: center;
    }
    
    .appointments-content {
        padding: 0 16px 16px;
    }
    
    .appointments-filters {
        justify-content: center;
    }
    
    .appointments-filters .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* =====================================================
   SETTINGS PAGE - Full Page View
   ===================================================== */
.settings-page-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.settings-header-left h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-header-left h1 i {
    color: var(--primary-color);
}

.settings-header-left p {
    margin: 0;
    color: var(--text-secondary);
}

.settings-page-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 0 24px 24px;
    max-width: 1200px;
}

/* Settings Navigation */
.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 24px;
    height: fit-content;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.settings-nav-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.settings-nav-item:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.settings-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
}

/* Settings Content */
.settings-content {
    min-height: 500px;
}

.settings-section-content {
    display: none;
}

.settings-section-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.settings-section-header {
    margin-bottom: 24px;
}

.settings-section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section-header h2 i {
    color: var(--primary-color);
}

.settings-section-header p {
    margin: 0;
    color: var(--text-secondary);
}

.settings-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.settings-card.danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent);
}

/* =====================================================
   LEGAL PAGES (Privacy / Cookies)
   ===================================================== */
.legal-page {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 24px 16px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
}

.legal-container h1 {
    margin: 8px 0 6px;
}

.legal-updated {
    margin: 0 0 18px;
    color: var(--text-secondary);
}

.legal-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.legal-card h2 {
    margin: 0 0 10px;
}

.legal-card h3 {
    margin: 14px 0 8px;
}

.legal-card p,
.legal-card li {
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-card a {
    color: var(--primary-color);
}

.legal-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
}

.cookie-consent-content {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 14px;
}

.cookie-consent-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cookie-consent-text strong {
    color: var(--text-primary);
}

.cookie-consent-text span {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.4;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.cookie-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
}

.cookie-btn.secondary:hover {
    border-color: var(--primary-color);
}

@media (max-width: 520px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-consent-actions {
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

.settings-card.danger h4 {
    color: #EF4444;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Profile Section in Settings */
.settings-card .profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.settings-card .profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
    overflow: hidden;
}

.settings-card .profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subscription Card */
.current-plan-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 24px;
}

.plan-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.plan-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
}

.plan-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-upgrade-premium {
    padding: 12px 24px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-upgrade-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.premium-benefits h4 {
    margin: 0 0 16px 0;
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.benefit-item i {
    color: var(--primary-color);
}

/* Danger Items */
.danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.danger-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.danger-info {
    display: flex;
    flex-direction: column;
}

.danger-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.danger-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
}

/* Responsive Settings Page */
@media (max-width: 900px) {
    .settings-page-layout {
        grid-template-columns: 1fr;
        padding: 0 12px 16px;
        gap: 12px;
    }
    
    .settings-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        position: static;
        background: var(--bg-secondary);
        border-radius: 12px;
        padding: 8px;
        border: 2px solid var(--border-color);
    }
    
    .settings-nav-item {
        flex-direction: column;
        gap: 4px;
        padding: 10px 6px;
        text-align: center;
        justify-content: center;
        font-size: 0.75rem;
        border-radius: 8px;
    }
    
    .settings-nav-item i {
        width: auto;
        font-size: 1.1rem;
    }
    
    .settings-nav-item span {
        display: block;
        font-size: 0.65rem;
        line-height: 1.1;
        white-space: nowrap;
    }
    
    .settings-page-header {
        padding: 12px;
    }
    
    .settings-page-header h1 {
        font-size: 1.2rem;
    }
    
    .settings-page-header p {
        font-size: 0.85rem;
    }
    
    .settings-section-header {
        margin-bottom: 12px;
    }
    
    .settings-section-header h2 {
        font-size: 1.2rem;
    }
    
    .settings-card {
        padding: 16px;
        border-radius: 12px;
    }
    
    .settings-content {
        min-height: auto;
    }
    
    .current-plan-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plan-status {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* Profile section mobile */
    .settings-card .profile-avatar-section {
        padding: 16px;
    }
    
    .settings-card .profile-avatar-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .profile-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    /* Settings toggle items mobile */
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
    }
    
    .setting-info {
        width: 100%;
    }
    
    /* Theme options mobile */
    .theme-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .theme-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Color options mobile */
    .color-options {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .color-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Appearance options mobile */
    .appearance-option {
        margin-bottom: 20px;
    }
    
    .appearance-option h4 {
        margin-bottom: 12px;
    }
    
    /* Save button mobile */
    .btn-save-settings {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .settings-nav {
        grid-template-columns: repeat(3, 1fr);
        padding: 6px;
        gap: 4px;
    }
    
    .settings-nav-item {
        padding: 8px 4px;
        border-radius: 6px;
    }
    
    .settings-nav-item i {
        font-size: 1rem;
    }
    
    .settings-nav-item span {
        font-size: 0.6rem;
    }
    
    .settings-page-header {
        padding: 10px 12px;
    }
    
    .settings-page-header h1 {
        font-size: 1.1rem;
    }
    
    .settings-page-header p {
        font-size: 0.8rem;
    }
    
    .settings-card {
        padding: 12px;
    }
    
    .settings-section-header h2 {
        font-size: 1rem;
    }
    
    .settings-section-header p {
        font-size: 0.8rem;
    }
    
    /* Sync providers mobile */
    .sync-provider {
        padding: 12px;
    }
    
    .sync-provider-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .sync-provider-details h4 {
        font-size: 0.9rem;
    }
    
    .btn-sync-connect {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    /* App download promo mobile */
    .app-promo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .app-download-promo h3 {
        font-size: 1.2rem;
    }
    
    .btn-install-pwa {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    
    .store-badge {
        padding: 10px 14px;
    }
    
    .store-badge i {
        font-size: 1.5rem;
    }
    
    .store-badge span {
        font-size: 0.85rem;
    }
}

/* ========================================== */
/* AAA LANDING PAGE - GAMIFICATION SECTION    */
/* ========================================== */

.gamification-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
}

.gamification-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.gamification-section .section-header {
    position: relative;
    z-index: 1;
}

.gamification-section .section-header h2 {
    color: white;
}

.gamification-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.gamification-section .section-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Gamification Showcase Cards */
.gamification-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.showcase-icon.shop {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.showcase-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.showcase-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.mini-game {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mini-game:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.mini-game i {
    color: #fbbf24;
}

.shop-rewards-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.shop-reward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
}

.shop-reward-item i {
    color: #fbbf24;
}

.showcase-xp {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    padding: 16px 20px;
    border-radius: 12px;
    color: #fbbf24;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.showcase-xp strong {
    color: white;
}

/* XP Earning Section */
.xp-earning-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.xp-earning-section h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.xp-earning-section h4 i {
    color: #f59e0b;
}

.xp-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.xp-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.xp-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.xp-method i {
    font-size: 28px;
    color: #8b5cf6;
}

.xp-method span {
    color: white;
    font-size: 14px;
}

.xp-method strong {
    color: #fbbf24;
    font-size: 16px;
}

/* ========================================== */
/* AAA LANDING PAGE - NEW PRICING SECTION     */
/* ========================================== */

.pricing-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f5f3ff 100%);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-label.active {
    color: var(--primary);
    font-weight: 600;
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: var(--primary);
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.xp-mode .toggle-slider {
    left: 32px;
}

/* New Pricing Grid - 5 Cards */
.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.pricing-card-new {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.pricing-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card-new.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
    z-index: 2;
}

.pricing-card-new.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card-new.ultimate {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: #f59e0b;
    color: white;
}

.pricing-card-new.ultimate:hover {
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.3);
}

.pricing-badge-new {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-badge-new.fire {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.pricing-badge-new.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Plan Icons */
.plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 16px;
}

.plan-icon.free {
    background: linear-gradient(135deg, #10b981, #059669);
}

.plan-icon.week {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.plan-icon.month {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.plan-icon.half-year {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.plan-icon.year {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.pricing-header-new h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pricing-card-new.ultimate .pricing-header-new h3 {
    color: white;
}

.pricing-price-new {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-card-new.ultimate .price-amount {
    color: #fbbf24;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
}

.pricing-card-new.ultimate .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.price-xp {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-card-new.ultimate .price-xp {
    color: #a5b4fc;
}

.price-xp strong {
    color: #8b5cf6;
}

.pricing-card-new.ultimate .price-xp strong {
    color: #fbbf24;
}

.price-save {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.price-save.gold {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
}

/* Pricing Features List */
.pricing-features-new {
    list-style: none;
    text-align: left;
    flex: 1;
    margin-bottom: 24px;
}

.pricing-features-new li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features-new li:last-child {
    border-bottom: none;
}

.pricing-card-new.ultimate .pricing-features-new li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features-new li.included i {
    color: #10b981;
}

.pricing-features-new li.excluded {
    color: var(--text-muted);
}

.pricing-features-new li.excluded i {
    color: #ef4444;
}

.pricing-features-new li.highlight {
    font-weight: 600;
}

.pricing-features-new li.highlight i {
    color: #8b5cf6;
}

.pricing-card-new.ultimate .pricing-features-new li i {
    color: #fbbf24;
}

/* Pricing Buttons */
.pricing-btn-new {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.pricing-btn-new:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pricing-btn-new.secondary {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.pricing-btn-new.secondary:hover {
    background: #e5e7eb;
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-btn-new.primary {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border: none;
}

.pricing-btn-new.primary:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

.pricing-btn-new.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    font-size: 15px;
}

.pricing-btn-new.gold:hover {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
    transform: translateY(-3px);
}

/* Donation Section */
.donation-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.donation-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 2px solid #f59e0b;
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.donation-content {
    flex: 1;
}

.donation-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.donation-content p {
    color: #b45309;
    margin-bottom: 20px;
}

.donation-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.donate-btn-new {
    padding: 12px 24px;
    background: white;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    font-weight: 600;
    color: #b45309;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn-new:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

.donate-btn-new.custom {
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-btn-new.custom:hover {
    background: #d97706;
}

/* Premium Features Overview */
.premium-features-overview {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.premium-features-overview h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.premium-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.premium-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.premium-benefit:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.premium-benefit i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
}

.premium-benefit span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Responsive - Gamification Section */
@media (max-width: 992px) {
    .gamification-showcase {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-card-new.featured {
        transform: none;
        grid-column: span 2;
    }
    
    .pricing-card-new.featured:hover {
        transform: translateY(-10px);
    }
    
    .premium-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gamification-section {
        padding: 60px 5%;
    }
    
    .showcase-card {
        padding: 30px;
    }
    
    .showcase-features {
        gap: 8px;
    }
    
    .mini-game {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .shop-rewards-preview {
        grid-template-columns: 1fr;
    }
    
    .xp-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pricing-card-new.featured {
        grid-column: span 1;
    }
    
    .pricing-card-new,
    .pricing-card-new.featured {
        transform: none;
    }
    
    .pricing-card-new:hover,
    .pricing-card-new.featured:hover {
        transform: translateY(-5px);
    }
    
    .donation-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .donation-buttons {
        justify-content: center;
    }
    
    .premium-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .xp-methods {
        grid-template-columns: 1fr;
    }
    
    .donation-buttons {
        flex-direction: column;
    }
    
    .donate-btn-new {
        width: 100%;
    }
}


/* ========================================== */
/* NEW FEATURES SECTION - DARK GRADIENT STYLE */
/* ========================================== */

.features-section-new {
    padding: 100px 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

.features-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.features-section-new .section-header {
    position: relative;
    z-index: 1;
}

.features-section-new .section-header h2 {
    color: white;
}

.features-section-new .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.features-section-new .section-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.feature-showcase-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.feature-showcase-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.feature-showcase-card.featured {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.feature-new-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.feature-showcase-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-showcase-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-showcase-icon.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-showcase-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-showcase-icon.location {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.feature-showcase-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.feature-showcase-icon.mint {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.feature-showcase-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-showcase-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.feature-tag i {
    color: #a78bfa;
    font-size: 11px;
}

/* Extra Features Bar */
.extra-features-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.extra-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.extra-feature i {
    color: #fbbf24;
    font-size: 16px;
}

/* ========================================== */
/* NEW ABOUT SECTION - DARK GRADIENT STYLE   */
/* ========================================== */

.about-section-new {
    padding: 100px 5%;
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 50%, #581c87 100%);
    position: relative;
    overflow: hidden;
}

.about-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-section-new .section-header {
    position: relative;
    z-index: 1;
}

.about-section-new .section-header h2 {
    color: white;
}

.about-section-new .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.about-section-new .section-badge {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
}

.about-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.about-story-card,
.about-mission-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.about-story-card:hover,
.about-mission-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-story-icon,
.about-mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.about-mission-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.about-story-content h3,
.about-mission-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-story-content p,
.about-mission-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.mission-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mission-highlight i {
    color: #fbbf24;
    font-size: 20px;
}

.mission-highlight span {
    color: #fbbf24;
    font-size: 16px;
}

.about-features-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-mini-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.about-mini-feature i {
    color: #10b981;
    font-size: 14px;
}

/* Team Showcase */
.team-showcase {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-showcase h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.team-showcase h4 i {
    color: #a78bfa;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.team-avatar-new {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.team-info-new {
    text-align: left;
}

.team-info-new strong {
    display: block;
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.team-info-new span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-info-new span i {
    color: #a78bfa;
}

/* Business Card */
.business-card-new {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.business-card-new:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.business-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.business-content h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.business-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
}

.business-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.business-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ========================================== */
/* RESPONSIVE - NEW SECTIONS                  */
/* ========================================== */

@media (max-width: 1024px) {
    .features-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-section-new,
    .about-section-new {
        padding: 60px 5%;
    }
    
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-showcase-card {
        padding: 24px;
    }
    
    .extra-features-bar {
        padding: 20px;
        gap: 15px;
    }
    
    .extra-feature {
        font-size: 13px;
    }
    
    .about-story-card,
    .about-mission-card {
        padding: 30px;
    }
    
    .team-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .team-card {
        width: 100%;
        max-width: 300px;
    }
    
    .business-card-new {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .business-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .feature-highlights {
        gap: 6px;
    }
    
    .feature-tag {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .extra-features-bar {
        flex-direction: column;
        align-items: center;
    }
}


/* ========================================== */
/* NEW HERO SECTION - DARK GRADIENT STYLE    */
/* ========================================== */

.hero-section-new {
    min-height: 100vh;
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-glow.glow-1 {
    width: 600px;
    height: 600px;
    background: #8b5cf6;
    top: -200px;
    right: -100px;
}

.hero-glow.glow-2 {
    width: 400px;
    height: 400px;
    background: #ec4899;
    bottom: -100px;
    left: -100px;
}

.hero-glow.glow-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 50%;
    left: 30%;
    opacity: 0.2;
}

.hero-content-new {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-new {
    color: white;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 24px;
}

.hero-badge-new i {
    color: #fbbf24;
}

.hero-text-new h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.gradient-text-new {
    background: linear-gradient(135deg, #a78bfa, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-new p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons-new {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.hero-btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.hero-btn-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn-secondary-new:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats-new {
    display: flex;
    gap: 32px;
}

.hero-stat-new {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-new i {
    font-size: 24px;
    color: #a78bfa;
}

.hero-stat-new .stat-content strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.hero-stat-new .stat-content span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Phone New */
.hero-visual-new {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-phone-new {
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen-new {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 40px;
    padding: 60px 20px 20px;
    overflow: hidden;
}

.phone-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.phone-date-new {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.phone-avatars-new {
    display: flex;
    gap: -8px;
}

.phone-avatar-new {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    margin-left: -8px;
    border: 2px solid white;
}

.phone-avatar-new:first-child {
    margin-left: 0;
}

.phone-events-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-event-new {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.phone-event-new:hover {
    transform: translateX(5px);
}

.phone-event-new .event-indicator {
    width: 4px;
    height: 40px;
    background: var(--accent);
    border-radius: 4px;
}

.phone-event-new .event-content {
    flex: 1;
}

.event-time-new {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
}

.event-title-new {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.event-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.phone-add-btn {
    position: absolute;
    bottom: 100px;
    right: 35px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-element.float-1 {
    top: 50px;
    left: -30px;
    animation-delay: 0s;
    color: #fbbf24;
}

.floating-element.float-2 {
    bottom: 150px;
    left: -50px;
    animation-delay: 1s;
    color: #10b981;
}

.floating-element.float-3 {
    top: 100px;
    right: -40px;
    animation-delay: 2s;
    color: #8b5cf6;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
/* ========================================== */
/* NEW PRICING SECTION - DARK GRADIENT STYLE */
/* ========================================== */

.pricing-section-new {
    padding: 100px 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.pricing-section-new .section-header {
    position: relative;
    z-index: 1;
}

.pricing-section-new .section-header h2 {
    color: white;
}

.pricing-section-new .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-section-new .section-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

/* Pricing Toggle */
.pricing-toggle-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.toggle-label-new {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.toggle-label-new.active {
    color: #fbbf24;
}

.toggle-label-new i {
    font-size: 16px;
}

.toggle-switch-new {
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider-new {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    top: 3px;
    left: 4px;
    transition: transform 0.3s ease;
}

/* Pricing Cards Dark */
.pricing-card-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card-dark:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card-dark.featured {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.15);
    transform: scale(1.05);
}

.pricing-card-dark.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card-dark.ultimate {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
}

.pricing-badge-dark {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-badge-dark.fire {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.pricing-badge-dark.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
}

.pricing-header-dark {
    text-align: center;
    margin-bottom: 24px;
}

.plan-icon-dark {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.plan-icon-dark.free {
    background: linear-gradient(135deg, #64748b, #475569);
}

.plan-icon-dark.week {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.plan-icon-dark.month {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.plan-icon-dark.half-year {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.plan-icon-dark.year {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.pricing-header-dark h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.pricing-price-dark {
    margin-bottom: 8px;
}

.price-amount-dark {
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.price-period-dark {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.price-xp-dark {
    font-size: 13px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.price-save-dark {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.price-save-dark.gold {
    color: #fbbf24;
}

.pricing-features-dark {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pricing-features-dark li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features-dark li:last-child {
    border-bottom: none;
}

.pricing-features-dark li.included i {
    color: #10b981;
}

.pricing-features-dark li.excluded {
    color: rgba(255, 255, 255, 0.4);
}

.pricing-features-dark li.excluded i {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-features-dark li.highlight {
    color: white;
}

.pricing-btn-dark {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-btn-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pricing-btn-dark.primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
}

.pricing-btn-dark.primary:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.pricing-btn-dark.secondary {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-btn-dark.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    border: none;
}

.pricing-btn-dark.gold:hover {
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Donation Section New */
.donation-section-new {
    max-width: 700px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.donation-card-new {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.donation-icon-new {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.donation-content-new h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donation-content-new p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.donation-buttons-new {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.donate-btn-dark {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn-dark:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: rgba(236, 72, 153, 0.5);
}

.donate-btn-dark.custom {
    background: linear-gradient(135deg, #ec4899, #db2777);
    border: none;
}


/* ========================================== */
/* NEW LOGIN SECTION - DARK GRADIENT STYLE   */
/* ========================================== */

.login-section-new {
    padding: 100px 5%;
    background: linear-gradient(135deg, #581c87 0%, #4c1d95 30%, #312e81 60%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.login-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.login-section-new .section-header {
    position: relative;
    z-index: 1;
}

.login-section-new .section-header h2 {
    color: white;
}

.login-section-new .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.login-section-new .section-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.login-showcase {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-card-new {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.login-logo-new {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo-icon-new {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
}

.login-logo-icon-new svg {
    width: 100%;
    height: 100%;
}

.login-logo-new h1 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.login-logo-new p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.login-content-new h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-content-new > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.google-login-btn-new {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: white;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-login-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.google-login-btn-new img {
    width: 20px;
    height: 20px;
}

.login-divider-new {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.login-divider-new::before,
.login-divider-new::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.login-divider-new span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.email-login-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-input-group-new label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.login-input-group-new label i {
    margin-right: 6px;
    color: #a78bfa;
}

.login-input-wrapper-new {
    position: relative;
}

.login-input-wrapper-new input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
}

.login-input-wrapper-new input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-input-wrapper-new input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.password-toggle-new {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
}

.password-toggle-new:hover {
    color: white;
}

.password-requirements-new {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 8px;
}

.password-requirements-new p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.password-requirements-new ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.password-requirements-new li {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-requirements-new li i {
    font-size: 6px;
}

.password-requirements-new li.valid {
    color: #10b981;
}

.email-login-btn-new {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.email-login-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.login-toggle-new {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-toggle-new span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.login-toggle-new button {
    background: none;
    border: none;
    color: #a78bfa;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    font-size: 14px;
}

.login-toggle-new button:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.login-features-new {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.login-feature-item i {
    color: #10b981;
}


/* ========================================== */
/* NEW FOOTER - DARK GRADIENT STYLE          */
/* ========================================== */

.landing-footer-new {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-new {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-new {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
}

.footer-brand-text .footer-brand-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-brand-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-links-new {
    display: flex;
    gap: 24px;
}

.footer-links-new a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links-new a:hover {
    color: #a78bfa;
}

.footer-links-new a i {
    font-size: 12px;
}

.footer-social-new {
    display: flex;
    gap: 12px;
}

.footer-social-new .social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-new .social-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom-new {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom-new p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}


/* ========================================== */
/* RESPONSIVE - ALL NEW SECTIONS             */
/* ========================================== */

@media (max-width: 1024px) {
    .hero-content-new {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text-new p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons-new {
        justify-content: center;
    }
    
    .hero-stats-new {
        justify-content: center;
    }
    
    .hero-visual-new {
        order: 0;
    }
    
    .floating-element {
        display: none;
    }
    
    .pricing-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card-dark.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-section-new {
        padding: 100px 5% 60px;
        min-height: auto;
    }
    
    .hero-text-new h1 {
        font-size: 36px;
    }
    
    .hero-stats-new {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-stat-new {
        padding: 12px 16px;
    }
    
    .hero-phone-new {
        width: 280px;
        height: 560px;
    }
    
    .video-features-bar {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .pricing-grid-new {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .donation-card-new {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .login-card-new {
        padding: 32px 24px;
    }
    
    .login-features-new {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-content-new {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-new {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons-new {
        flex-direction: column;
    }
    
    .hero-btn-primary-new,
    .hero-btn-secondary-new {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-new {
        flex-direction: column;
    }
    
    .hero-stat-new {
        width: 100%;
        justify-content: center;
    }
    
    .donation-buttons-new {
        flex-direction: column;
    }
    
    .donate-btn-dark {
        width: 100%;
    }
}

/* ============================================
   PWA Install Popup Styles
   ============================================ */

.pwa-install-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pwa-install-popup.active {
    opacity: 1;
    visibility: visible;
}

.pwa-popup-content {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 20px;
    padding: 24px;
    max-width: 360px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.pwa-install-popup.active .pwa-popup-content {
    transform: scale(1) translateY(0);
}

.pwa-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.pwa-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.pwa-popup-icon {
    margin-bottom: 12px;
}

.pwa-app-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.pwa-app-icon svg {
    width: 100%;
    height: 100%;
}

.pwa-popup-content h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.pwa-popup-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pwa-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pwa-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
}

.pwa-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pwa-feature span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.pwa-install-instructions {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    text-align: left;
    display: none;
}

.pwa-install-instructions.show {
    display: block;
}

.pwa-install-instructions h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pwa-install-instructions h4 i {
    font-size: 1rem;
}

.pwa-install-instructions ol {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 18px;
    margin: 0;
    font-size: 0.85rem;
}

.pwa-install-instructions ol li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.pwa-install-instructions ol li:last-child {
    margin-bottom: 0;
}

.pwa-install-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.pwa-install-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pwa-native-notice {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    text-align: left;
    line-height: 1.4;
}

.pwa-native-notice i {
    color: #6366f1;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.pwa-dont-show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    cursor: pointer;
}

.pwa-dont-show input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #6366f1;
}

/* PWA Popup Mobile Responsive */
@media (max-width: 400px) {
    .pwa-install-popup {
        padding: 12px;
    }
    
    .pwa-popup-content {
        padding: 20px 16px;
        border-radius: 16px;
        max-height: 85vh;
    }
    
    .pwa-popup-close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .pwa-app-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .pwa-popup-icon {
        margin-bottom: 10px;
    }
    
    .pwa-popup-content h2 {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }
    
    .pwa-popup-subtitle {
        font-size: 0.82rem;
        margin-bottom: 12px;
    }
    
    .pwa-features {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .pwa-feature i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .pwa-feature span {
        font-size: 0.7rem;
    }
    
    .pwa-install-instructions {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .pwa-install-instructions h4 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .pwa-install-instructions ol {
        font-size: 0.8rem;
        padding-left: 16px;
    }
    
    .pwa-install-instructions ol li {
        margin-bottom: 4px;
    }
    
    .pwa-install-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .pwa-native-notice {
        padding: 8px 10px;
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
    
    .pwa-native-notice i {
        font-size: 0.8rem;
    }
    
    .pwa-dont-show {
        font-size: 0.75rem;
    }
    
    .pwa-dont-show input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }
}

/* App Settings Section Styles */
.app-download-promo {
    text-align: center;
    padding: 20px;
}

.app-promo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.app-download-promo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.app-download-promo > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.6;
}

.app-install-buttons {
    margin-bottom: 32px;
}

.btn-install-pwa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-install-pwa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.app-stores-coming {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    border: 1px dashed var(--border-color);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.app-stores-coming > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.store-badges-preview {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-primary);
}

.store-badge.disabled {
    opacity: 0.5;
}

.store-badge i {
    font-size: 2rem;
}

.store-badge div {
    text-align: left;
}

.store-badge small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.store-badge span {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive store badges (keep app-store preview readable on mobile) */
@media (max-width: 480px) {
    .store-badges-preview {
        flex-direction: column;
    }
}

/* ============================================
   Calendar Sync Settings Styles
   ============================================ */

.calendar-sync-section {
    padding: 10px;
}

.sync-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sync-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.sync-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 0 0 4px 0;
}

.sync-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.sync-providers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sync-provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.sync-provider:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.sync-provider.connected {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
}

.sync-provider-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sync-provider-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.sync-provider-icon.google {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
}

.sync-provider-icon.microsoft {
    background: linear-gradient(135deg, #00a4ef 0%, #7fba00 50%, #f25022 75%, #ffb900 100%);
}

.sync-provider-icon.apple {
    background: linear-gradient(135deg, #555555 0%, #000000 100%);
}

.sync-provider-details h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.sync-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.sync-status.connected {
    color: #10b981;
}

.btn-sync-connect {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-sync-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-sync-connect.connected {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.btn-sync-connect.connected:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    box-shadow: none;
}

.btn-sync-disconnect {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: transparent;
    color: #ef4444;
}

.btn-sync-disconnect:hover {
    background: rgba(239, 68, 68, 0.1);
}

.sync-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sync-info-box i {
    color: #6366f1;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Sync Modal */
.sync-modal-content {
    text-align: center;
}

.sync-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.sync-modal-icon.google {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
}

.sync-modal-icon.microsoft {
    background: linear-gradient(135deg, #00a4ef 0%, #7fba00 50%, #f25022 75%, #ffb900 100%);
}

.sync-modal-icon.apple {
    background: linear-gradient(135deg, #555555 0%, #000000 100%);
}

.sync-permissions {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.sync-permissions h4 {
    color: white;
    font-size: 0.95rem;
    margin: 0 0 12px 0;
}

.sync-permissions ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.sync-permissions li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.sync-permissions li:last-child {
    margin-bottom: 0;
}

.sync-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.sync-buttons button {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sync-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-sync-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-sync-authorize {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
}

.btn-sync-authorize:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Responsive Calendar Sync */
@media (max-width: 600px) {
    .calendar-sync-section {
        padding: 5px;
    }
    
    .sync-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .sync-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .sync-header h3 {
        font-size: 1.05rem;
    }
    
    .sync-header p {
        font-size: 0.8rem;
    }
    
    .sync-providers {
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .sync-provider {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        padding: 12px;
        border-radius: 10px;
    }
    
    .sync-provider-info {
        flex: 1;
        gap: 10px;
        min-width: 0;
    }
    
    .sync-provider-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
        flex-shrink: 0;
    }
    
    .sync-provider-details {
        min-width: 0;
    }
    
    .sync-provider-details h4 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sync-status {
        font-size: 0.75rem;
    }
    
    .btn-sync-connect {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .btn-sync-connect i {
        display: none;
    }
    
    .sync-info-box {
        padding: 10px 12px;
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .sync-info-box i {
        font-size: 0.9rem;
    }
    
    .sync-buttons {
        flex-direction: column;
    }
    
    /* App download section mobile */
    .app-download-promo {
        padding: 10px;
    }
    
    .app-promo-icon {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
        margin-bottom: 14px;
    }
    
    .app-download-promo h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .app-download-promo > p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .app-install-buttons {
        margin-bottom: 20px;
    }
    
    .btn-install-pwa {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .app-stores-coming {
        padding: 16px;
    }
    
    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .app-stores-coming > p {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }
    
    .store-badges-preview {
        flex-direction: column;
        gap: 10px;
    }
    
    .store-badge {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .store-badge i {
        font-size: 1.5rem;
    }
    
    .store-badge small {
        font-size: 0.6rem;
    }
    
    .store-badge span {
        font-size: 0.85rem;
    }
}