:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #0f3460;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #e94560;
    --accent-hover: #ff6b81;
    --gold: #ffd700;
    --success: #2ecc71;
    --border: #2a2a4a;
}

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

body.plotus-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.plotus-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.plotus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}

.logo-link { color: var(--accent); font-size: 1.4em; font-weight: bold; text-decoration: none; }
.plotus-nav a { color: var(--text-secondary); text-decoration: none; margin: 0 12px; }
.plotus-nav a:hover { color: var(--text-primary); }
.plotus-auth .username { color: var(--gold); margin-right: 12px; }
.plotus-auth a { color: var(--text-secondary); text-decoration: none; margin: 0 8px; }

.plotus-main { padding: 20px 0; min-height: 70vh; }
.plotus-content { width: 100%; }

.plotus-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* Panels */
.dashboard-panel, .training-panel { margin-bottom: 20px; }
.player-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.player-stats span { background: var(--bg-secondary); padding: 8px 16px; border-radius: 6px; }

.gym-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.gym-card {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.gym-card h4 { color: var(--accent); margin-bottom: 8px; }

.btn-train, .btn-play, .btn-login-large {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}
.btn-train:hover, .btn-play:hover, .btn-login-large:hover { background: var(--accent-hover); }

.welcome-section { text-align: center; padding: 60px 20px; }
.welcome-section h1 { font-size: 2.5em; margin-bottom: 16px; color: var(--accent); }
.welcome-section p { font-size: 1.2em; margin-bottom: 12px; color: var(--text-secondary); }
.btn-play { font-size: 1.3em; padding: 14px 40px; margin-top: 20px; }

.login-section { text-align: center; padding: 60px 20px; }
.login-section h2 { margin-bottom: 16px; }
.btn-login-large { font-size: 1.1em; padding: 12px 30px; margin-top: 16px; }

.about-section { padding: 20px; }
.about-section h2 { color: var(--accent); margin-bottom: 16px; }
.about-section ul { margin-left: 20px; }
.about-section li { margin-bottom: 8px; color: var(--text-secondary); }

/* Mobile */
@media (max-width: 768px) {
    .plotus-header { flex-direction: column; text-align: center; }
    .plotus-nav { margin: 8px 0; }
    .gym-grid { grid-template-columns: 1fr; }
    .welcome-section h1 { font-size: 1.8em; }
}
