/* 
  Golisimo - Main Stylesheet
  Colors matching golisimo.com (Dark Teal theme with Cyan & Orange accents)
*/

:root {
  /* Brand Colors */
  --bg-dark: #071e21;
  /* Main body background */
  --bg-sidebar: #051618;
  /* Left sidebar / Footer */
  --bg-header: #0c2b30;
  /* Top Navigation */
  --bg-card: #103237;
  /* Game cards, content blocks */
  --bg-card-hover: #16464d;

  --text-main: #ffffff;
  --text-muted: #8da5a8;

  --accent-cyan-light: #00f2e7;
  --accent-cyan-dark: #01918d;
  --accent-orange-light: #ffb000;
  --accent-orange-dark: #ff5a00;

  --border-color: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: 'Oswald', 'Roboto Condensed', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: 2.5rem;
  color: var(--text-main);
}

h2 {
  font-size: 2rem;
  color: var(--accent-cyan-light);
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--accent-cyan-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-main);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(180deg, #00fff2 0%, #00c4bb 100%);
  color: #031416;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 242, 231, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #1afff5 0%, #00d9cf 100%);
  box-shadow: 0 6px 20px rgba(0, 255, 242, 0.6);
}

.btn-secondary {
  background: linear-gradient(90deg, var(--accent-orange-light) 0%, var(--accent-orange-dark) 100%);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-cyan-light);
  color: var(--accent-cyan-light);
}

.btn-outline:hover {
  background: var(--accent-cyan-light);
  color: var(--bg-dark);
}

/* Layout */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}


/* Header Navigation */
.header {
  background-color: var(--bg-header);
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-cyan-light);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Smaller buttons specifically in the header */
.header-actions .btn {
  padding: 7px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('../foto/baner1.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 450px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 60px 40px;
  border-bottom: 2px solid var(--accent-cyan-dark);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 30, 33, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin-top: 50px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content .bonus-amount {
  color: var(--accent-orange-light);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* SEO Content Block (1700-2000 words wrapper) */
.seo-content {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  background-color: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.seo-content h2 {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-top: 40px;
}

.seo-content h3 {
  color: var(--text-main);
  margin-top: 30px;
}

/* Tables in Content */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.seo-table th,
.seo-table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.seo-table th {
  background-color: var(--bg-card-hover);
  color: var(--accent-cyan-light);
  font-family: var(--font-heading);
}

/* FAQ Box */
.faq-item {
  background-color: var(--bg-dark);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent-cyan-light);
}

.faq-question {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Slot Grid */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.slot-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  background-color: var(--bg-card);
}

.slot-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 242, 231, 0.2);
}

.slot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: contain;
  background-color: var(--bg-sidebar);
  display: block;
}

.slot-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.slot-card:hover .slot-card-overlay {
  opacity: 1;
}

.slot-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 20px 10px 10px;
  text-align: center;
  font-family: var(--font-heading);
  pointer-events: none;
}

/* Footer */
footer {
  background-color: var(--bg-sidebar);
  border-top: 1px solid var(--border-color);
  padding: 40px;
  text-align: center;
  margin-top: 50px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-text {
  font-size: 0.8rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Mobile Features */
.burger-menu {
  display: none;
  font-size: 30px;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background-color: var(--bg-header);
  border-top: 2px solid var(--accent-cyan-dark);
  z-index: 1000;
  text-align: center;
}

.mobile-sticky-cta .btn {
  width: 100%;
  font-size: 1.2rem;
  padding: 15px;
  border-radius: 6px;
  margin: 0;
  background: linear-gradient(90deg, var(--accent-orange-light) 0%, var(--accent-orange-dark) 100%);
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  body {
    padding-bottom: 75px;
    /* Offset for sticky CTA */
  }

  .header {
    padding: 0 20px;
    height: 70px;
  }

  .burger-menu {
    display: block;
    order: 3;
    margin-left: 15px;
  }

  .header-logo {
    order: 1;
    flex: 1;
  }

  .header-actions {
    order: 2;
  }

  .header-actions .btn-outline {
    display: none;
    /* Hide login button to save header space */
  }

  .header-actions .btn-secondary {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-bottom: 2px solid var(--accent-cyan-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }

  .header-nav.nav-open {
    display: flex;
    animation: slideDown 0.2s ease-out forwards;
  }

  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 350px;
    padding: 40px 20px;
  }

  .hero-content {
    margin-top: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .bonus-amount {
    font-size: 1.5rem;
  }

  .seo-content {

    padding: 20px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RTL Support for Arabic */
html[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .faq-item {
  border-left: none;
  border-right: 4px solid var(--accent-cyan-light);
}

/* ===================================================
   LANGUAGE SWITCHER
   =================================================== */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 242, 231, 0.08);
  border: 1px solid rgba(0, 242, 231, 0.25);
  border-radius: 6px;
  cursor: pointer;
  color: var(--accent-cyan-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  user-select: none;
}

.lang-switcher__btn:hover,
.lang-switcher--open .lang-switcher__btn {
  background: rgba(0, 242, 231, 0.15);
  border-color: var(--accent-cyan-light);
  box-shadow: 0 0 10px rgba(0, 242, 231, 0.2);
}

.lang-switcher__flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-switcher__code {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-switcher__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-cyan-light);
  border-bottom: 2px solid var(--accent-cyan-light);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 2px;
}

.lang-switcher--open .lang-switcher__arrow {
  transform: rotate(-135deg) translateY(-3px);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 242, 231, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 242, 231, 0.05);
  z-index: 500;
  overflow: hidden;
  animation: langDropIn 0.18s ease-out forwards;
}

.lang-switcher--open .lang-switcher__dropdown {
  display: block;
}

@keyframes langDropIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-switcher__dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  gap: 2px;
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lang-switcher__item:hover {
  background: var(--bg-card-hover);
  color: var(--accent-cyan-light);
}

.lang-switcher__item.active {
  background: rgba(0, 242, 231, 0.1);
  color: var(--accent-cyan-light);
  font-weight: 700;
}

.lang-switcher__item .ls-flag {
  font-size: 1rem;
  flex-shrink: 0;
}

.lang-switcher__item .ls-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* divider between grid cells */
.lang-switcher__dropdown-inner::before {
  content: '';
  grid-column: 1 / -1;
  height: 0;
}

/* Mobile: switcher inside hamburger nav */
@media (max-width: 992px) {
  .lang-switcher {
    margin-left: 0;
  }

  .lang-switcher__dropdown {
    left: 0;
    right: auto;
    min-width: 240px;
  }

  .lang-switcher__dropdown-inner {
    grid-template-columns: 1fr 1fr;
  }
}