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

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.1);
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
    color: #cccccc;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step {
    background: #111111;
    border: 2px solid #333333;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    text-align: center;
    animation: slideIn 0.5s ease-out;
}

.step h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.hidden {
    display: none;
}

/* Role Buttons */
.role-buttons, .category-buttons, .mode-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.role-btn, .category-btn, .mode-btn {
    background: #222222;
    color: white;
    border: 2px solid #444444;
    border-radius: 15px;
    padding: 25px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.role-btn:hover, .category-btn:hover, .mode-btn:hover {
    transform: translateY(-5px);
    background: #333333;
    border-color: #666666;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.role-btn .icon, .category-btn .icon, .mode-btn .icon {
    font-size: 2rem;
}

.role-btn .text, .category-btn .text, .mode-btn .text {
    font-size: 1.2rem;
}

.mode-btn .subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 300;
    color: #cccccc;
}

/* Back Button */
.back-btn {
    background: #333333;
    color: white;
    border: 2px solid #555555;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-btn:hover {
    background: #444444;
    border-color: #666666;
    transform: translateY(-2px);
}

/* Excuse Display */
.excuse-display {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.excuse-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 500;
}

.excuse-details {
    font-size: 1rem;
    color: #cccccc;
    font-style: italic;
    padding: 15px;
    background: #222222;
    border-radius: 10px;
    border-left: 4px solid #666666;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.generate-btn, .copy-btn {
    background: #333333;
    color: white;
    border: 2px solid #555555;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
}

.generate-btn:hover, .copy-btn:hover {
    transform: translateY(-3px);
    background: #444444;
    border-color: #666666;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.copy-btn {
    background: #222222;
    border-color: #444444;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    color: #cccccc;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    .role-buttons, .category-buttons, .mode-buttons {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        gap: 10px;
    }
    
    .generate-btn, .copy-btn {
        min-width: 200px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333333;
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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