/* ============================================================
   PALTINIS.CSS - Styles for Webcam Paltinis Arena page
   ============================================================ */

/* ---------- GLOBAL RESET & BASE ---------- */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #fff;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
h1 {
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
h2, h3, h4, h5 {
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
a {
  text-decoration: none;
  color: #4a90e2;
  transition: color 0.2s ease;
}
a:hover {
  color: #fa4b2a;
  text-decoration: underline;
}

/* ---------- RESPONSIVE COLUMNS (.responsive) ---------- */
.responsive {
  padding: 0 5px;
  float: left;
  width: 49.99999%;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.blue {
  overflow: hidden;
}
.right-col iframe {
  position: relative;
  top: -50px;
  margin-bottom: -50px;
}

/* ---------- GALLERY ---------- */
div.gallery {
  background: rgba(250, 235, 215, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
}
div.gallery:hover {
  border: 1px solid #777;
}

/* ---------- THREE-COLUMN (.new) ---------- */
.new {
  padding: 0 5px;
  float: left;
  width: 33.33333%;
}

/* ---------- TABS & PRICE TABLE ---------- */
.tab-btn {
  padding: 8px 20px;
  margin: 0 5px;
  font-size: 14px;
  cursor: pointer;
  background-color: #ddd;
  border: 1px solid #999;
  border-radius: 5px;
  transition: 0.25s;
}
.tab-btn:hover {
  background-color: #ccc;
}
.tab-btn.active {
  background-color: #555;
  color: #fff;
}
.tarife-switch {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  text-align: center;
}
.tarife-switch th {
  background-color: #555;
  color: white;
  padding: 10px;
  font-size: 15px;
}
.tarife-switch td {
  padding: 8px;
  font-size: 14px;
  color: #333;
  border: 1px solid #ccc;
}
.tarife-switch tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.tarife-switch tbody tr:nth-child(odd) {
  background-color: #eee;
}
.tarife-switch tbody tr.section-title td {
  background-color: #dcdcdc;
  font-weight: bold;
  text-align: left;
  padding-left: 12px;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}
.note {
  font-size: 13px;
  color: #555;
  text-align: left;
  padding: 6px 10px;
}
.intervals {
  font-size: 14px;
  color: #333;
}

/* ---------- IMAGE ROW (BANNERS) ---------- */
.image-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.image-box {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 220px;
}
.image-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 178;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background-color: #f0f0f0;
}
.image-box .title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 5px 12px;
  border-radius: 10px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* ---------- SKI SLOPES CARDS ---------- */
.partii-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.partie-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
  text-align: center;
  transition: all 0.2s ease;
}
.partie-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.partie-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}
.partie-card h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #333;
}
.partie-card p {
  margin: 4px 0;
  font-size: 0.95em;
  color: #555;
}
.difficulty-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.difficulty-icon.red   { background: #ff0000; }
.difficulty-icon.black { background: #000; }
.difficulty-icon.blue  { background: #0000ff; }
.difficulty-icon.bluo  { background: #3399ff; }
.partie-info {
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}
.partie-info i {
  font-style: normal;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.partie-info p {
  margin: 0;
}
.nocturna {
  color: #ff6600;
  font-weight: bold;
}

/* ---------- STATS TABLE (viewers / online) ---------- */
.stats-table {
  width: 100%;
  background: #4a6fa5;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}
.stats-table td {
  padding: 6px 8px;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  font-size: 0.75rem;
  white-space: nowrap;
}
.stats-table .stat-number {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.stats-table .stat-label {
  font-style: normal;
  font-size: 0.65rem;
  color: #d4e0f0;
  margin-left: 3px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.stats-table .stat-divider {
  color: #8ab0d8;
  font-size: 0.6rem;
  padding: 0 60px;
}
.stats-table .stat-cell-center {
  text-align: center;
  width: 100%;
}
.stats-table span {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 500px) {
  .stats-table td {
    padding: 5px 3px;
    font-size: 0.62rem;
  }
  .stats-table .stat-number {
    font-size: 0.72rem;
  }
  .stats-table .stat-label {
    font-size: 0.5rem;
    margin-left: 2px;
  }
  .stats-table .stat-divider {
    font-size: 0.5rem;
    padding: 0 8px;
  }
}

@media (max-width: 360px) {
  .stats-table td {
    padding: 4px 1px;
    font-size: 0.55rem;
  }
  .stats-table .stat-number {
    font-size: 0.62rem;
  }
  .stats-table .stat-label {
    font-size: 0.45rem;
    margin-left: 1px;
    letter-spacing: 0;
  }
  .stats-table .stat-divider {
    font-size: 0.4rem;
    padding: 0 5px;
  }
}

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

@media only screen and (max-width: 992px) {
  .responsive {
    width: 49.99999%;
    float: left;
  }
  .new {
    width: 33.33333%;
    float: left;
  }
  .partie-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media only screen and (max-width: 768px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
  .new {
    width: 100%;
    margin: 6px 0;
  }
  .tarife-switch th,
  .tarife-switch td {
    font-size: 13px;
    padding: 6px;
  }
  .tab-btn {
    padding: 7px 14px;
    font-size: 13px;
  }
  .intervals {
    font-size: 13px;
  }
  .image-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .image-box {
    flex: 1 1 100%;
    max-width: 400px;
  }
}

@media only screen and (max-width: 600px) {
  .partie-card {
    flex: 1 1 100%;
  }
  .partie-card h3 {
    font-size: 1.1em;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
  .new {
    width: 100%;
  }
  .stats-table td {
    padding: 5px 4px;
    font-size: 0.65rem;
  }
  .stats-table .stat-number {
    font-size: 0.75rem;
  }
  .stats-table .stat-label {
    font-size: 0.55rem;
  }
  .stats-table .stat-divider {
    font-size: 0.5rem;
  }
  .stats-table .stat-cell-divider {
    width: 20px;
  }
}

@media (max-width: 360px) {
  .stats-table td {
    padding: 4px 2px;
    font-size: 0.55rem;
  }
  .stats-table .stat-number {
    font-size: 0.65rem;
  }
  .stats-table .stat-label {
    font-size: 0.5rem;
  }
  .stats-table .stat-divider {
    font-size: 0.4rem;
  }
  .stats-table .stat-cell-divider {
    width: 15px;
  }
}