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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #e8e8e8;
}

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

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

.title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00f5ff, #00d4aa, #39ff14, #7df9ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

.generator-section {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
    margin-bottom: 2rem;
}

.game-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: #00f5ff;
    font-size: 0.95rem;
}

select, input, textarea {
    padding: 1rem;
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(15, 15, 35, 0.8);
    color: #e8e8e8;
}

select[multiple] {
    min-height: 200px;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.generate-btn {
    background: linear-gradient(135deg, #00f5ff 0%, #00d4aa 100%);
    color: #0f0f23;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 245, 255, 0.4);
}

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

.generate-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading {
    display: none;
}

.generate-btn.loading .btn-text {
    display: none;
}

.generate-btn.loading .btn-loading {
    display: inline;
}

.game-result {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.game-result.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.result-card {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
}

.game-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 245, 255, 0.2);
}

.game-title {
    font-size: 2rem;
    color: #e8e8e8;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00f5ff 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.console-badge, .length-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.console-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.length-badge {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.genre-badge {
    background: linear-gradient(135deg, #00f5ff, #00d4aa);
    color: #0f0f23;
}

.audience-badge {
    background: linear-gradient(135deg, #39ff14, #7df9ff);
    color: #0f0f23;
}

.game-description {
    line-height: 1.8;
    color: #b8b8b8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.secondary-btn {
    background: transparent;
    color: #00f5ff;
    border: 2px solid #00f5ff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #00f5ff;
    color: #0f0f23;
    transform: translateY(-2px);
}

.platform-section {
    border-top: 2px solid rgba(0, 245, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.section-title {
    color: #00f5ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00f5ff;
    cursor: pointer;
}

.checkbox-label {
    color: #e8e8e8 !important;
    font-weight: 500 !important;
    cursor: pointer;
    margin: 0;
}

.hardware-dropdown {
    transition: all 0.3s ease;
}

.hardware-dropdown.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .generator-section, .result-card {
        padding: 1.5rem;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 1rem;
    }
}