@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Orbitron:wght@400;500;600;700;900&family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 999;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.morse-code {
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.2em;
    opacity: 0.4;
    font-size: 0.9rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rule-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.rule-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.rule-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.rule-section p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1rem;
}

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

.rule-list li {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #ccc;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.rule-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: 700;
}

.gradient-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
    margin: 2rem 0;
    position: relative;
}

.gradient-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .rule-section {
        padding: 1.5rem;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .morse-code {
        font-size: 0.7rem;
    }
}