* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.container { 
    text-align: center; 
    max-width: 800px; 
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
h1 { 
    font-size: 3rem; 
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.subtitle { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
    opacity: 0.9;
}
.generate-btn { 
    background: #ff6b6b; 
    color: white; 
    border: none; 
    padding: 1rem 2rem; 
    font-size: 1.2rem; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}
.generate-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(255,107,107,0.6);
}
.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.api-key-input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
}
.api-key-input::placeholder {
    color: rgba(255,255,255,0.7);
}
.result { 
    margin-top: 2rem; 
    padding: 2rem; 
    background: rgba(255,255,255,0.15); 
    border-radius: 15px; 
    display: none;
}
.app-idea { 
    margin-bottom: 2rem;
}
.app-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffd93d;
}
.app-description {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
    margin-bottom: 1rem;
}
.user-flows {
    text-align: left;
}
.user-flows h4 {
    color: #ffd93d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.user-flows ul {
    list-style: none;
    padding-left: 0;
}
.user-flows li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.user-flows li:before {
    content: '•';
    color: #ffd93d;
    font-weight: bold;
    position: absolute;
    left: 0;
}
.tech-stack { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 1rem;
}
.tech-category { 
    background: rgba(255,255,255,0.1); 
    padding: 1rem; 
    border-radius: 10px;
}
.tech-category h3 { 
    margin-bottom: 0.5rem; 
    color: #ffd93d;
}
.tech-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-size: 1.1rem;
}
.difficulty-toggle {
    margin-bottom: 1rem;
}
.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.toggle-slider {
    width: 50px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}
.toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}
#hardMode {
    display: none;
}
#hardMode:checked + .toggle-slider {
    background: #ff6b6b;
}
#hardMode:checked + .toggle-slider:before {
    transform: translateX(26px);
}
.toggle-text {
    color: white;
    font-size: 1rem;
}
.submission-invite {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    text-align: center;
}
.submission-invite h3 {
    color: #ffd93d;
    margin-bottom: 0.5rem;
}
.submission-invite p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.community-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
.repo-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}
.repo-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.discord-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}
.discord-link:hover {
    background: #4752C4;
    transform: translateY(-2px);
}