/* =====================
GLOBAL RESET + VARIABLES
===================== */

:root{
--primary:#7c5cff;
--primary-dark:#6246ea;

--text:#1a1a1a;
--muted:#6b7280;

--bg:#f6f7fb;
--card:#ffffff;
--border:#e6e8f0;

--accent:#f1efff;
--accent-2:#eef2ff;

--radius:16px;
--radius-sm:10px;

--shadow-sm:0 4px 12px rgba(0,0,0,.05);
--shadow-md:0 10px 30px rgba(0,0,0,.08);

--transition:.25s ease;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
background:linear-gradient(180deg,#f6f7fb 0%, #ffffff 100%);
color:var(--text);
line-height:1.6;
}

.search-container {
    display: flex;
    width: 250px; /* adjust size */
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .search-container input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
  }

  .search-container button {
    background-color: var(--primary);
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
  }

  .search-container button:hover {
    background-color: var(--primary);
  }

  .search-container i {
    font-size: 14px;
  }

  /* Floating Go Home Button */
 .go-home {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0; /* hidden by default */
    transform: translateY(20px);
    pointer-events: none;
  }

  .go-home.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

/* =====================
LAYOUT
===================== */

.container{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

/* =====================
HEADER
===================== */

.header{
border-bottom:1px solid var(--border);
background:rgba(255,255,255,.75);
backdrop-filter:blur(10px);
position:sticky;
top:0;
z-index:100;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo img{
  height: 40px;  
  width: auto;
  display: block;
}

.logo{
  display: flex;
  align-items: center;
}

.menu{
display:flex;
gap:28px;
align-items:center;
}

.menu a{
text-decoration:none;
color:var(--text);
font-weight:500;
position:relative;
transition:var(--transition);
}

.menu a::after{
content:"";
position:absolute;
bottom:-6px;
left:0;
width:0%;
height:2px;
background:var(--primary);
transition:var(--transition);
}

.menu a:hover::after{
width:100%;
}

.nav-icons{
display:flex;
gap:16px;
}

/* MODERN MOBILE TOGGLE */

.mobile-toggle{
display:none;
cursor:pointer;
font-size:20px;
width:42px;
height:42px;
border-radius:12px;
background:var(--accent);
align-items:center;
justify-content:center;
transition:.25s;
}

.mobile-toggle:hover{
background:var(--primary);
color:white;
}

/* =====================
DROPDOWN
===================== */

.dropdown{
position:relative;
}

.dropdown-menu{
position:absolute;
top:40px;
left:0;
background:white;
box-shadow:var(--shadow-md);
display:none;
flex-direction:column;
padding:10px 0;
border-radius:var(--radius-sm);
min-width:180px;
border:1px solid var(--border);
}

.dropdown-menu a{
padding:10px 18px;
}

.dropdown:hover .dropdown-menu{
display:flex;
}

/* PRODUCT LAYOUT */

.product-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:start;
}


/* IMAGE SIDE */

.image-wrapper{
background:linear-gradient(135deg,#f1efff,#eef2ff);
padding:40px;
border-radius:20px;
box-shadow:var(--shadow-sm);
}

.main-img{
width:100%;
border-radius:10px;
}


/* THUMBNAILS */

.thumbs{
display:flex;
gap:15px;
margin-top:15px;
}

.thumbs img{
width:90px;
cursor:pointer;
border-radius:10px;
transition:.3s;
border:2px solid transparent;
}

.thumbs img:hover{
transform:scale(1.05);
border-color:var(--primary);
}


/* INFO SIDE */

.product-title{
font-size:42px;
font-weight:500;
margin-bottom:10px;
}


.price{
font-size:20px;
margin-bottom:15px;
}


/* QUANTITY WRAPPER */

.qty-wrapper{
margin:18px 0 28px;
}


/* LABEL */

.qty-label{
display:block;
font-size:13px;
margin-bottom:8px;
color:#888;
letter-spacing:.3px;
}


/* MAIN CONTAINER */

.qty{
display:flex;
align-items:center;
width:150px;
height:46px;
border-radius:30px;
border:1px solid #e4e4e4;
overflow:hidden;
background:#fff;
box-shadow:0 2px 6px rgba(0,0,0,.04);
}


/* BUTTONS */

.qty-btn{
width:46px;
height:46px;
border:none;
background:#fafafa;
font-size:18px;
cursor:pointer;
transition:.25s ease;
}

.qty-btn:hover{
background:#f0f0f0;
}


/* INPUT */

.qty input{
width:100%;
border:none;
text-align:center;
font-size:16px;
font-weight:500;
outline:none;
background:white;
}


/* REMOVE NUMBER INPUT ARROWS */

.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button{
appearance:none;
margin:0;
}

.qty input[type=number]{
appearance:textfield;
}


/* BUTTONS */

.full{
width:100%;
display:block;
text-align:center;
margin-bottom:10px;
}

.primary{
background:#dba7a7;
color:white;
border-radius:30px;
padding:14px;
}

.outline{
border:1px solid #333;
border-radius:30px;
padding:14px;
color:#333;
}


/* DESCRIPTION */

.desc{
margin:25px 0;
color:#666;
line-height:1.6;
}


/* FEATURES */

.features{
display:flex;
justify-content:space-between;
gap:12px;
margin-bottom:25px;
}

.features div{
flex:1;
text-align:center;
font-size:15px;
color:#444;
background:var(--card);
padding:18px 10px;
border-radius:14px;
box-shadow:var(--shadow-sm);
transition:.25s;
}

.features div:hover{
transform:translateY(-4px);
box-shadow:var(--shadow-md);
}

.features i{
display:block;
font-size:22px;
margin-bottom:8px;
color:var(--primary);
}


/* =====================
BUTTONS
===================== */

.btn{
display:inline-block;
padding:12px 26px;
border-radius:30px;
text-decoration:none;
font-weight:500;
transition:var(--transition);
}

.primary{
background:var(--primary);
color:white;
}

.primary:hover{
background:var(--primary-dark);
}

.outline{
border:1px solid var(--text);
color:var(--text);
}

.outline:hover{
background:var(--text);
color:white;
}

.btn:hover{
transform:translateY(-2px);
box-shadow:var(--shadow-md);
}

/* =====================
GAME PROVIDERS
==================== */

/* SECTION TITLE */
.related h2{
  font-size:28px;
  margin-bottom:20px;
  font-weight:600;
}

/* GRID */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

/* WRAPPER for card + button */
.card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

/* CARD */
.card{
  background:var(--card);
  padding:18px;
  border-radius:18px;
  text-align:center;
  transition:.25s ease, box-shadow .4s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
  border:1px solid var(--border);
  position:relative;
  overflow:hidden;
  width:100%;
}

.card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 60px rgba(124,92,255,.25), 0 0 30px rgba(124,92,255,.15);
}

/* IMAGE */
.card img{
  width:100%;
  border-radius:14px;
  margin-bottom:14px;
  transition:.35s ease;
}

.card:hover img{
  transform:scale(1.05);
}

/* PLATFORM BADGE */
.platform{
  display:inline-block;
  font-size:12px;
  color:var(--primary);
  background:var(--accent);
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:8px;
  font-weight:500;
}

/* TITLE & TEXT */
.card h3{
  font-size:18px;
  margin-bottom:6px;
}
.card p{
  font-size:14px;
  color:var(--muted);
  margin-bottom:14px;
}

/* SMALL BUTTON OUTSIDE CARD */
.btn.small{
  margin-top:12px;
  padding:12px 22px;
  font-size:14px;
  border-radius:30px;
  display:inline-block;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:white;
  box-shadow:0 6px 18px rgba(124,92,255,.25);
  transition: .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor:pointer;
  /* Heartbeat animation applied always */
  animation: heartbeat 1s ease-in-out infinite;
}

/* Heartbeat animation keyframes */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1.15); }
  75% { transform: scale(1.1); }
}

/* Optional hover enhancement */
.btn.small:hover{
  box-shadow:0 12px 28px rgba(124,92,255,.35);
}

/* HOVER GLOW FOR CARD */
.card::before{
  content:"";
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:radial-gradient(circle,rgba(124,92,255,.08),transparent 60%);
  opacity:0;
  transition:.4s;
}

.card:hover::before{
  opacity:1;
}

/* ===== FAQ / ACCORDION ===== */

.faq-item {
  background: #1e1e2f;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: linear-gradient(135deg, #7c5cff, #5b3bff);
  color: #fff;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* ICON */
.faq-question .icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* ANSWER BASE */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #262637;
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
  padding: 0 22px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* OPEN STATE */
.faq-answer.open {
  padding: 20px 22px;
}

/* FAQ Section Title */
.faq.container h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #7c5cff;
  text-align: center;
}

/* Footer Base */

:root {
  --footer-bg: #0f0f1a;
  --footer-text: #eaeaf0;
  --footer-muted: #a0a0b3;
  --footer-hover: #ffffff;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 80px;
  padding: 60px 20px 30px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand */
.footer-brand .logo img {
  width: 120px;
  display: block;
  margin: 0 auto;
}

.footer-brand p {
  color: var(--footer-muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* Headings */
.footer h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Links */
.footer-links a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
  color: var(--footer-muted);
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-hover);
  transform: translateX(5px);
}

/* Social Icons */
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a2e;
  margin-right: 10px;
  color: #fff;
  font-size: 16px;
  transition: 0.3s ease;
}

.social a:hover {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  transform: translateY(-4px);
}

/* Payment Methods */
.footer-payments {
  margin-top: 50px;
  text-align: center;
}

.footer-payments h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.payments-logos {
  display: flex;
  justify-content: center;
  gap: 25px; /* spacing between icons */
  flex-wrap: wrap;
}

.payments-logos i {
  font-size: 40px; /* make icons bigger */
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.payments-logos i:hover {
  transform: scale(1.2);
  color: #ff6fa5; /* hover color for effect */
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .payments-logos i {
    font-size: 36px;
    margin: 10px;
  }
  .nav-icons{
    display: none;
  }
   go-home {
      bottom: 15px;
      right: 15px;
      padding: 10px 16px;
      font-size: 14px;
    }
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #222;
  font-size: 14px;
  color: #888;
}

/* =====================
RESPONSIVE
===================== */


@media(max-width:900px){

.product-grid{
grid-template-columns:1fr;
gap:40px;
}

.product-title{
font-size:30px;
}

/* KEEP FEATURES ROW */

.features{
flex-direction:row;
}

.features div{
font-size:13px;
padding:14px 8px;
}

.features i{
font-size:18px;
}

.thumbs{
justify-content:center;
}

.cards{
grid-template-columns:1fr 1fr;
}

.menu{
display:none;
flex-direction:column;
position:absolute;
top:70px;
right:20px;
background:white;
padding:20px;
border-radius:16px;
box-shadow:0 20px 60px rgba(0,0,0,.12);
width:220px;
border:1px solid var(--border);
}

.menu.active{
display:flex;
}

.mobile-toggle{
display:flex;
}

}

@media(max-width:600px){

.cards{
grid-template-columns:1fr;
}

.card{
padding:16px;
}

.btn.small{
width:100%;
text-align:center;
}

.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links a {
    margin: 5px 0;
  }

  .social {
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-payments .payments-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

.features div{
font-size:12px;
padding:12px 6px;
}

}