* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #050505;
    color: white;
    overflow-x: hidden;
}

/* Background */
.video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: -1;
}
.video-bg video {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.4);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 25px; left: 25px;
    z-index: 1000;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px; width: 100%;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-links {
    position: absolute;
    top: 40px; left: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    list-style: none;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    display: none;
}

.nav-links.active { display: block; }
.nav-links li { margin: 15px 0; }
.nav-links a { color: white; text-decoration: none; font-weight: 500; }

/* Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    gap: 150px; /* Reduced gap for better flow */
}

.floating-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 850px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
	max-width: 1000px;
}

/* Typography & Components */
.glow-text {
    font-size: 3.5rem;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #fff;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.buff { color: #50fa7b; }
.nerf { color: #ff5555; }

.scroll-box {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Hero Section Specifics */
.hero-section {
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
	max-width: 1000px; /* Wider to accommodate the grid */
}

.established-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #aaa;
    text-transform: uppercase;
}

.server-status {
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Feature Badges */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-weight: 600;
}

/* Tribe Mode Boxes */
.server-modes {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.mode-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    width: 140px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.mode-icon { font-size: 1.5rem; display: block; margin-bottom: 5px; }
.mode-box h3 { font-size: 1.1rem; color: #fff; }
.mode-box p { font-size: 0.8rem; opacity: 0.7; }

/* Action Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secondary {
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover { background: #ccc; transform: translateY(-2px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Protocol/Rules Section */
.protocol-section {
    max-width: 1000px; /* Wider to accommodate the grid */
}

.section-subtitle {
    color: #ff5555;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.rule-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 20px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.rule-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.rule-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 900;
    opacity: 0.1;
    font-style: italic;
}

.rule-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.clean-list {
    list-style: none;
    text-align: left;
}

.clean-list li {
    font-size: 0.95rem;
    margin-bottom: 16px; /* Increased spacing between rules */
    display: flex;       /* Aligns bullet and text in columns */
    align-items: flex-start; 
    line-height: 1.5;
    color: #ccc;
}

.bullet {
    width: 8px;          /* Slightly larger for better visibility */
    height: 8px;
    background: #ff5555;
    display: inline-block;
    margin-top: 6px;     /* Centers bullet with the first line of text */
    margin-right: 18px;  /* Increased spacing between bullet and description */
    flex-shrink: 0;      /* Prevents the bullet from squishing */
    box-shadow: 0 0 8px rgba(255, 85, 85, 0.6); /* Optional: subtle glow */
}

.clean-list li:hover {
    color: #fff;
    transition: color 0.2s ease;
}

/* This makes the bolded parts of your rules stand out more */
.clean-list li strong {
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Grace Alert Box */
.grace-alert {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(80, 250, 123, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 4px solid #50fa7b;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    text-align: left;
}

.alert-icon {
    font-size: 2rem;
    margin-right: 20px;
}

.alert-text h4 {
    color: #50fa7b;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.alert-text p {
    font-size: 0.9rem;
    color: #eee;
}

/* Special Highlight for the middle card */
.highlight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.events-highlight {
    background: rgba(255, 215, 0, 0.1); /* Subtle Gold Glow */
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
}

/* --- Server Settings Premium Layout --- */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.settings-module {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
}

.settings-module:hover {
    border-color: var(--accent-red);
    background: rgba(255, 85, 85, 0.02);
}

.module-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.module-title h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

/* Status Pulse Animation */
.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Data Rows & Bars */
.data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.data-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
    border-radius: 2px;
    overflow: hidden;
}

.data-bar .fill {
    height: 100%;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
}

.value {
    font-weight: 800;
    color: #fff;
    min-width: 40px;
    text-align: right;
}

/* Lists and Pills */
.list-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

/* --- Survivor Stats Pills --- */
.stats-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.pill:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-red); }
.pill strong { color: var(--accent-green); }

/* --- Special List Items --- */
.list-item.no-drain strong { color: var(--accent-gold); }
.list-item.highlight { border-left: 3px solid var(--accent-red); padding-left: 10px; }

/* --- Alpha Element Reward Strip --- */
.element-strip {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.strip-label {
    background: var(--accent-red);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 20px;
    letter-spacing: 1px;
    height: 100%;
}

.element-grid {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    padding: 0 20px;
}

.el-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.el-item span { font-size: 0.7rem; text-transform: uppercase; color: var(--text-main); margin-bottom: 4px; }
.el-item strong { color: #fff; font-size: 1.1rem; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Mobile optimization for Element Strip */
@media (max-width: 768px) {
    .element-strip { flex-direction: column; }
    .strip-label { width: 100%; text-align: center; }
    .element-grid { flex-wrap: wrap; padding: 20px; gap: 20px; }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }