* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0b0f14, #1a1d23);
    color: #e5e7eb;
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 1px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #9ca3af;
    transition: 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ef4444;
}

.hero {
    padding-top: 140px;
    text-align: center;
    padding-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin-top: 20px;
    color: #9ca3af;
    font-size: 18px;
}

.rule-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px;
}

.iframe-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: 0.3s ease;
}

.iframe-wrapper:hover {
    box-shadow: 0 0 80px rgba(220, 38, 38, 0.4);
}

iframe {
    width: 100%;
    height: 900px;
    border: none;
    background: white;
}

footer {
    margin-top: 60px;
    padding: 30px;
    text-align: center;
    background: #0f0f0f;
    color: #6b7280;
    font-size: 14px;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #dc2626;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #111111;
    position: fixed;
    top: 80px;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    z-index: 999;
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: 0.3s;
}

.mobile-menu a:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}


/* MOBILE */
@media(max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    iframe {
        height: 700px;
    }
}


/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
}

/* Loader Content */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo Placeholder */
.loader-logo {
    width: 140px;
    /* adjust if needed */
    display: block;
    margin: 0 auto 20px auto;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

