*{
margin:0;
padding:0;
box-sizing:border-box;
}

@font-face {
  font-family: 'IranianFont';
  src: url('fonts/font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional: improves loading */
}

body{
font-family: 'IranianFont', tahoma, sans-serif;
background-color: #0f0f0f;
color:#efefef;
direction:rtl;
text-align:right;
}

h1,h2,h3,p,a,span{
unicode-bidi:plaintext;
}

.english-text {
  font-family: tahoma, sans-serif; /* or your choice of English font */
  direction: ltr;
}


/* HERO */

.hero{
text-align:center;
padding:100px 20px;
}

.hero h1{
font-size:50px;
color:#fe7c06;
}

.hero p{
margin-top:10px;
color:#aaa;
}



/* BUTTON */

.btn-glow{
display:inline-block;
padding:10px 20px;
background:#fe7c06;
color:white;
text-decoration:none;
border-radius:8px;
font-size:14px;
transition:0.3s;
box-shadow:0 0 10px rgba(254,124,6,0.6);
}

.btn-glow:hover{
box-shadow:0 0 25px rgba(254,124,6,1);
transform:translateY(-2px);
}

.btn-glow.big{
padding:14px 40px;
margin-top:25px;
font-size:16px;
}



/* SERVER IP */

.server-ip{
margin-top:15px;
}

.glass-btn{
background:rgba(255,255,255,0.08);
border:1px solid rgba(255,255,255,0.2);
color:white;
padding:6px 14px;
border-radius:6px;
cursor:pointer;
margin-right:10px;
}



/* SECTION */

.download-section{
padding:80px 0;
}

.container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:1.1fr 1fr;
gap:40px;
padding:0 20px;
}



/* TITLES */

.section-title{
color:#fe7c06;
margin-bottom:10px;
}

.section-sub{
margin-bottom:30px;
color:#aaa;
}



/* GLASS */

.glass{
background:rgba(255,255,255,0.03);
backdrop-filter:blur(10px);
border:1px solid rgba(255,255,255,0.1);
border-radius:12px;
}



/* STEP CARD */

.step-card {
  display: flex;
  align-items: center;
  gap: 15px;           /* reduced gap from 20px */
  padding: 16px 18px;  /* tighter padding */
  margin-bottom: 16px; /* less vertical spacing */
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
    border:1px solid rgba(254,124,6,0.5);
}

.step-icon {
  width: 40px;         /* slightly smaller */
  flex-shrink: 0;
}

.step-info {
  flex: 1;
  min-width: 0;        /* avoid overflow issues */
}

.step-info h3 {
  color: #fe7c06;
  margin-bottom: 6px;
  font-size: 14.5px;   /* slightly smaller */
}

.step-info p {
  font-size: 12.5px;
  color: #bbb;
  margin-bottom: 10px; /* space before IP/button etc. */
  line-height: 1.35;
}

/* ip-btn properly spaced inside step-info */
.step-info .ip-btn {
  margin: 8px 0 14px 0; /* tight vertical margin */
  padding: 10px 20px;
  font-size: 14px;
  min-width: auto;
}

/* Make step-links buttons compact and vertical space tight */
.step-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Smaller font for step-links buttons */
.step-links a.btn-glow {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(254, 124, 6, 0.5);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step-links a.btn-glow:hover {
  box-shadow: 0 0 25px rgba(254, 124, 6, 0.9);
  transform: translateY(-2px);
}






/* VIDEO */

.video-box{
aspect-ratio:16/9;
padding:8px;
overflow:hidden;
}

.video-box iframe{
width:100%;
height:100%;
border:none;
border-radius:10px;
}



/* SCREENSHOTS */

.screenshots{
display:flex;
gap:10px;
margin-top:15px;
}

.screenshots img{
width:25%;
border-radius:10px;
cursor:pointer;
transition:0.3s;
object-fit:cover;
}

.screenshots img:hover{
transform:scale(1.05);
}



/* LIGHTBOX */

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
z-index:999;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}



/* FOOTER */

footer{
    text-align:center;
    padding:40px 0;
    color:#ccc;
}

.footer-logo{
    height:55px;
    width:auto;
    margin-bottom:12px;
    opacity:0.9;
    transition:0.25s;
}

.footer-logo:hover{
    opacity:1;
    transform:scale(1.05);
}



/* MOBILE */

/* FEATURES */

.features{
display:flex;
gap:15px;
justify-content:center;
margin-top:40px;
flex-wrap:wrap;
}

.feature-box{
padding:15px 20px;
text-align:center;
min-width:180px;
}

.feature-box h3{
color:#fe7c06;
font-size:15px;
margin-bottom:5px;
}

.feature-box p{
font-size:12px;
color:#bbb;
}



/* SOCIAL MEDIA */

/* title */
.contact-title{
    text-align:center;
    font-size:26px;       /* smaller */
    color:#fe7c06;        /* your theme accent */
    margin-top:60px;
    margin-bottom:6px;    /* space before subtitle */
}

/* subtitle */
.contact-subtitle{
    text-align:center;
    font-size:17px;
    color:#ccc;
    margin-bottom:25px;   /* space before buttons */
}

/* container */
.social-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

/* base button */
.social-btn{
    padding:10px 22px;
    border-radius:10px;
    font-size:18px;
    font-weight:600;
    color:#fff;
    text-decoration:none;
    transition:0.25s;
    border:1px solid rgba(255,255,255,0.05);
}

/* dark muted brand colors (unhovered) */
.telegram{
    background:#113d4f;   /* darkened telegram blue */
}
.instagram{
    background:#4a162b;   /* dark magenta tone */
}
.discord{
    background:#22254d;   /* dark indigo */
}
.bale{
    background:#0a4039;   /* dark teal */
}
.aparat{
    background:#501427;   /* dark red/pink */
}

/* hover → full bright colors */
.social-btn:hover{
    transform:translateY(-4px);
}

.telegram:hover{ background:#2AABEE; }
.instagram:hover{ background:#E1306C; }
.discord:hover{ background:#5865F2; }
.bale:hover{ background:#00b4a0; }
.aparat:hover{ background:#ED145B; }


.ip-btn {
    margin-top: 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fe7c06; /* Your chosen orange */
    background: #161616; /* Your chosen dark grey */
    border: 2px solid #fe7c06;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 180px; /* Keeps size stable when text changes */
}

.ip-btn:hover {
    background: #fe7c06;
    color: #161616;
    box-shadow: 0 0 15px rgba(254, 124, 6, 0.5);
    transform: translateY(-2px);
}

.ip-btn.copied {
    background: #28a745; /* Green color for success */
    border-color: #28a745;
    color: white;
    cursor: default;
    transform: scale(1.05);
}

.header-bar{
position:sticky;
top:0;
padding:20px 15px;
font-size:30px;
color:#fe7c06;
text-align:center;
z-index:9999;

background:rgba(255,255,255,0.05);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,0.1);

/* These transitions make resize smooth */
transition:padding 0.4s ease, font-size 0.4s ease, background 0.4s ease;
}

.header-bar.scrolled{
padding:8px 15px;           /* smaller height */
font-size:20px;              /* smaller text size */
background:rgba(255,255,255,0.08);  /* slightly denser glass */
backdrop-filter:blur(14px);
-webkit-backdrop-filter:blur(14px);
}






.reveal{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

.feature-box{
transition:.3s;
}

.feature-box:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.welcome-line{
    font-size:32px;
    color:#ccc;
    margin-top:25px;
    margin-bottom:30px;
    text-align:center;
}
.welcome-special{
    font-size:40px;
    font-weight:900;
    color:#fe7c06;
}

.timers-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap; /* در موبایل به صورت خودکار زیر هم می‌روند */
}

.starter-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 124, 6, 0.3);
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(254, 124, 6, 0.2);
}

.countdown-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-end;
    gap: 8px; /* فاصله کمتر بین روز و ساعت */
    margin-bottom: 15px;
}

.time-box { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.time-group { display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 4px; }

.number { font-weight: bold; color: #fe7c06; line-height: 1; }
.day { font-size: 24px; }
.hour, .min { font-size: 20px; }
.sec { font-size: 16px; color: #bbb; }

.colon { font-size: 18px; color: #fe7c06; font-weight: bold; padding-bottom: 3px; line-height: 1; }
.label { font-size: 10px; color: #fff; margin-bottom: 2px; }

.starter-image { width: 100%; height: auto; border-radius: 8px; margin-top: 15px; }
.starter-text h2 { color: #fe7c06; margin: 10px 0 5px; }
.starter-text p { color: #ffffff; margin: 0; font-size: 14px; }

/* Apply this to all sections that have background images */
/* Consolidated background, centering, and masking */
.section-bg-1, .section-bg-2, .section-bg-3, .section-bg-4 {
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    width: 100%;

    /* Keep the mask applied */
    -webkit-mask-image: linear-gradient(
        to bottom, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
}



/* 2. Individual images */
.section-bg-1 { background-image: url('img/bg-preview.webp'); }
.section-bg-2 { background-image: url('img/forbes.webp'); }
.section-bg-3 { background-image: url('img/bg-rate.webp'); }
.section-bg-4 { background-image: url('img/start-bg.webp'); }


/* 1. The wrapper MUST be the anchor point */
.floating-wrapper {
    position: absolute;
    top: 50px;
    z-index: 1;
    pointer-events: none;
    /* This tells the browser: "Don't take up any space" */
    width: 0; 
    height: 0;
    /* This prevents the child from expanding the wrapper */
    overflow: visible; 
}

/* 2. Positioning the wrappers */
.businessman-wrapper { left: 5%; }
.bandit-wrapper { right: 30%; }

/* 3. The images must be constrained strictly */
.floating-pic {
    position: absolute; /* Relative to the wrapper */
    top: 0;
    left: 0;
    height: auto;
    display: block;
}

/* 4. SEPARATE SIZING - THESE ARE THE ONLY VALUES YOU CHANGE */
.businessman-img {
    width: 350px; /* Adjust this to change size */
    max-width: 25vw; /* Responsive safety */
}

.bandit-img {
    width: 450px; /* Adjust this to change size */
    max-width: 35vw; /* Responsive safety */
}





/*mobile*/
@media (max-width:900px){


    .glass,
  .header-bar,
  .starter-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255,255,255,0.06);
  }

  .step-card:hover,
  .feature-box:hover,
  .btn-glow:hover,
  .social-btn:hover,
  .ip-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .step-card,
  .feature-box,
  .btn-glow,
  .social-btn,
  .ip-btn {
    transition: none;
  }

    .step-card:hover,
  .feature-box:hover {
    box-shadow: none;
  }

  .glass {
    box-shadow: none;
  }

    .floating-wrapper {
        display: none;
    }

.contact-title{
    font-size:22px;
}
.contact-subtitle{
    font-size:15px;
}
.social-btn{
    font-size:16px;
    padding:8px 18px;
}

.header-bar{
padding:14px 10px;
font-size:20px;

}

.header-bar.scrolled{
padding:5px 10px;           /* smaller height */
font-size:14px;              /* smaller text size */
}

/* step cards become nicely compact */
.step-card{
    padding:14px 16px;
    margin-bottom:16px;
    border-radius:10px;
    transform:none;       /* stops hover bump on mobile */
}
/* smaller title */
.step-card h3{
    font-size:16px;
    margin-bottom:8px;
}
/* smaller description */
.step-card p{
    font-size:14px;
    line-height:1.45;
    margin-bottom:6px;
}
/* if step cards include icons/images */
.step-card img{
    width:55px;
    margin-bottom:8px;
}
/* reduce spacing between cards */
.steps-container{
    gap:12px !important;
}

.welcome-line{
    font-size:26px;
    margin-bottom:24px;
}
.welcome-special{
    font-size:34px;
}

.container{
grid-template-columns:1fr;
}

.screenshots{
flex-wrap:wrap;
}

.screenshots img{
width:48%;
}

.hero h1{
font-size:36px;
}

}