
:root {
    --primary: #0088ff;
    --primary-glow: rgba(0, 136, 255, 0.8);
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.8);
    --bg-dark: #04080f;
    --card-bg: rgba(6, 12, 24, 0.9);
    --text-color: #d1e0ff;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(4, 8, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 136, 255, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 136, 255, 1));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    background: #00aaff;
    border-color: #00aaff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 1);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 136, 255, 0.15);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-nav:hover {
    background: #00aaff;
    color: var(--white) !important;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('kep.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.9) contrast(1.3) saturate(1.8) drop-shadow(0 0 30px #0088ff);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 8, 15, 0.4), rgba(4, 8, 15, 1));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-sub-highlight {
    display: block;
    margin-top: 15px;
    color: var(--cyan);
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 25px rgba(0, 229, 255, 1);
}

.ip-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 10px 10px 20px;
    border-radius: 4px;
    margin-bottom: 40px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
    background: rgba(0, 136, 255, 0.05);
}

.ip-text {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.copy-btn {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--primary-glow);
}

.copy-btn:hover {
    background: #00aaff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 1);
    transform: scale(1.05);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00aaff;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
}

.features-grid, .requirements-grid {
    display: grid;
    gap: 30px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.requirements-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.feature-card, .req-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 136, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.staff-card {
    text-align: center;
    padding: 2.5rem;
}

.border-cyan { border-bottom: 5px solid var(--cyan) !important; }
.border-primary { border-bottom: 5px solid var(--primary) !important; }

.staff-name {
    margin-bottom: 0.5rem !important;
    font-size: 1.8rem !important;
    color: var(--white) !important;
}

.name-cyan { text-shadow: 0 0 15px var(--cyan-glow); }
.name-primary { text-shadow: 0 0 15px var(--primary-glow); }

.staff-role {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 5px;
}

.role-primary { color: var(--primary); }
.role-cyan { color: var(--cyan); }

.requirements-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.req-title {
    color: #00aaff;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.req-card ul {
    list-style: none;
}

.req-card li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-card li strong {
    color: var(--white);
    display: inline-block;
    width: 80px;
}

.recommended {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
}

.recommended:hover {
    border-color: var(--cyan);
}

.req-title-recommended {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer {
    background: rgba(4, 8, 15, 0.95);
    border-top: 1px solid rgba(0, 136, 255, 0.2);
    padding: 30px 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    margin-left: 20px;
    transition: all 0.3s ease;
}

#openRules {
    color: #00aaff;
    font-weight: 700;
}

#openRules:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

.footer-discord {
    color: var(--cyan);
    font-weight: 700;
}

.footer-discord:hover {
    text-shadow: 0 0 10px var(--cyan-glow);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 15, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    border: 1px solid rgba(0, 136, 255, 0.2);
    width: 90%;
    max-width: 800px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--white);
    transform: scale(1.1);
}

.modal-title {
    color: #00aaff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 2rem;
}

.modal-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-content li {
    margin-bottom: 15px;
}

.modal-content strong {
    color: var(--cyan);
}

.modal-disclaimer {
    color: var(--cyan);
    margin-top: 20px;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding-top: 15px;
}

.modal-soon {
    max-width: 500px;
    text-align: center;
}

.soon-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.soon-btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(4, 8, 15, 0.95);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 136, 255, 0.2);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-sub-highlight {
        font-size: 1.2rem;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
    }
}