/* ── Rules Page Styles ── */

/* Navigation – 3-parçalı flex layout */
.rules-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(14, 14, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(183, 168, 106, 0.1);
}

/* Hero Banner */
.rules-hero {
    position: relative;
    height: 400px;
    padding-top: 70px;
    background: linear-gradient(160deg, #08080a 0%, #12120e 40%, #0e0e0e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rules-hero #heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rules-hero .hero-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.08) 2px,
            rgba(0, 0, 0, 0.08) 4px);
}

.rules-hero .hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.rules-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.rules-hero .hero-icon-wrapper {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rules-hero .hero-main-icon {
    width: 56px !important;
    height: 56px !important;
    fill: #b7a86a !important;
    filter: drop-shadow(0 0 12px rgba(183, 168, 106, 0.4));
}

.rules-hero .hero-content h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 8vw, 72px);
    letter-spacing: 16px;
    color: #b7a86a;
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 40px rgba(183, 168, 106, 0.15);
}

.rules-hero .hero-breadcrumb {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rules-hero .hero-breadcrumb a {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.rules-hero .hero-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.65);
}

.rules-hero .breadcrumb-sep {
    color: rgba(183, 168, 106, 0.5);
    font-size: 14px;
}

.rules-hero .breadcrumb-current {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b7a86a;
    text-transform: uppercase;
}

.rules-hero .hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(183, 168, 106, 0.5), transparent);
    z-index: 3;
}

/* Rules Intro */
.rules-intro {
    background-color: #0e0e0e;
    padding: 50px 40px 20px;
}

.rules-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rules-intro-inner p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Rules Section */
.rules-section {
    background-color: #0e0e0e;
    padding: 40px 40px 80px;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Rule Category Card */
.rule-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(183, 168, 106, 0.1);
    border-radius: 16px;
    padding: 36px;
    transition: border-color 0.3s ease;
}

.rule-category:hover {
    border-color: rgba(183, 168, 106, 0.25);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
}

.category-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(183, 168, 106, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 24px;
    height: 24px;
    fill: #b7a86a;
}

.category-title {
    flex: 1;
}

.category-title h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: #b7a86a;
    margin: 0 0 8px;
    line-height: 1;
}

.category-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #b7a86a, transparent);
    border-radius: 1px;
}

.category-number {
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    color: rgba(183, 168, 106, 0.06);
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 2px;
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.rule-item:hover {
    background: rgba(183, 168, 106, 0.03);
    border-color: rgba(183, 168, 106, 0.12);
    transform: translateX(4px);
}

.rule-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b7a86a;
    margin-top: 7px;
    box-shadow: 0 0 8px rgba(183, 168, 106, 0.3);
}

.rule-bullet.warning {
    background: #f0ad4e;
    box-shadow: 0 0 8px rgba(240, 173, 78, 0.4);
}

.rule-bullet.danger {
    background: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

.rule-bullet.banned {
    background: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.5);
}

.rule-content h3 {
    font-family: "Exo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 6px;
}

.rule-content p {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.7;
}

/* Footer */
.rules-footer {
    background: #0a0a08;
    border-top: 1px solid rgba(183, 168, 106, 0.12);
    padding: 30px 40px;
    text-align: center;
}

.rules-footer .footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 10px;
    opacity: 0.6;
}

.rules-footer .footer-inner p {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .rules-nav .nav-links {
        gap: 16px;
    }

    .rules-nav .nav-links li a {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .rules-hero {
        height: 280px;
    }

    .rules-section {
        padding: 30px 20px 60px;
    }

    .rule-category {
        padding: 24px 20px;
    }

    .category-number {
        display: none;
    }

    .category-title h2 {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .rule-item {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .rules-nav .nav-inner {
        padding: 0 16px;
    }

    .rules-nav .nav-links {
        gap: 10px;
    }

    .rules-nav .nav-links li a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .rules-nav .nav-logo-item img {
        width: 40px;
        height: 40px;
    }

    .rules-hero .hero-content h1 {
        letter-spacing: 8px;
    }

    .rules-intro {
        padding: 30px 16px 16px;
    }

    .rules-section {
        padding: 20px 16px 50px;
    }

    .rule-category {
        padding: 20px 16px;
    }

    .category-header {
        gap: 12px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
    }
}

/* ── Responsive 768px ── */
@media (max-width: 768px) {
    .rules-hero {
        height: 280px;
    }

    .rules-section {
        padding: 36px 20px 60px;
    }

    .rules-container {
        max-width: 100%;
        padding: 0;
    }

    .rule-category {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .category-header h2 {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 10vw, 56px);
        letter-spacing: 8px;
    }
}

/* ── Responsive 480px ── */
@media (max-width: 480px) {
    .rules-hero {
        height: 240px;
    }

    .rules-section {
        padding: 24px 14px 40px;
    }

    .rule-category {
        padding: 16px 14px;
    }

    .rule-item {
        padding: 12px 0;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 10vw, 44px);
        letter-spacing: 5px;
    }
}