/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

h2 {
    font-size: 1.8rem;
    border-left: 4px solid #00ff88;
    padding-left: 15px;
    margin: 2rem 0 1rem;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ff88;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00ff88;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: #00ff88;
}

.vote-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000 !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700 !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%),
                url('../assets/images/hero-bg.jpg') center/cover;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 255, 136, 0.1));
    z-index: -1;
}

.tagline {
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.description {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #ccc;
    font-size: 1.1rem;
}

/* Server Status Card */
.server-status-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.online {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.label {
    color: #888;
    font-weight: 500;
}

.value {
    color: #fff;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.copy-btn {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #00ff88;
    color: #000;
}

.connect-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.connect-btn, .discord-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.connect-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
}

.connect-btn:hover, .discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Quick Stats */
.quick-stats {
    padding: 3rem 0;
    background: rgba(10, 10, 10, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.1);
}

.stat-card i {
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.stat-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Main Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.rule-item i {
    color: #00ff88;
}

/* Vote Links */
.vote-links {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0;
}

.vote-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.vote-link:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: translateX(5px);
}

.vote-note {
    color: #00ff88;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Mod List */
.mod-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mod-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.mod-name {
    color: #fff;
    font-weight: 500;
}

.mod-link {
    color: #00ff88;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mod-link:hover {
    text-decoration: underline;
}

/* View All Button */
.view-all-btn {
    display: inline-block;
    margin-top: 1rem;
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all-btn:hover {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid #00ff88;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00ff88;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* Streams Placeholder */
.stream-placeholder {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.stream-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ff88;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .connect-buttons {
        flex-direction: column;
    }
	
	.nav-links .discord-btn {
    background: #5865F2;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold !important;
}

.nav-links .discord-btn:hover {
    background: #4752c4;
}

/* BattleMetrics button */
.battlemetrics-btn {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.battlemetrics-btn:hover {
    background: linear-gradient(135deg, #ee5a52, #cc4a42);
    transform: translateY(-2px);
}

/* External links */
.external-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.external-link:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: translateX(5px);
}

.note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Page header */
.page-header {
    text-align: center;
    margin: 3rem 0;
}

.page-subtitle {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Requirements box */
.requirements {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 100, 255, 0.1);
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 10px;
}

.requirements h3 {
    color: #6495ed;
}

/* Install guide */
.install-guide {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 200, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.install-steps {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.install-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: #00ff88;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .discord-btn {
        margin-top: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .connect-buttons {
        flex-direction: column;
    }
    
    .external-link {
        padding: 0.8rem;
    }
}
}

/* Lore locks + encrypted presentation */
.lore-decrypt-status{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(0,255,136,0.22);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.lds-sub{ color:#aaa; margin-top:0.35rem; }
.lds-right{ display:flex; gap:1.25rem; align-items:flex-end; flex-wrap:wrap; justify-content:flex-end; }
.lds-label{ display:block; color:#777; font-size:0.85rem; }
.lds-value{ display:block; font-family:'Orbitron',sans-serif; color:#00ff88; font-weight:800; }

.lore-lockable{ position:relative; overflow:hidden; }
.lore-lock-overlay{
  position:absolute;
  inset:0;
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0.6rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(0,0,0,0.92), rgba(0,255,136,0.06));
  border: 1px dashed rgba(0,255,136,0.35);
  border-radius: 12px;
  text-align:center;
}
.lore-lock-title{
  font-family:'Orbitron',sans-serif;
  letter-spacing:1px;
  color:#00ff88;
}
.lore-lock-sub{ color:#bbb; font-size:0.95rem; }

.lore-cipher{
  margin-top:0.35rem;
  width:100%;
  max-width:520px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color:#cfe2ff;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  position:relative;
  overflow:hidden;
}
.lore-cipher::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-40%;
  width:180%;
  height:180%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,255,136,0.10) 0px,
    rgba(0,255,136,0.10) 1px,
    rgba(0,0,0,0.00) 2px,
    rgba(0,0,0,0.00) 6px
  );
  opacity:0.25;
  animation: loreScan 6s linear infinite;
  pointer-events:none;
}
@keyframes loreScan{
  0% { transform: translateY(-10%); }
  100% { transform: translateY(10%); }
}

.lore-lockable.is-locked > *:not(.lore-lock-overlay){
  filter: blur(6px);
  opacity: 0.12;
  pointer-events:none;
  user-select:none;
}
.lore-lockable.is-locked .lore-lock-overlay{ display:flex; }
.lore-lockable.is-unlocked .lore-lock-overlay{ display:none; }
