/* Gng i didn't ai this u don't gotta check everything */

:root {
    --bg-gradient: linear-gradient(135deg, #d3e5f0 0%, #eef3f7 50%, #e3f1f3 100%);
    --panel-bg: rgba(231, 245, 255, 0.65);
    --panel-border: rgba(85, 162, 255, 0.6);
    
    --liquid-primary: #007aff;
    --liquid-light-blue: #e3f2fd;
    --liquid-sky: #3a9ad9;
    --liquid-sky-glow: rgba(58, 154, 217, 0.15);
    
    --text-main: #1d1d1f;
    --text-muted: #515154;
    
    --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--apple-font);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.game-container {
    max-width: 850px;
    margin: 40px auto;
    background: var(--panel-bg);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--panel-border);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

header p {
    color: var(--liquid-sky);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin: 0;
}

h2 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.step-panel { display: none; }
.step-panel.active {
    display: block;
    animation: liquidFlow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes liquidFlow {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.graphic-placeholder {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(58, 154, 217, 0.2);
    padding: 24px;
    text-align: center;
    margin: 25px 0;
    border-radius: 16px;
    color: #2b78a5;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

textarea, input[type="text"] {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
    color: var(--text-main);
    margin-top: 12px;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

textarea:focus, input[type="text"]:focus {
    border-color: var(--liquid-primary);
    outline: none;
    background: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(0, 122, 255, 0.15),
        inset 0 1px 2px rgba(0,0,0,0.03);
}

.org-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

@media (max-width: 600px) {
    .org-grid { grid-template-columns: 1fr; }
}

.org-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.org-card h3 {
    margin-top: 0;
    color: var(--text-main);
    font-size: 1.2rem;
}

.org-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.org-card.selected {
    background: #ffffff;
    border-color: var(--liquid-primary);
    box-shadow: 
        0 0 0 4px rgba(0, 122, 255, 0.15),
        0 4px 12px rgba(0,0,0,0.02);
}

.funny-explanation {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.02);
    padding: 12px 12px 12px 20px;
    border-left: 3px solid var(--liquid-sky);
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 14px;
}

.resource-tip {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #b45309;
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 12px;
    font-size: 0.95rem;
}

button {
    font-family: var(--apple-font);
    font-weight: 600;
    background: linear-gradient(180deg, #4da1ff 0%, #007aff 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 
        0 4px 14px rgba(0, 122, 255, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(0, 122, 255, 0.35);
    filter: brightness(1.05);
}

button:active {
    transform: translateY(1px);
    filter: brightness(0.95);
}

button:disabled {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.25);
    border-color: transparent;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-back {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    box-shadow: none;
}
.btn-back:hover {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.btn-restart {
    background: linear-gradient(180deg, #4da1ff 0%, var(--liquid-primary) 100%);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.25);
}
.btn-restart:hover {
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.summary-box {
    background: linear-gradient(145deg, rgba(227, 242, 253, 0.4) 0%, rgba(255, 255, 255, 0.6) 100%);
    border: 1px solid rgba(58, 154, 217, 0.25);
    padding: 30px;
    border-radius: 20px;
    margin-top: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.summary-box h3 {
    color: #1a5f8a;
}
.summary-box h4 {
    color: #2b78a5;
}

ul { padding-left: 20px; }
li { margin-bottom: 8px; }

.logo-preview {
    max-width: 150px;
    max-height: 150px;
    margin-top: 15px;
    display: none;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}