:root{--primary-dark:#0a2a6e;--primary-mid:#1a4fae;--primary-light:#1e6abf;--accent:#4facfe;--accent-light:#00f2fe;--bg-light:#f0f4ff;--bg-card:#fff;--text-dark:#1e293b;--text-body:#475569;--text-muted:#94a3b8;--border-light:#e2e8f0;--shadow-sm:0 1px 3px #0a2a6e14;--shadow-md:0 4px 20px #0a2a6e1a;--shadow-lg:0 10px 40px #0a2a6e1f;--radius-sm:10px;--radius-md:16px;--radius-lg:24px}.rules-wrapper{background:var(--bg-light);min-height:100vh;padding-bottom:10px}.rules-hero{background:linear-gradient(155deg,#0a2a6e 0%,#1a4fae 45%,#1e6abf 100%);margin-bottom:-40px;padding:60px 0 80px;position:relative;overflow:hidden}.rules-hero:before{content:"";pointer-events:none;background:radial-gradient(circle,#4facfe26 0%,#0000 70%);border-radius:50%;width:600px;height:600px;position:absolute;top:-50%;right:-20%}.rules-hero:after{content:"";pointer-events:none;background:radial-gradient(circle,#00f2fe1a 0%,#0000 70%);border-radius:50%;width:400px;height:400px;position:absolute;bottom:-30%;left:-10%}.hero-content{z-index:2;text-align:center;position:relative}.hero-icon{backdrop-filter:blur(10px);background:#ffffff1f;border:2px solid #fff3;border-radius:20px;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 20px;display:flex}.hero-icon svg{fill:none;stroke:#fff;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:40px;height:40px}.rules-hero h1{color:#fff;letter-spacing:-.5px;justify-content:center;align-items:center;margin:0 0 12px;font-size:38px;font-weight:800;display:flex}.hero-subtitle{color:#ffffffb3;justify-content:center;align-items:center;margin:0;font-size:16px;font-weight:400;display:flex}.rules-breadcrumb{justify-content:center;align-items:center;gap:8px;margin-top:24px;font-size:14px;display:flex}.rules-breadcrumb a{color:#fff9;text-decoration:none;transition:color .2s}.rules-breadcrumb a:hover{color:#fff}.rules-breadcrumb span{color:#fff6}.rules-breadcrumb .current{color:#ffffffe6;font-weight:600}.rules-card{background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);z-index:3;border:1px solid #fffc;max-width:1000px;margin:0 auto;padding:50px;position:relative}.rules-card h3{color:var(--primary-dark);border-radius:var(--radius-sm);border-right:4px solid var(--primary-mid);background:linear-gradient(135deg,#0a2a6e0a 0%,#1e6abf0f 100%);margin:45px 0 20px;padding:18px 24px;font-size:22px;font-weight:700;position:relative}.rules-card h3:before{content:"";opacity:.03;border-radius:var(--radius-sm);pointer-events:none;background:linear-gradient(155deg,#0a2a6e 0%,#1a4fae 45%,#1e6abf 100%);position:absolute;inset:0}.rules-content{text-align:right;color:var(--text-body);direction:rtl;font-size:15px;line-height:2}.rules-content p{border-radius:var(--radius-sm);border:1px solid var(--border-light);background:linear-gradient(135deg,#f8faff 0%,#f0f4ff 100%);margin:0 0 18px;padding:18px 22px;transition:all .3s;position:relative;overflow:hidden}.rules-content p:before{content:"";background:linear-gradient(180deg,var(--accent)0%,var(--primary-mid)100%);opacity:0;border-radius:0 3px 3px 0;width:3px;height:100%;transition:opacity .3s;position:absolute;top:0;right:0}.rules-content p:hover{box-shadow:var(--shadow-sm);background:linear-gradient(135deg,#f0f4ff 0%,#e8eeff 100%);transform:translate(-3px)}.rules-content p:hover:before{opacity:1}.rules-content a{color:var(--primary-mid);border-bottom:2px solid #1a4fae33;padding-bottom:1px;font-weight:600;text-decoration:none;transition:all .2s}.rules-content a:hover{color:var(--primary-dark);border-bottom-color:var(--primary-dark)}.rules-toc{border-radius:var(--radius-md);background:linear-gradient(135deg,#0a2a6e08 0%,#1e6abf0d 100%);border:1px solid #1a4fae1a;margin-bottom:35px;padding:24px 28px}.rules-toc h4{color:var(--primary-dark);align-items:center;gap:8px;margin:0 0 14px;font-size:16px;font-weight:700;display:flex}.rules-toc h4 svg{width:20px;height:20px;stroke:var(--primary-mid);fill:none;stroke-width:2px}.toc-items{flex-wrap:wrap;gap:10px;display:flex}.toc-item{color:var(--primary-mid);cursor:pointer;background:#fff;border:1px solid #1a4fae1f;border-radius:25px;padding:8px 18px;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s}.toc-item:hover{color:#fff;background:linear-gradient(155deg,#0a2a6e 0%,#1a4fae 45%,#1e6abf 100%);border-color:#0000;transform:translateY(-2px);box-shadow:0 4px 12px #0a2a6e40}.last-updated{color:var(--primary-mid);background:#4facfe14;border-radius:20px;align-items:center;gap:6px;margin-bottom:30px;padding:8px 16px;font-size:13px;display:inline-flex}.last-updated svg{width:16px;height:16px;stroke:var(--primary-mid);fill:none;stroke-width:2px}.scroll-top-btn{cursor:pointer;opacity:0;visibility:hidden;z-index:100;background:linear-gradient(155deg,#0a2a6e 0%,#1a4fae 45%,#1e6abf 100%);border:none;border-radius:14px;justify-content:center;align-items:center;width:50px;height:50px;transition:all .3s;display:flex;position:fixed;bottom:30px;left:30px;transform:translateY(20px);box-shadow:0 8px 25px #0a2a6e59}.scroll-top-btn.visible{opacity:1;visibility:visible;transform:translateY(0)}.scroll-top-btn:hover{transform:translateY(-3px);box-shadow:0 12px 30px #0a2a6e73}.scroll-top-btn svg{stroke:#fff;fill:none;stroke-width:2.5px;width:22px;height:22px}@media print{.rules-hero{-webkit-print-color-adjust:exact;background:#0a2a6e!important}.scroll-top-btn{display:none}}@media (width<=992px){.rules-hero{padding:50px 0 70px}.rules-hero h1{font-size:32px}.rules-card{border-radius:var(--radius-md);margin:0 15px;padding:35px 30px}}@media (width<=768px){.rules-hero{padding:40px 15px 60px}.rules-hero h1{font-size:26px}.hero-subtitle{font-size:14px}.hero-icon{border-radius:16px;width:64px;height:64px}.hero-icon svg{width:32px;height:32px}.rules-card{border-radius:var(--radius-sm);margin:0 10px;padding:25px 18px}.rules-card h3{margin:35px 0 15px;padding:14px 18px;font-size:18px}.rules-content{font-size:14px;line-height:1.9}.rules-content p{margin-bottom:12px;padding:14px 16px}.rules-toc{padding:18px 20px}.toc-items{gap:8px}.toc-item{padding:6px 14px;font-size:12px}.scroll-top-btn{border-radius:12px;width:44px;height:44px;bottom:20px;left:20px}}@media (width<=480px){.rules-hero h1{font-size:22px}.rules-breadcrumb{font-size:12px}.rules-card{padding:20px 14px}.rules-content p{padding:12px 14px}}