/* ===== GLOBAL ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,body{
overflow-x:hidden;
font-family:'Noto Rashi Hebrew', serif;
background:#140b3c;
}


/* ===== HEADER ===== */

.site-header{
width:100%;
background:#140b3c;
color:#fff;
}


/* ===== HEADER CONTAINER ===== */

.header-container{

max-width:1200px;
width:100%;


display:flex;
align-items:center;
/* IMPORTANT FIX */
gap:100px;

padding:14px 16px;

}


/* ===== LOGO ===== */

.logo{
display:flex;
align-items:center;
text-decoration:none;
flex-shrink:0;
}

.logo-icon{
height:48px;
margin-right:10px;
}

.logo-text{
height:34px;
}


/* ===== NAV MENU ===== */

.nav-menu{
display:flex;
align-items:center;
flex-shrink:0;
}

.nav-menu a{

color:#fff;
text-decoration:none;

margin:0 16px;

font-size:14px;
letter-spacing:1px;

}

.nav-menu a:hover{
color:#ff9c00;
}


/* ===== SEARCH BAR (FIGMA PERFECT) ===== */

.search-box{

display:flex;
align-items:center;

background:#2c2553;

border-radius:50px;

padding:0 18px;

height:50px;

/* FIX CUT ISSUE */
min-width:260px;
max-width:320px;
width:100%;

overflow:hidden;

flex-shrink:0;

/* PUSH RIGHT */
margin-left:auto;

}


/* INPUT */

.search-box input{

flex:1;

border:none;
background:transparent;

outline:none;

color:#d6d2ee;

font-size:18px;

padding-left:8px;

font-family:'Noto Rashi Hebrew', serif;

}

.search-box input::placeholder{

color:#b8b4d6;
font-size:18px;

}


/* DIVIDER */

.search-divider{

height:30px;

margin:0 12px;

display:block;

opacity:0.9;

}


/* BUTTON */

.search-btn{

background:none;
border:none;

cursor:pointer;

display:flex;
align-items:center;
justify-content:center;

}


/* ICON */

.search-btn img{

width:24px;
height:24px;

}


/* ===== MOBILE ICONS ===== */

.mobile-icons{

display:none;
align-items:center;

margin-left:auto;

}

.mobile-icons button{

background:none;
border:none;

margin-left:12px;

cursor:pointer;

}

.mobile-icons img{

width:26px;
height:26px;

}


/* ===== MOBILE MENU ===== */

.mobile-menu{

display:none;

flex-direction:column;

background:#140b3c;

padding:10px 16px;

width:100%;

}

.mobile-menu a{

color:white;

text-decoration:none;

padding:12px 0;

border-bottom:1px solid rgba(255,255,255,0.1);

font-size:14px;

}


/* ===== MOBILE SEARCH ===== */

.mobile-search{

display:none;

padding:14px 16px;

background:#140b3c;

width:100%;

}

.mobile-search .search-box{

width:100%;
height:56px;

}


/* ===== RESPONSIVE ===== */

@media(max-width:768px){

/* hide desktop elements */
.nav-menu{
display:none;
}

.search-box{
display:none;
}

/* show icons */
.mobile-icons{
display:flex;
margin-left:auto;
}

/* LOGO */
.logo-icon{
height:40px;
}

.logo-text{
height:28px;
}

/* HEADER SPACING */
.header-container{
padding:12px;
gap:10px;

}


/* ✅ MOBILE SEARCH FIX */

.mobile-search{
display:none;
width:100%;
padding:12px 16px;
background:#140b3c;
}

/* CENTER + FULL WIDTH */

.mobile-search .search-box{

display:flex;

width:100%;
max-width:100%;

height:56px;

margin:0 auto;   /* CENTER */

}

/* INPUT FULL WIDTH */

.mobile-search input{
flex:1;
font-size:16px;
}

}


/* ===== SMALL DESKTOP FIX ===== */

@media(max-width:1100px){

.nav-menu a{
margin:0 10px;
font-size:13px;
}

.search-box{
max-width:260px;
}

}



/* ===== SLIDER CONTAINER ===== */

.hero-slider{
width:100%;
overflow:hidden;
position:relative;
}


/* ===== SLIDER ===== */

.slider{
width:100%;
overflow:hidden;
}


/* ===== SLIDES WRAPPER ===== */

.slides{
display:flex;
transition:transform 0.6s ease-in-out;
will-change:transform;
}


/* ===== EACH SLIDE ===== */

.slide{
min-width:100%;
display:block;
text-decoration:none;
}


/* ===== IMAGE (NO CROP) ===== */

.slide picture,
.slide img{
width:100%;
display:block;
}

.slide img{
height:auto;            /* FULL IMAGE */
object-fit:contain;     /* NO CROP */
}


/* ===== MOBILE ===== */

@media(max-width:768px){

.slides{
transition:transform 0.4s ease-in-out;
}

.slide img{
width:100%;
height:auto;
}

}


/* ===== EXTRA SMALL DEVICES ===== */

@media(max-width:480px){

.slide img{
width:100%;
height:auto;
}

}

/* ===== SECTION ===== */

.games-section{
padding:20px;
background:#0d0630;
color:#fff;
}

/* HEADER */

/* HEADER */

.section-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}


/* LEFT TITLE */

.section-title{
display:flex;
align-items:center;
gap:8px;
}

.section-title img{
width:38px;
height:38px;
}

.section-title h2{
font-size:16px;
font-weight:500;
}


/* SEE ALL BUTTON */

.see-all-link{
display:flex;
align-items:center;
}

.see-all-link img{
width:100px;   /* adjust based on your design */
height:auto;
cursor:pointer;
transition:0.3s;
}

/* OPTIONAL HOVER EFFECT */

.see-all-link:hover img{
opacity:0.8;
}

/* ===== SECTION (CRITICAL FIX) ===== */

/* ===== SECTION ===== */

/* ===== SECTION ===== */

.games-section{
width:100%;
padding:16px 70px;
}


/* ===== GRID ===== */

.games-grid{
display:grid;
grid-template-columns:repeat(5, 1fr);
gap:16px;
}


/* ===== CARD ===== */

.game-card{
background:#1b1446;
border-radius:16px;
text-decoration:none;
color:#fff;

width:100%;
height:180px;              /* FIXED */

display:flex;
flex-direction:column;

overflow:hidden;           /* 🔥 PREVENT EXPANSION */
}


/* ===== IMAGE ===== */

.game-thumb{
width:100%;
height:120px;              /* FIXED */
border-radius:12px;
overflow:hidden;
flex-shrink:0;             /* 🔥 IMPORTANT */
}

.game-thumb img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}


/* ===== CONTENT ===== */

.game-info{
height:60px;               /* FIXED */
display:flex;
flex-direction:column;
justify-content:space-between;

padding:8px 10px 10px;
overflow:hidden;           /* 🔥 IMPORTANT */
}


/* ===== TITLE ===== */

.game-title{
font-size:13px;
font-weight:500;

white-space:nowrap;        /* 🔥 FORCE SINGLE LINE */
overflow:hidden;
text-overflow:ellipsis;

flex-shrink:0;
}


/* ===== RATING ===== */

.game-rating{
display:flex;
justify-content:space-between;
align-items:center;
font-size:12px;
}


/* ===== STARS ===== */

.stars{
color:#ffcc00;
font-size:12px;
letter-spacing:1px;
}


/* ===== MOBILE ===== */
@media(max-width:768px){

.games-section{
width:100%;
padding:12px 8px;
}

.games-grid{
grid-template-columns:repeat(2, 1fr);
gap:12px;
}


/* CARD */

.game-card{
height:180px;           /* FIXED */
overflow:hidden;
}


/* IMAGE */

.game-thumb{
height:115px;
flex-shrink:0;
}


/* CONTENT */

.game-info{
height:55px;
padding: 8px;
overflow:hidden;
}


/* TITLE */

.game-title{
font-size:12.5px;

white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

}

/* ===== SECTION ===== */

.articles-section{
width:100%;
padding:60px 20px;
background:#0d0630;
font-family:'Noto Rashi Hebrew', serif;
}


/* TITLE */

.articles-title{
    font-family:'Aclonica', sans-serif;   /* 🔥 NEW FONT */

text-align:center;
color: #fff;
font-size:28px;
font-weight:600;
margin-bottom:40px;
line-height:1.4;
}


/* LIST */

.articles-list{
max-width:1000px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:20px;
}


/* CARD */

.article-card{
display:flex;
justify-content:space-between;
align-items:center;

background:#1b1446;
border-radius:16px;
padding:20px;

border:1px solid rgba(255,255,255,0.1);
}


/* LEFT CONTENT */

.article-content{
flex:1;
padding-right:20px;
}


/* DATE */

.article-date{
font-size:12px;
color:#b8b4d6;
display:block;
margin-bottom:6px;
}


/* HEADING */

.article-heading{
font-size:18px;
margin-bottom:8px;
color: #fff;
}


/* DESC */

.article-desc{
font-size:13px;
color:#b8b4d6;
margin-bottom:12px;
line-height:1.5;
}


/* READ MORE */

.read-more{
display:inline-flex;
align-items:center;
gap:6px;


transition:0.3s;
}

.read-more img{
width:134px;

}




/* IMAGE */

.article-image{
width:200px;
height:140px;
border-radius:12px;
overflow:hidden;
flex-shrink:0;
}

.article-image img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

.articles-title{
font-size:22px;
margin-bottom:30px;
}

.article-card{
flex-direction:column;
align-items:flex-start;
padding:16px;
}

.article-content{
padding-right:0;
margin-bottom:12px;
}

.article-image{
width:100%;
height:160px;
}

}

/* ===== SECTION ===== */



.about-section{
padding:10px 20px;
background:#0d0630;
color:#fff;
font-family:'Noto Rashi Hebrew', serif;
}


/* TITLE */

.about-title{
        font-family:'Aclonica', sans-serif;   /* 🔥 NEW FONT */

text-align:center;
font-size:28px;
margin-bottom:40px;
}


/* CONTAINER */

.about-container{
width:100%;
max-width:1100px;

position:relative;
display:flex;
align-items:flex-start;
gap:40px;

margin:0 auto;   /* 🔥 EXTRA SAFETY CENTER */
}
.about-desc{
font-size:15px;
color:#cfcbe6;
line-height:1.8;

width: 100%;
max-width:1100px;
margin:0 auto 30px;
}

/* FAQ */

.faq{
width:65%;
z-index:2;  
}


/* ITEM */

.faq-item{
background:rgba(255,255,255,0.06);
border-radius:14px;
padding:18px 20px;
margin-bottom:14px;

width:100%;
}

.faq-item.active{
background:#231a5a;
}


/* QUESTION */

.faq-question{
display:flex;
justify-content:space-between;
align-items:center;
font-size:15px;
}


/* ANSWER */

.faq-answer{
font-size:13px;
color:#b8b4d6;
margin-top:10px;

display:none;
}

.faq-item.active .faq-answer{
display:block;
}


/* ARROW */

.arrow{
transition:0.3s;
}

.faq-item.active .arrow{
transform:rotate(180deg);
}


/* IMAGE */

.about-image{
position: absolute;
    top: 10px;
    right: -2px;
    width: 400px;
    height: 310px;
    border-radius: 20px;
    z-index: 3;
}

.about-image img{
width:100%;
height:100%;
object-fit:cover;
}   


/* THUMBS */

.faq-thumbs{
display:grid;
grid-template-columns:repeat(4, 1fr);
gap:14px;

width:100%;   /* 🔥 FULL WIDTH MATCH FAQ */
margin-top:18px;
}

.faq-thumbs img{
width:100%;
height:80px;
border-radius:12px;
object-fit:cover;
}
.about-features{
display:grid;
grid-template-columns:repeat(4, 1fr);  /* 4 columns */
gap:16px;

width:100%;
max-width:900px;   /* keeps it centered nicely */
margin:0 auto 25px;  /* center horizontally */

text-align:center;
}

.about-features div{
background:rgba(255,255,255,0.05);
padding:14px 10px;
border-radius:12px;
font-size:14px;
color:#fff;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

gap:6px;

transition:0.3s;
}

.about-features div:hover{
background:#231a5a;
transform:translateY(-3px);
}
.about-features div::first-line{
font-size:18px;
}
@media(max-width:768px){

/* ===== STACK LAYOUT ===== */
.about-container{
display:flex;
flex-direction:column;
gap:16px;
}
.about-features{
grid-template-columns:repeat(2, 1fr);  /* 2 per row on mobile */
gap:10px;
}
/* ===== FAQ FULL WIDTH ===== */
.faq{
width:100%;
order:1;
}

/* ===== IMAGE SECOND (IMPORTANT FIX) ===== */
.about-image{
position:relative;
transform:none;
display: none;
width:100%;
height:200px;

order:2;   /* 🔥 MOVE IMAGE ABOVE THUMBS */
margin:0;
}

.about-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:16px;
}

/* ===== THUMBS LAST ===== */
.faq-thumbs{
order:3;

display:grid;
grid-template-columns:repeat(4,1fr);
gap:8px;

width:100%;
}

/* THUMB IMAGE */
.faq-thumbs img{
width:100%;
height:60px;
border-radius:10px;
object-fit:cover;
}

/* ===== FAQ ITEM FIX ===== */
.faq-item{
padding:16px;
border-radius:12px;
}

/* TEXT SIZE */
.faq-question{
font-size:14px;
}

.faq-answer{
font-size:13px;
line-height:1.5;
}

}   

/* ===== FOOTER ===== */

.site-footer{
width:100%;
background:#0d0630;
color:#fff;

padding:60px 20px;

display:flex;
justify-content:center;

font-family:'Noto Rashi Hebrew', serif;
}


/* ===== CONTAINER ===== */

.footer-container{
width:100%;
text-align:center;
}


/* ===== LOGO ===== */

.footer-logo{
display:flex;
justify-content:center;
align-items:center;
gap:10px;

margin-bottom:20px;
}

.footer-logo .logo-icon{
height:50px;
}

.footer-logo .logo-text{
height:34px;
}


/* ===== DESCRIPTION ===== */

.footer-desc{
font-size:15px;
color:#cfcbe6;
line-height:1.8;

max-width:700px;
margin:0 auto 30px;
}


/* ===== TITLE ===== */

.footer-title{
font-family:'Aclonica', sans-serif;
font-size:26px;

margin-bottom:20px;
}


/* ===== DIVIDER BLOCK ===== */

.footer-divider-block{
margin-top:30px;
}


/* ===== DIVIDER LINE ===== */
.divider-line-top{
width:100%;
height:1px;
margin-bottom: 20px;
background:rgba(255,255,255,0.2);

}
.divider-line{
width:100%;
height:1px;

background:linear-gradient(
to right,
transparent,
rgba(255,255,255,0.2),
transparent
);

margin:15px 0;
}


/* ===== LINKS ===== */

.footer-links{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;

font-size:14px;
}


/* LINKS STYLE */

.footer-links a{
color:#fff;
text-decoration:none;
position:relative;
transition:0.3s;
}


/* DOT SEPARATOR */

.footer-links a::after{
content:"•";
margin-left:12px;
color:#aaa;
}

.footer-links a:last-child::after{
content:"";
}


/* HOVER */

.footer-links a:hover{
color:#ff9c00;
}


/* ===== MOBILE RESPONSIVE ===== */

@media(max-width:768px){

.site-footer{
padding:40px 16px;
}


/* LOGO SMALL */

.footer-logo .logo-icon{
height:40px;
}

.footer-logo .logo-text{
height:26px;
}


/* TEXT */

.footer-desc{
font-size:14px;
line-height:1.6;
}


/* TITLE */

.footer-title{
    font-family:'Aclonica', sans-serif;

font-size:22px;
}


/* LINKS STACK */

.footer-links{
flex-direction:column;
gap:10px;
}


/* REMOVE DOTS */

.footer-links a::after{
content:"";
}


/* LINE SPACING */

.divider-line{
margin:10px 0;
}

}