:root {
    --primary-bg: #1a1a1a;
    --accent-color: #00c896;
    --card-bg: #262626;
    --text-primary: #e8e8e8;
    --text-secondary: #909090;
}

body {
    background: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    color: var(--accent-color);
}

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

.joke-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.display-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.joke-content {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
}

.setup {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.delivery {
    color: var(--accent-color);
    font-weight: 600;
}

.single-joke {
    color: var(--text-primary);
}

.no-joke {
    color: var(--text-secondary);
    font-style: italic;
}

.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.main-action {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.main-action:hover {
    transform: translateY(-2px);
}

.copy-action {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-action:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.app-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    padding: 1rem;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { bottom: -50px; }
    to { bottom: 20px; }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .joke-card {
        padding: 1.5rem;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .main-action, .copy-action {
        width: 100%;
        justify-content: center;
    }
}

.app-footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.app-footer a:hover {
    opacity: 0.8;
}