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

:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #252525;
    --accent-orange: #d35400;
    --accent-brown: #8b4513;
    --accent-rust: #a0522d;
    --accent-error: #c0392b;
    --accent-warning: #f39c12;
    --text-primary: #f5f5f5;
    --text-secondary: #d0d0d0;
    --text-terminal: #2ecc71;
    --text-error: #e74c3c;
    --glow-orange: rgba(211, 84, 0, 0.4);
    --glow-brown: rgba(139, 69, 19, 0.4);
    --glow-terminal: rgba(46, 204, 113, 0.3);
    --scanline-color: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto Condensed', 'Courier New', monospace;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    text-shadow: 0 0 1px rgba(160, 160, 160, 0.5);
}

.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--scanline-color) 2px,
        var(--scanline-color) 4px
    );
    pointer-events: none;
    z-index: 1000;
    opacity: 0.08;
}

/* CRT Flicker */
.crt-flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 16, 0.03);
    pointer-events: none;
    z-index: 999;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.27861; }
    5% { opacity: 0.34769; }
    10% { opacity: 0.23604; }
    15% { opacity: 0.90626; }
    20% { opacity: 0.18128; }
    25% { opacity: 0.83891; }
    30% { opacity: 0.65583; }
    35% { opacity: 0.67807; }
    40% { opacity: 0.26559; }
    45% { opacity: 0.84693; }
    50% { opacity: 0.96019; }
    55% { opacity: 0.08594; }
    60% { opacity: 0.20313; }
    65% { opacity: 0.71988; }
    70% { opacity: 0.53455; }
    75% { opacity: 0.37288; }
    80% { opacity: 0.71428; }
    85% { opacity: 0.70419; }
    90% { opacity: 0.7003; }
    95% { opacity: 0.36108; }
    100% { opacity: 0.24387; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--accent-orange);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(74, 26, 26, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--glow-orange), 0 0 20px var(--glow-orange);
    letter-spacing: 3px;
    position: relative;
}

.logo h1::before {
    content: '🛑';
    margin-right: 0.5rem;
    animation: pulse-icon 2s infinite;
}

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

.logo .tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* Signal Status Indicator */
.signal-status {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    z-index: 999;
    box-shadow: 0 0 15px var(--glow-orange);
}

.signal-status .signal-label {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.signal-status .signal-bars {
    display: flex;
    gap: 2px;
}

.signal-status .signal-bar {
    width: 4px;
    background: var(--accent-orange);
    animation: signal-pulse 1.5s infinite;
}

.signal-status .signal-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.signal-status .signal-bar:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.signal-status .signal-bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.signal-status .signal-bar:nth-child(4) { height: 20px; animation-delay: 0.6s; }

@keyframes signal-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--glow-orange);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, text-shadow 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-orange);
    text-shadow: 0 0 5px var(--glow-orange);
}

.nav-discord-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-discord-icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(37, 37, 37, 0.4) 50%, rgba(26, 26, 26, 0.3) 100%),
                url('banner.png') center/cover no-repeat;
    background-blend-mode: multiply;
    overflow: hidden;
    padding-top: 80px;
}

/* Transmission Overlay */
.transmission-overlay {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 1rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-terminal);
    z-index: 10;
    box-shadow: 0 0 20px var(--glow-terminal);
    animation: transmission-flicker 3s infinite;
}

.transmission-overlay .transmission-line {
    margin: 0.25rem 0;
}

.transmission-overlay .transmission-line.error {
    color: var(--text-error);
}

@keyframes transmission-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
    52% { opacity: 0.2; }
    54% { opacity: 0.8; }
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(211,84,0,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    text-shadow: 0 0 20px var(--glow-orange), 0 0 40px var(--glow-orange), 0 0 60px var(--glow-orange);
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Countdown */
.countdown-container {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 85%;
    max-width: 450px;
}

.countdown-box {
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--accent-orange);
    box-shadow: 0 0 15px var(--glow-orange);
    overflow: hidden;
}

.countdown-header {
    background: rgba(211, 84, 0, 0.2);
    padding: 0.5rem 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent-orange);
}

.countdown-status {
    background: rgba(46, 204, 113, 0.1);
    padding: 0.4rem 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-terminal);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent-brown);
}

.countdown-status.active {
    background: rgba(192, 57, 43, 0.2);
    color: var(--accent-error);
    border-bottom-color: var(--accent-error);
}

.countdown-content {
    padding: 1rem;
    text-align: center;
}

.countdown-label {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-error);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 8px rgba(192, 57, 43, 0.6);
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.countdown-label.active {
    color: var(--accent-orange);
    text-shadow: 0 0 12px var(--glow-orange);
    animation: none;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-terminal);
    text-shadow: 0 0 6px var(--glow-terminal);
    min-width: 45px;
}

.countdown-unit {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.countdown-sub {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.countdown-link {
    color: var(--text-terminal);
    text-decoration: none;
    transition: color 0.3s;
}

.countdown-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

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

.btn {
    padding: 1rem 2rem;
    border: 1px solid var(--accent-orange);
    background: transparent;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    box-shadow: 0 0 10px var(--glow-orange);
}

.btn::before {
    content: '[';
    margin-right: 0.5rem;
    color: var(--accent-orange);
}

.btn::after {
    content: ']';
    margin-left: 0.5rem;
    color: var(--accent-orange);
}

.btn:hover {
    background: rgba(74, 26, 26, 0.3);
    box-shadow: 0 0 25px var(--glow-orange), inset 0 0 20px rgba(74, 26, 26, 0.2);
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--glow-orange);
}

.btn.primary {
    background: rgba(74, 26, 26, 0.5);
    border-color: var(--accent-orange);
}

.btn.primary:hover {
    background: rgba(74, 26, 26, 0.7);
}

.static-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(74, 26, 26, 0.05) 2px,
        rgba(74, 26, 26, 0.05) 4px
    );
    pointer-events: none;
    animation: static 0.1s infinite;
}

@keyframes static {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Sections */
.section {
    padding: 5rem 5%;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--primary-dark) 100%);
}

/* Terminal Box Style */
.terminal-box {
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--accent-orange);
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    position: relative;
    box-shadow: 0 0 20px var(--glow-orange), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.terminal-box::before {
    content: '┌─────────────────────────────────────┐';
    position: absolute;
    top: -12px;
    left: 10px;
    font-size: 10px;
    color: var(--accent-orange);
    white-space: nowrap;
}

.terminal-box::after {
    content: '└─────────────────────────────────────┘';
    position: absolute;
    bottom: -12px;
    left: 10px;
    font-size: 10px;
    color: var(--accent-orange);
    white-space: nowrap;
}

.terminal-box .box-header {
    color: var(--text-terminal);
    font-size: 0.7rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.terminal-box .box-content {
    color: var(--text-primary);
    line-height: 1.8;
}

.terminal-box .box-content .system-tag {
    color: var(--text-terminal);
    font-weight: bold;
}

.terminal-box .box-content .error-tag {
    color: var(--text-error);
    font-weight: bold;
}

.terminal-box .box-content .warning-tag {
    color: var(--accent-warning);
    font-weight: bold;
}

.highlight-box {
    border: 2px solid var(--accent-error);
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.4), inset 0 0 30px rgba(139, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.highlight-box .box-header {
    color: var(--text-error);
    border-bottom-color: var(--accent-error);
}

.highlight-box::before,
.highlight-box::after {
    color: var(--accent-error);
}

.dark-section {
    background: var(--secondary-dark);
    border-top: 1px solid var(--accent-brown);
    border-bottom: 1px solid var(--accent-brown);
    margin-top: 5rem;
}

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

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--glow-orange);
    letter-spacing: 3px;
    position: relative;
}

.section-title::before {
    content: '🛑';
    margin-right: 0.5rem;
}

.section-title::after {
    content: '🛑';
    margin-left: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Rules Section */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rule-section {
    background: var(--primary-dark);
    border: 1px solid var(--accent-brown);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.rule-section:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.2);
}

.rule-section.final-rule {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.1) 0%, var(--primary-dark) 100%);
}

.rule-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--glow-orange);
    letter-spacing: 2px;
}

.rule-content {
    color: var(--text-primary);
    line-height: 1.8;
}

.rule-content p {
    margin-bottom: 1rem;
}

.rule-content strong {
    color: var(--accent-brown);
}

.rule-list {
    list-style: none;
    padding-left: 1rem;
    margin: 1rem 0;
}

.rule-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.rule-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.rule-emphasis {
    color: var(--accent-orange);
    font-style: italic;
    padding: 0.5rem 1rem;
    background: rgba(211, 84, 0, 0.1);
    border-left: 3px solid var(--accent-orange);
    margin: 1rem 0;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

.back-link .btn {
    display: inline-block;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-dark);
    border: 1px solid var(--accent-brown);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.2);
}

.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--glow-orange);
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-primary);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 0 1rem 0;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer code {
    background: rgba(211, 84, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--text-terminal);
}

.faq-answer strong {
    color: var(--accent-orange);
}

/* Resources Section */
.resources-container {
    max-width: 900px;
    margin: 0 auto;
}

.resource-section {
    background: var(--primary-dark);
    border: 1px solid var(--accent-brown);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.resource-section:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.2);
}

.resource-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--glow-orange);
    letter-spacing: 2px;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    text-decoration: none;
    transition: all 0.3s;
}

.resource-item {
    background: rgba(42, 21, 16, 0.3);
    border: 1px solid var(--accent-brown);
    padding: 1.5rem;
    transition: all 0.3s;
}

.resource-item:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px var(--glow-orange);
    transform: translateX(5px);
}

.resource-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.resource-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-card {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px var(--glow-orange);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 26, 26, 0.4);
    border-color: var(--accent-orange);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Rankings Section */
.ranking-table {
    background: var(--primary-dark);
    border: 1px solid var(--accent-purple);
    max-width: 800px;
    margin: 0 auto;
}

.ranking-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px;
    padding: 1rem;
    background: var(--accent-purple);
    color: var(--text-primary);
    font-weight: bold;
    letter-spacing: 1px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px;
    padding: 1rem;
    border-bottom: 1px solid var(--accent-purple);
    transition: background 0.3s;
}

.ranking-row:hover {
    background: rgba(74, 0, 128, 0.2);
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank {
    font-weight: bold;
    color: var(--accent-red);
}

.rank.gold {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rank.silver {
    color: #c0c0c0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.rank.bronze {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.player {
    color: var(--text-primary);
}

.rankings-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Discord Section */
.discord-card {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 3rem;
    box-shadow: 0 0 20px var(--glow-orange);
    max-width: 800px;
    margin: 0 auto;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.discord-icon {
    width: 50px;
    height: 50px;
}

.discord-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0;
    text-shadow: 0 0 10px var(--glow-orange);
}

.discord-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.discord-features {
    list-style: none;
    margin-bottom: 2rem;
}

.discord-features li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.discord-btn {
    background: rgba(74, 26, 26, 0.5);
    border-color: var(--accent-orange);
    display: inline-block;
}

.discord-btn:hover {
    background: rgba(74, 26, 26, 0.7);
    box-shadow: 0 0 25px var(--glow-orange);
}

.discord-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-profile {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 30px var(--glow-orange), 0 0 60px rgba(74, 26, 26, 0.3);
    animation: pulse 2s infinite;
    filter: grayscale(50%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Connect Section */
.connect-info {
    max-width: 800px;
    margin: 0 auto;
}

.server-ip {
    text-align: center;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--glow-orange);
}

.ip-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.ip-address {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-terminal);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--glow-terminal);
}

.ip-hint {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    margin-top: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(74, 26, 26, 0.5);
    border: 1px solid var(--accent-orange);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.copy-btn:hover {
    background: rgba(74, 26, 26, 0.7);
    box-shadow: 0 0 15px var(--glow-orange);
}

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

.detail-item {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--accent-orange);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px var(--glow-orange);
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    color: var(--text-terminal);
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.battlemetrics-banner {
    margin-top: 2rem;
    text-align: center;
}

.battlemetrics-banner a {
    display: inline-block;
    border: 1px solid var(--accent-orange);
    box-shadow: 0 0 15px var(--glow-orange);
    transition: all 0.3s;
}

.battlemetrics-banner a:hover {
    box-shadow: 0 0 25px var(--glow-orange);
}

.battlemetrics-banner img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Footer */
footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--accent-orange);
    padding: 2rem 5%;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-left a:hover {
    color: var(--accent-orange);
}

.footer-discord-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-discord-icon {
    width: 20px;
    height: 20px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-profile {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 15px var(--glow-orange);
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-brown);
}

.footer-bottom p {
    color: var(--text-secondary);
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-orange);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: var(--accent-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: var(--accent-purple);
    z-index: -2;
}

@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 2px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--accent-orange);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .discord-card {
        grid-template-columns: 1fr;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 60px 1fr 80px 80px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-banner {
        width: 100%;
        max-width: 400px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }

    .countdown-container {
        top: 18%;
        width: 95%;
        max-width: 350px;
    }

    .countdown-header {
        font-size: 0.65rem;
        padding: 0.4rem 0.6rem;
    }

    .countdown-content {
        padding: 0.8rem;
    }

    .countdown-label {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .countdown-timer {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .countdown-value {
        font-size: 1.2rem;
        min-width: 35px;
    }

    .countdown-unit {
        font-size: 0.5rem;
    }

    .countdown-sub {
        font-size: 0.6rem;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 50px 1fr 60px 60px;
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .server-banner {
        width: 100%;
        max-width: 300px;
        height: 50px;
    }
}
