.rules-page {
    min-height: 100vh;
    background: transparent;
    padding-top: 96px;
    position: relative;
    isolation: isolate;
}

.rules-page::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.20), transparent 60%);
    filter: blur(72px);
    pointer-events: none;
    z-index: -1;
    animation: auroraFloat 26s ease-in-out infinite;
}

.rules-page::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(180, 130, 70, 0.18), transparent 60%);
    filter: blur(72px);
    pointer-events: none;
    z-index: -1;
    animation: auroraFloat 30s ease-in-out infinite reverse;
}

.rules-hero {
    position: relative;
    min-height: 32vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 50px;
    background: transparent;
    text-align: center;
}

.rules-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.08;
    letter-spacing: 0.005em;
    font-weight: 700;
    color: var(--accent-3);
    margin-bottom: 20px;
    text-align: center;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.7),
        0 0 28px rgba(212, 175, 55, 0.30);
    text-transform: none;
}

.rules-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    line-height: 1.6;
    font-style: normal;
    letter-spacing: 0;
    margin: 0 auto;
}

.rules-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    border-radius: var(--r-pill);
    transition: all 0.25s ease;
    margin-bottom: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.back-button:hover {
    background: linear-gradient(180deg, rgba(244, 228, 188, 0.14), rgba(244, 228, 188, 0.04));
    border-color: var(--line-strong);
    color: var(--accent-3);
    transform: translateX(-3px);
    box-shadow:
        inset 0 1px 0 rgba(244, 228, 188, 0.14),
        0 0 0 4px rgba(212, 175, 55, 0.22);
}

.rules-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 32px;
    margin-bottom: 22px;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}

.rules-section::before {
    display: none;
}

.rules-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 28px);
    line-height: 1.15;
    letter-spacing: 0.005em;
    font-weight: 700;
    color: var(--accent-3);
    margin-bottom: 18px;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.20);
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

.rules-section h2::after {
    display: none;
}

.rules-section h2 .icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.50), rgba(180, 130, 70, 0.20) 70%),
        linear-gradient(180deg, rgba(244, 228, 188, 0.10), rgba(244, 228, 188, 0.02));
    border: 1px solid var(--line-strong);
    color: var(--accent-3);
    font-size: 16px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(244, 228, 188, 0.18),
        0 0 14px rgba(212, 175, 55, 0.30);
}

.rules-section p {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rules-list {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
}

.rules-list li {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.rules-list li::before {
    content: "✦";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 18px;
    text-align: center;
    color: var(--accent);
    font-size: 12px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.55);
}

.rules-list li strong {
    color: var(--accent-3);
    font-weight: 600;
}

.warning-box {
    background:
        linear-gradient(180deg, rgba(180, 60, 50, 0.16), rgba(100, 30, 25, 0.10));
    border: 1px solid rgba(220, 110, 90, 0.40);
    border-radius: var(--r-md);
    padding: 18px;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 180, 150, 0.10),
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(180, 60, 50, 0.12);
}

.warning-box i {
    color: #ffa68b;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    text-shadow: 0 0 10px rgba(220, 110, 90, 0.6);
}

.warning-box p {
    margin: 0;
    color: rgba(255, 220, 200, 0.95);
    font-size: 14px;
    line-height: 1.6;
}

.info-box {
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(100, 70, 30, 0.10));
    border: 1px solid rgba(212, 175, 55, 0.40);
    border-radius: var(--r-md);
    padding: 18px;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow:
        inset 0 1px 0 rgba(244, 228, 188, 0.12),
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(212, 175, 55, 0.12);
}

.info-box i {
    color: var(--accent-3);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.info-box p {
    margin: 0;
    color: rgba(244, 228, 188, 0.92);
    font-size: 14px;
    line-height: 1.6;
}
