:root {
    --primary-color: #4a9eff;
    --secondary-color: #1a2332;
    --background-color: #0a0e1a;
    --card-background: #0d1520;
    --status-blue: #1e3a5f;
    --status-border: #2a5a8f;
    --status-glow: #4a9eff;
    --text-color: #e8f0ff;
    --text-secondary: #7a8ba0;
    --gold-color: #ffd700;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at center, #0f1923 0%, #050a12 100%);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74, 158, 255, 0.03) 2px, rgba(74, 158, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(74, 158, 255, 0.03) 2px, rgba(74, 158, 255, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Screens */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Auth Screen */
.auth-container {
    max-width: 450px;
    margin: 100px auto;
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    background: var(--background-color);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--status-glow) 0%, #2a5a8f 100%);
    color: white;
    border: 1px solid var(--status-border);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.5);
    background: linear-gradient(135deg, #6bb6ff 0%, var(--status-glow) 100%);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.2);
    border-left: 3px solid var(--danger-color);
    border-radius: 4px;
    color: var(--danger-color);
    display: none;
}

.error-message.show {
    display: block;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, var(--card-background) 0%, var(--status-blue) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    border-bottom: 2px solid var(--status-border);
    position: relative;
    z-index: 10;
}

.app-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--status-glow), transparent);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--status-glow), #6bb6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
    font-weight: 900;
    letter-spacing: 2px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation */
.main-nav {
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 9;
}

.nav-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-btn.active {
    color: var(--status-glow);
    position: relative;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--status-glow);
    box-shadow: 0 0 10px var(--status-glow);
}

.nav-btn:hover {
    color: var(--text-color);
}

/* Views */
.view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card {
    background: linear-gradient(135deg, var(--card-background) 0%, #0f1a2e 100%);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(74, 158, 255, 0.02) 10px,
        rgba(74, 158, 255, 0.02) 20px
    );
    pointer-events: none;
    border-radius: var(--border-radius);
}

.card h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stats-card {
    background: linear-gradient(135deg, var(--card-background) 0%, #1e2a47 100%);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.stat-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    transition: width 0.5s ease;
}

/* Quest Items */
.quest-item {
    background: linear-gradient(135deg, rgba(13, 21, 37, 0.8) 0%, rgba(26, 40, 64, 0.6) 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--status-glow);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-left: 4px solid var(--status-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.quest-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(74, 158, 255, 0.03) 8px,
        rgba(74, 158, 255, 0.03) 16px
    );
    pointer-events: none;
}

.quest-item:hover {
    border-color: var(--status-glow);
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.3);
    transform: translateX(5px);
}

.quest-item.completed {
    border-left-color: var(--success-color);
    opacity: 0.7;
    background: linear-gradient(135deg, rgba(13, 21, 37, 0.5) 0%, rgba(26, 40, 64, 0.4) 100%);
}

.quest-item.completed::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    font-size: 4rem;
    color: var(--success-color);
    opacity: 0.1;
    font-weight: 900;
}

.quest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.quest-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.quest-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.quest-badge.pending {
    background: rgba(74, 158, 255, 0.2);
    color: var(--status-glow);
    border: 1px solid var(--status-glow);
}

.quest-badge.completed {
    background: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.quest-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.quest-progress {
    margin-bottom: 15px;
}

.quest-progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.quest-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quest-input {
    flex: 1;
    padding: 10px;
    background: rgba(13, 21, 37, 0.8);
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.quest-input:focus {
    outline: none;
    border-color: var(--status-glow);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.quest-info {
    background: rgba(74, 158, 255, 0.1);
    border-left: 3px solid var(--status-glow);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: var(--status-glow);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.1);
}

/* Activity Items */
.activity-item {
    padding: 15px;
    background: var(--background-color);
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-item.reward {
    border-left: 4px solid var(--success-color);
}

.activity-item.penalty {
    border-left: 4px solid var(--danger-color);
}

.activity-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* History Table */
.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-table th {
    background: var(--background-color);
    color: var(--text-secondary);
    font-weight: 600;
}

.status-icon {
    font-size: 1.2rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .quest-controls {
        flex-direction: column;
    }

    .quest-input {
        width: 100%;
    }
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--primary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--card-background) 0%, var(--status-blue) 100%);
    border: 2px solid var(--status-border);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.4);
    z-index: 1000;
    animation: slideIn 0.3s ease;
    color: var(--text-color);
}

.notification.success {
    border-left: 4px solid var(--success-color);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.notification.error {
    border-left: 4px solid var(--danger-color);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Solo Leveling Status Window */
.status-window {
    background: linear-gradient(135deg, #0d1825 0%, #1a2840 100%);
    border: 2px solid var(--status-border);
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(74, 158, 255, 0.3),
        inset 0 0 60px rgba(74, 158, 255, 0.05);
}

.status-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(74, 158, 255, 0.03) 10px, rgba(74, 158, 255, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(74, 158, 255, 0.03) 10px, rgba(74, 158, 255, 0.03) 20px);
    pointer-events: none;
}

.status-window::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(74, 158, 255, 0.1) 25%, 
        transparent 50%, 
        rgba(74, 158, 255, 0.1) 75%, 
        transparent 100%);
    border-radius: 12px;
    pointer-events: none;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

.status-header {
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.2) 0%, rgba(42, 90, 143, 0.3) 100%);
    border-bottom: 2px solid var(--status-border);
    padding: 20px 30px;
    position: relative;
    z-index: 1;
}

.status-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--status-glow);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
    margin-bottom: 5px;
}

.status-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-body {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.status-section {
    margin-bottom: 30px;
}

.status-section-title {
    font-size: 1.2rem;
    color: var(--status-glow);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--status-glow);
    box-shadow: 0 0 10px var(--status-glow);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.status-stat-item {
    background: rgba(13, 21, 37, 0.6);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.status-stat-item:hover {
    border-color: var(--status-glow);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
    transform: translateY(-2px);
}

.status-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transition: left 0.5s;
}

.status-stat-item:hover::before {
    left: 100%;
}

.status-stat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-stat-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px currentColor);
}

.status-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.status-level-display {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(42, 90, 143, 0.2) 100%);
    border: 2px solid var(--status-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.status-level-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.status-level-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

.status-level-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.status-xp-bar {
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.status-xp-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.status-xp-progress {
    width: 100%;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(74, 158, 255, 0.3);
    position: relative;
}

.status-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a9eff 0%, #6bb6ff 100%);
    box-shadow: 
        0 0 10px rgba(74, 158, 255, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.status-xp-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Stat Points System */
.stat-points-display {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.05) 100%);
    border: 2px solid var(--gold-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.stat-points-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-points-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.stat-item-with-points {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--status-glow) 0%, #2a5a8f 100%);
    border: 2px solid var(--status-border);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.stat-add-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #6bb6ff 0%, var(--status-glow) 100%);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.6);
    transform: scale(1.1);
}

.stat-add-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Share Status Button */
.share-status-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--status-glow) 0%, #2a5a8f 100%);
    border: 2px solid var(--status-border);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
    margin-top: 20px;
}

.share-status-btn:hover {
    background: linear-gradient(135deg, #6bb6ff 0%, var(--status-glow) 100%);
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.6);
    transform: translateY(-2px);
}

/* Share Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-background);
    border: 2px solid var(--status-border);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgba(74, 158, 255, 0.4);
    animation: slideInScale 0.3s ease;
}

@keyframes slideInScale {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

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

.modal-title {
    font-size: 1.5rem;
    color: var(--status-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.share-link-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--status-border);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.share-link {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 6px;
    padding: 12px;
    color: var(--text-color);
    font-family: monospace;
    font-size: 0.9rem;
    text-align: center;
}

.copy-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: var(--success-color);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: var(--status-glow);
}

/* Public Status View */
.public-status-view {
    max-width: 800px;
    margin: 50px auto;
}

.back-btn {
    margin-bottom: 20px;
    padding: 10px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--status-border);
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--status-blue);
    border-color: var(--status-glow);
}
