:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.15) 0%, transparent 50%);
}

/* --- Navigation --- */
nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    letter-spacing: 1px;
}

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    color: #cbd5e1; 
    text-decoration: none; 
    font-weight: 500; 
    transition: 0.3s; 
    cursor: pointer; 
    padding: 0.5rem 1rem; 
    border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { 
    color: white; 
    background: rgba(255, 255, 255, 0.1); 
}

/* --- Main --- */
main { 
    flex: 1; 
    padding: 3rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
}

.page-section { 
    display: none; 
}

.page-section.active { 
    display: block !important; 
}

/* --- Hero Page Styles (Centered & Clean) --- */
.hero { 
    text-align: center; 
    margin-top: 5rem; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 0 1rem;
}

.hero h1 { 
    font-size: 3.8rem; 
    margin-bottom: 1.2rem; 
    line-height: 1.1; 
}

.hero h1 span { 
    color: var(--primary); 
}

.hero p { 
    font-size: 1.2rem; 
    color: #cbd5e1; 
    margin-bottom: 2.5rem; 
    max-width: 750px; 
    line-height: 1.7; 
    text-align: center;
}

.badge { 
    display: inline-block; 
    background: rgba(0, 242, 254, 0.1); 
    border: 1px solid var(--primary); 
    color: var(--primary); 
    padding: 0.4rem 1rem; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    margin-bottom: 1.5rem; 
    font-weight: 600; 
    text-transform: uppercase;
}

/* --- Components --- */
.content-container {
    background: var(--card-bg); 
    padding: 3rem; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px); 
}

.content-container h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: white; }

/* --- Team Categories & Grid --- */
.team-category-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary);
    padding-left: 0.8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: 0.3s ease;
}

.team-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.leader-card {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.03);
}

.player-skin {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    margin-bottom: 1rem;
    image-rendering: pixelated; 
}

.role-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.leader-badge {
    background: rgba(0, 242, 254, 0.2);
    font-weight: bold;
}

/* --- Parks List --- */
.parks-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.park-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.2rem; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; 
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.warp-command { 
    background: #1e293b; 
    padding: 0.5rem 1rem; 
    border-radius: 5px; 
    color: var(--primary); 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 1rem; 
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* --- Forms --- */
.app-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.form-group label { font-weight: 600; color: #e2e8f0; }
.form-group input, .form-group select, .form-group textarea {
    padding: 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); 
    background: rgba(0,0,0,0.3); color: white; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}
.btn {
    background: linear-gradient(135deg, var(--secondary), var(--primary)); 
    border: none; padding: 1rem 2rem; color: white; border-radius: 50px; cursor: pointer;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}