@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;500;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Cairo',sans-serif;

background:
linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
url("images/bg.png");

background-size:cover;
background-position:center;
background-attachment:fixed;

color:white;
direction:rtl;
min-height:100vh;
}

body::before{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.75);

z-index:-1;
}

/* ^^ تعديلي الزق للبودي حقوقي حقوقي حقوقي ^^ */

/* HEADER */

header{
background:rgba(2,6,23,0.8);
backdrop-filter:blur(10px);
padding:30px;
text-align:center;
font-size:32px;
font-weight:700;
letter-spacing:2px;
border-bottom:1px solid rgba(34,197,94,0.4);
box-shadow:0 0 30px rgba(34,197,94,0.2);
}

/* NAVBAR */

nav{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:12px;
background:#020617;
padding:14px;
position:sticky;
top:0;
z-index:100;
border-bottom:1px solid rgba(34,197,94,0.2);
}

nav a{
color:#e5e7eb;
text-decoration:none;
padding:10px 16px;
border-radius:8px;
font-size:14px;
transition:0.25s;
}

nav a:hover{
background:#22c55e;
color:black;
transform:translateY(-3px);
box-shadow:0 0 12px rgba(34, 197, 129, 0.795);
}

/* HERO */

.hero{
max-width:1200px;
margin:auto;
padding:60px 20px;
text-align:center;
}

.hero h1{
font-size:40px;
margin-bottom:10px;
}

.hero p{
color:#94a3b8;
}

/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

/* SECTION TITLE */

.section-title{
font-size:24px;
margin-bottom:20px;
border-right:4px solid #22c55e;
padding-right:10px;
}

/* LEADERS */

.leaders{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
margin-top:40px;
}

.leader-card{
background:#111827;
border-radius:14px;
padding:25px;
text-align:center;
border:1px solid #1f2937;
transition:0.3s;
}

.leader-card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px rgba(34, 197, 129, 0.795);
}

.leader-card img{
width:120px;
height:120px;
border-radius:50%;
object-fit:cover;
border:3px solid #22c55e;
margin-bottom:15px;
}

/* BOX */

.box{
background:#111827;
padding:20px;
border-radius:12px;
border:1px solid #1f2937;
margin-bottom:20px;
transition:0.3s;
}

.box:hover{
transform:scale(1.02);
box-shadow:0 0 20px rgba(34, 197, 129, 0.795);
}

/* TABLE */

table{
width:100%;
border-collapse:collapse;
margin-bottom:40px;
border-radius:12px;
overflow:hidden;
background:#111827;
}

th,td{
padding:14px;
text-align:center;
border-bottom:1px solid #1f2937;
}

th{
background:#020617;
color:#22c55e;
}

tr:hover{
background:#1f2937;
}

/* GUIDE IMAGES */

.guide-img{
max-width:500px;
width:100%;
margin-top:15px;
border-radius:10px;
display:block
margin-right:auto;
margin-left:auto;
border:1px solid #063a2f;
}

/* VEHICLES */

.vehicles{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-bottom:30px;
}

.vehicle-card{
background:#111827;
border:1px solid #1f2937;
border-radius:12px;
padding:15px;
text-align:center;
transition:0.3s;
}

.vehicle-card:hover{
transform:translateY(-5px);
box-shadow:0 0 15px rgba(34, 197, 129, 0.795);
}

.vehicle-card img{
width:100%;
border-radius:8px;
margin-bottom:10px;
}

/* SEARCH */

.search-box{
max-width:800px;
margin:30px auto;
}

.search-box input{
width:100%;
padding:14px;
border-radius:10px;
background:#020617;
border:1px solid #1f2937;
color:white;
}

/* RANKS */

.ranks-list{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:12px;
}

.rank-card{
background:#111827;
border:1px solid #1f2937;
border-radius:12px;
padding:18px;
text-align:center;
font-size:18px;
font-weight:700;
transition:0.3s;
}

.rank-card:hover{
transform:scale(1.03);
box-shadow:0 0 20px rgba(34, 197, 129, 0.795);
}

/* RULES */

.rules-container{
max-width:900px;
margin:auto;
background:#111827;
padding:30px;
border-radius:14px;
border:1px solid #1f2937;
box-shadow:0 0 25px rgba(34,197,94,0.15);
position:relative;
}

.rules-container::before{
content:"";
position:absolute;
right:20px;
top:25px;
bottom:25px;
width:3px;
background:#22c55e;
border-radius:10px;
}

.rule{
position:relative;
padding:14px 40px 14px 50px;
margin-bottom:12px;
line-height:1.9;
font-size:15px;
color:#e5e7eb;
transition:0.25s;
}

.rule::before{
content:"";
position:absolute;
right:14px;
top:50%;
transform:translateY(-50%);
width:14px;
height:14px;
background:#22c55e;
border-radius:50%;
box-shadow:0 0 12px rgba(34,197,94,0.9);
}

.rule:hover{
background:#1f2937;
border-radius:8px;
}

/* BUTTON */

button{
background:#22c55e;
border:none;
padding:10px 15px;
border-radius:8px;
cursor:pointer;
font-weight:600;
margin-top:10px;
}

button:hover{
background:#16a34a;
}

/* FOOTER */

footer{
margin-top:60px;
padding:20px;
background:#020617;
text-align:center;
color:#94a3b8;
border-top:1px solid #22c55e;
}

/* SCROLLBAR */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#020617;
}

::-webkit-scrollbar-thumb{
background:#22c55e;
border-radius:10px;
}
.text{
white-space: pre-line;
line-height: 1.8;
margin-top:10px;
}
.ad-box{
background:#020617;
border:1px solid #1f2937;
border-radius:10px;
padding:15px;
margin-top:15px;
transition:0.3s;
}

.ad-box:hover{
border-color:#22c55e;
box-shadow:0 0 10px rgba(34, 197, 129, 0.795);
}

/* BACKGROUND BLUR EFFECT */

body::before{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:
radial-gradient(circle at 10% 10%, rgba(34,197,94,0.25), transparent 40%),
radial-gradient(circle at 90% 30%, rgba(34,197,94,0.2), transparent 40%),
radial-gradient(circle at 40% 90%, rgba(34,197,94,0.2), transparent 40%);

filter:blur(120px);
opacity:0.6;
z-index:-1;
}

body::before{
animation: bgMove 20s infinite alternate;
}

@keyframes bgMove{
0%{
transform:scale(1);
}
100%{
transform:scale(1.2);
}
}