:root {
    --primary-color: #f44336;
    --secondary-color: #e53935;
    --accent-color: #d32f2f;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --card-color: #2d2d2d;
    --text-color: #e0e0e0;
    --text-secondary: #9e9e9e;
    --success-color: #4caf50;
    --error-color: #f44336;
    --pending-color: #ff9800;
    --border-color: #333333;
    --glow: rgba(244, 67, 54, 0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    background: radial-gradient(circle at 50% 50%, #1a1a1a, var(--background-color));
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Header and Logo */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-container {
    text-align: center;
    margin: 1rem 0 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ascii-logo {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1;
    margin: 0 auto;
    white-space: pre;
    text-shadow: 0 0 10px var(--glow);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Bookmarklet Container */
.bookmark-container {
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    text-align: center;
    background: var(--card-color);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.bookmark-container h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bookmark-container p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 16px;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Bookmarklet Options */
.bookmarklet-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(229, 57, 53, 0.15) 100%);
    border: 1px solid rgba(244, 67, 54, 0.2);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.25) 0%, rgba(229, 57, 53, 0.25) 100%);
    border-color: rgba(244, 67, 54, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

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

/* Footer */
footer {
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Notification Modal Styles */
.notification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.notification-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 90%;
    max-width: 340px;
    animation: modalFadeIn 0.3s ease;
}

.notification-content {
    background-color: var(--card-color);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.notification-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.notification-content p {
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--text-color);
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.close-btn:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-actions {
    display: flex;
    justify-content: flex-end;
}

.notification-actions .btn {
    padding: 8px 18px;
    min-width: 80px;
}

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

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ascii-logo {
        font-size: 12px;
    }
    
    .bookmark-container {
        padding: 20px;
    }
    
    .bookmark-container h2 {
        font-size: 20px;
    }
    
    .bookmarklet-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        margin: 5px 0;
    }
}

@media (max-width: 500px) {
    .ascii-logo {
        font-size: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    .bookmarklet-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        margin: 5px 0;
    }
}
