@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --bg-deep: #0B0F1A;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #6366F1;
    --secondary: #0EA5E9;
    --accent: #F43F5E;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.hero-gradient {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 40%);
    z-index: -1;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

.magic-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

textarea.form-control-custom {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 16px;
    padding: 20px;
    font-size: 1.1rem;
}

textarea.form-control-custom:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    color: white;
}

.card-project {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-project:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.badge-genre {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Studio Styles */
.game-viewport {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--primary);
}

.studio-sidebar {
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.code-editor {
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Courier New', Courier, monospace;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: pre-wrap;
}