/* SWISSBET 11 – Page 11 – layout match screenshot */
*,
*::before,
*::after { box-sizing: border-box; }

body.swiss-page {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0d0d0d;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ----- Header: two bars (match screenshot) ----- */
.swiss-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.swiss-topbar {
  background: #151515;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}

.swiss-topbar-inner {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.swiss-logo {
  flex-shrink: 0;
  display: block;
  margin: 0;
  padding: 0;
}

.swiss-logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  vertical-align: middle;
}

.swiss-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.swiss-logo-11 {
  color: #fff;
  font-weight: 600;
  font-size: 0.95em;
  margin-left: 0.15em;
}

.swiss-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.swiss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.swiss-btn--login,
.swiss-btn--signup {
  background: #1a5f3a;
  color: #fff;
}

.swiss-btn--login:hover,
.swiss-btn--signup:hover {
  background: #1e7045;
  opacity: 0.95;
}

.swiss-ticker-bar {
  background: #1c1c1c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: stretch;
  min-height: 56px;
}

.swiss-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 1.25rem;
  background: #00a651;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  margin-right: -1px;
}

.swiss-ticker-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.swiss-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0.5rem 0;
}

.swiss-ticker-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: swiss-ticker-scroll 45s linear infinite;
}

.swiss-ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes swiss-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.swiss-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.swiss-ticker-item:last-child { border-right: none; }

.swiss-ticker-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
}

.swiss-ticker-icon--cricket {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cellipse cx='12' cy='14' rx='4' ry='6'/%3E%3Cpath d='M8 8l2 2 2-2'/%3E%3C/svg%3E");
}

.swiss-ticker-icon--tennis {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cellipse cx='12' cy='12' rx='8' ry='8'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E");
}

.swiss-ticker-icon--soccer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 4a8 8 0 0 1 0 16'/%3E%3Cpath d='M4 8h16M4 16h16'/%3E%3C/svg%3E");
}

.swiss-ticker-icon--badminton {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M12 2v20M6 6l6 6 6-6'/%3E%3C/svg%3E");
}

.swiss-ticker-icon--esports {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Crect x='6' y='4' width='12' height='16' rx='2'/%3E%3Cpath d='M10 9h4M9 12h6M10 15h4'/%3E%3C/svg%3E");
}

.swiss-ticker-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.swiss-ticker-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.swiss-ticker-date {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}

/* ----- Login modal ----- */
.swiss-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.swiss-modal[hidden] { display: none; }

.swiss-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.swiss-modal-box {
  position: relative;
  width: 500px;
  height: 563px;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  padding: 2rem 1.75rem 1.25rem;
  border-radius: 0;
  background-color: #333;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.swiss-modal-title {
  margin: 0 2.5rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.swiss-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.swiss-modal-close:hover { background: #a93226; color: #fff; }

.swiss-form-group {
  margin-bottom: 1rem;
}

.swiss-form-group--password { position: relative; }

.swiss-form-label {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.swiss-form-input {
  width: 436px;
  max-width: 100%;
  height: 56px;
  padding: 0 0.85rem;
  padding-right: 2.5rem;
  font-size: 0.95rem;
  border: 1px solid #333;
  border-radius: 0;
  background: #1e1e1e;
  color: #fff;
  box-sizing: border-box;
}

.swiss-form-group--password .swiss-form-input { padding-right: 2.5rem; }

.swiss-form-input::placeholder { color: #888; }

.swiss-form-input:focus {
  outline: none;
  border-color: #00a651;
}

.swiss-password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 2rem;
  height: 56px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiss-password-toggle:hover { color: #ccc; }

.swiss-form-group--checkbox { margin-bottom: 1.25rem; }

.swiss-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.swiss-checkbox {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #00a651;
}

.swiss-link-green { color: #7dcea0; text-decoration: none; }
.swiss-link-green:hover { text-decoration: underline; }

.swiss-btn--submit,
.swiss-btn--demo {
  display: block;
  width: 436px;
  max-width: 100%;
  height: 56px;
  padding: 0 1rem;
  margin-top: 0;
  border: none;
  border-radius: 0;
  background: #0d5c36;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 56px;
}

.swiss-btn--submit:hover,
.swiss-btn--demo:hover { background: #0a4d2e; }

.swiss-btn--demo { margin-top: 0.75rem; }

.swiss-form-or {
  text-align: center;
  margin: 1rem 0 0;
  position: relative;
}

.swiss-form-or::before,
.swiss-form-or::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.swiss-form-or span {
  position: relative;
  background: #2a2a2a;
  padding: 0 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.swiss-modal-footer {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.swiss-modal-footer .swiss-link-green { color: #7dcea0; }

.swiss-message {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
}

.swiss-message--success { background: rgba(0,166,81,0.2); color: #6ee7a6; }
.swiss-message--error { background: rgba(220,38,38,0.2); color: #fca5a5; }

/* ----- Hero slider: one image at a time, slides completely left ----- */
.swiss-hero {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 400px;
  display: block;
  overflow: hidden;
}

.swiss-hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 200%;
  height: 100%;
  animation: swiss-hero-slide-one 10s ease-in-out infinite;
}

.swiss-hero-slide {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d0d0d;
}

@keyframes swiss-hero-slide-one {
  0% { transform: translateX(0); }
  45% { transform: translateX(0); }
  50% { transform: translateX(-50%); }
  95% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ----- Side icons ----- */
.swiss-side-icons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.swiss-side-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.swiss-side-icon:hover { transform: scale(1.08); }

.swiss-side-icon--wa { background: #25d366; }
.swiss-side-icon--info { background: #2196f3; }

.swiss-side-bar {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 0.75rem 0.5rem;
  background: #00a651;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px 0 0 4px;
}

.swiss-side-bar:hover { background: #009348; color: #fff; }

/* ----- Main sections: full width like header ----- */
.swiss-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.25rem 2rem 1.25rem;
}

.swiss-section {
  margin-bottom: 2.5rem;
  width: 100%;
}

.swiss-section-title {
  margin: 0;
  padding: 1rem 1.25rem;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.swiss-section-title--left {
  text-align: left;
  text-transform: none;
  letter-spacing: 0.02em;
}

.swiss-section + .swiss-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
}

/* New Trending: 6-column image slider (one image per slide) */
.swiss-trending-slider {
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 1rem;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.swiss-trending-slider::-webkit-scrollbar { height: 6px; }
.swiss-trending-slider::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.swiss-trending-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  min-width: min(100%, (309px * 6) + (1rem * 5));
  padding: 0 0.5rem;
}

.swiss-trending-track .swiss-trending-slide {
  flex: 0 0 309px;
  width: 309px;
  min-width: 309px;
  height: 162px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  scroll-snap-align: start;
}

.swiss-trending-track .swiss-trending-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.swiss-trending-slide img {
  width: 309px;
  height: 162px;
  display: block;
  object-fit: cover;
}

.swiss-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  padding: 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  background-color: #252525;
  transition: transform 0.2s, box-shadow 0.2s;
}

.swiss-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.swiss-tile-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.swiss-tile-sub {
  font-size: 0.75rem;
  opacity: 0.9;
}

.swiss-tile-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,166,81,0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiss-tile { position: relative; }

/* Tile placeholder backgrounds (can replace with real images) */
.swiss-tile-matka { background-color: #3d2020; }
.swiss-tile-jetx { background-color: #1a2a3d; }
.swiss-tile-mogambo { background-color: #2d281a; }
.swiss-tile-teenpatti { background-color: #1e2d3a; }
.swiss-tile-chicken { background-color: #2a2530; }
.swiss-tile-joker { background-color: #2d1a2d; }
.swiss-tile-aero { background-color: #1a2d3a; }
.swiss-tile-lucky6 { background-color: #2d2a1a; }
.swiss-tile-mine { background-color: #1e3a2a; }

/* Our Live Casino: 8-column grid with images */
.swiss-games-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(auto-fill, auto);
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.swiss-games-tile {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 16 / 9;
  min-height: 72px;
}

.swiss-games-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.swiss-games-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

/* ----- Mobile ----- */
@media (max-width: 1024px) {
  .swiss-ticker-bar { display: none; }
  .swiss-hero { min-height: 300px; }
  .swiss-trending-track .swiss-trending-slide { flex: 0 0 309px; width: 309px; height: 162px; }
}

/* Mobile: slider size 527px × 123px */
@media (max-width: 768px) {
  .swiss-topbar-inner { padding: 0 0.5rem; }
  .swiss-topbar-right { gap: 0.4rem; }
  .swiss-btn--login,
  .swiss-btn--signup { padding: 0.45rem 0.75rem; font-size: 0.8rem; }
  .swiss-ticker-bar { display: none; }
  .swiss-side-icons { display: none; }
  .swiss-hero { min-height: 123px; }
  .swiss-trending-slider { padding: 0.5rem 0 1rem; }
  .swiss-trending-track .swiss-trending-slide {
    flex: 0 0 527px;
    width: 527px;
    min-width: 527px;
    height: 123px;
  }
  .swiss-trending-slide img {
    width: 527px;
    height: 123px;
    object-fit: cover;
  }
  .swiss-games-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .swiss-main { padding: 1.5rem 0.75rem 3rem; }
  .swiss-section-title { font-size: 1.35rem; }
  .swiss-hero { min-height: 123px; }
  .swiss-trending-track .swiss-trending-slide {
    flex: 0 0 527px;
    width: 527px;
    min-width: 527px;
    height: 123px;
  }
  .swiss-trending-slide img {
    width: 527px;
    height: 123px;
    object-fit: cover;
  }
  .swiss-games-grid { grid-template-columns: repeat(2, 1fr); }
  .swiss-games-tile { min-height: 64px; font-size: 0.75rem; }
}
