:root {
    --primary: #0EA5E9; /* Modern Sky Blue */
    --primary-hover: #0284C7;
    --bg-base: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --panel-bg: rgba(15, 23, 42, 0.75);
    --panel-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-base);
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Hard dark overlay for intense readability */
.background-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.65) 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: 4rem;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--primary);
}

/* Typography Details */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.5rem;
}

.text-center { text-align: center; }

/* Panels and Glassmorphism */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Hero */
.hero {
    margin-top: 2rem;
    margin-bottom: 4rem;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}
.btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}
.btn.outline {
    background: transparent;
    border: 1px solid var(--panel-border);
    color: var(--text-main);
}
.btn.outline:hover {
    background: rgba(255,255,255,0.1);
}
.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.05);
}
.card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Server Panel */
.server-panel {
    text-align: center;
}
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}
.pulse {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ip-box {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ip-box:hover {
    background: rgba(14, 165, 233, 0.1);
}
.ip-address {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    display: block;
    font-family: monospace;
}
.copy-text {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 0.25rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.faq-item {
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
}
.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.faq-item p {
    color: var(--text-muted);
}

.rules-title {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-desc {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid var(--panel-border);
}
