:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0c4a6e;
    --bg-color: #000000;
    --bg-secondary: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #b4b4b4;
    --accent-color: #0ea5e9;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(14, 165, 233, 0.2));
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.4));
}

.logo:hover {
    transform: scale(1.02);
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('https://images.pexels.com/photos/532001/pexels-photo-532001.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 45px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary-color);
    padding: 8px 18px;
    border-radius: 4px;
    margin-bottom: 20px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    color: #d4d4d4;
    margin-bottom: 35px !important;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin: 0 6px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.section {
    padding: 100px 8%;
    text-align: center;
    position: relative;
}

.dark-section {
    background-color: var(--bg-secondary);
}

.container h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: -1px;
}

.container h2::after {
    display: none;
}

.container p {
    max-width: 650px;
    margin: 0 auto 60px auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.feature-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin-bottom: 30px;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: #ffffff;
}

.feature-content {
    flex: 1;
    text-align: left;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 700;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-card {
    flex: 0 0 220px;
    padding: 30px 20px;
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.team-card-highlight {
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--primary-color);
}

.team-card-highlight:hover {
    background: rgba(14, 165, 233, 0.12);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.team-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.team-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.connect-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.info-box {
    background: linear-gradient(145deg, rgba(30, 136, 229, 0.08), rgba(13, 13, 13, 0.9));
    padding: 40px 60px;
    border-radius: 10px;
    border: 1px solid rgba(30, 136, 229, 0.25);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 300px;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.3);
    border-color: var(--primary-color);
}

.info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.server-ip {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
}

footer {
    background-color: #050505;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid #222;
}

footer .logo {
    justify-content: center;
    margin-bottom: 15px;
}

footer .logo-img {
    height: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.socials {
    margin-top: 20px;
}

.socials a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

.rules-header {
    padding: 150px 5% 80px 5%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(14, 165, 233, 0.1));
    text-align: center;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.rules-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rules-header-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.rules-section {
    padding: 60px 5%;
    background-color: var(--bg-color);
}

.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rule-category {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.rule-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(14, 165, 233, 0.2);
}

.rule-category h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.rule-category h2 i {
    font-size: 1.5rem;
}

.rule-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(14, 165, 233, 0.05);
    transform: translateX(5px);
}

.rule-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rule-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.rule-item p strong {
    color: var(--text-color);
}

/* Legal Content Styling */
.legal-content .rule-item ul {
    list-style: none;
    padding-left: 0;
}

.legal-content .rule-item ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-content .rule-item ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--bg-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.5);
        margin-top: 10px;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .feature-content {
        text-align: center;
    }

    .feature-item:hover {
        transform: translateX(0) translateY(-5px);
    }

    .team-card {
        flex: 0 0 100%;
    }

    .rules-header-content h1 {
        font-size: 2.2rem;
    }

    .rule-category {
        padding: 20px;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
