body {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: url('/background.png') no-repeat center center fixed;
  background-size: cover;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.schedule-title {
  color: white;
  text-align: center;
  margin: 40px 0;
  font-size: 48px;
  text-transform: uppercase;
  font-family: "Archivo Black", "Archivo", sans-serif;
  animation: neon 3s infinite;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.calendar-container {
  width: 100vw;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 2vw;
  height: auto;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-header, .calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.day-header {
  color: #00daf7;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  font-family: "Archivo Black", "Archivo", sans-serif;
  border-bottom: 2px solid rgba(0, 218, 247, 0.3);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.day-name {
  font-size: 20px;
}

.day-date {
  font-size: 24px;
  color: white;
  background: rgba(0, 218, 247, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.calendar-body {
  gap: 6px;
  flex: 1 1 auto;
  height: 100%;
  align-items: stretch;
  justify-content: center;
}

.calendar-day {
  height: 100%;
  min-height: 180px;
  max-height: calc(100vh - 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 10px;
  transition: transform 0.3s ease;
  overflow-y: auto;
  min-width: 120px;
}

.calendar-day:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 218, 247, 0.3);
}

.stream-slot {
  background: rgba(0, 218, 247, 0.13);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  margin-bottom: 16px;
  padding: 12px 10px;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  border: 1.5px solid #00daf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.stream-slot:hover {
  background: rgba(0, 218, 247, 0.25);
  box-shadow: 0 4px 24px rgba(0,218,247,0.25);
}

.stream-slot .time {
  font-size: 18px;
  color: #fff;
  background: rgba(0, 218, 247, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.stream-slot .game {
  font-size: 16px;
  color: #00daf7;
  font-weight: bold;
}

.back-button {
  display: inline-block;
  margin: 30px auto;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #00daf7;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.back-button:hover {
  background-color: rgba(0, 218, 247, 0.2);
  color: white;
  transform: translateY(-2px);
}

.week-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.week-title {
  color: #00daf7;
  font-size: 2rem;
  margin: 0;
  min-width: 200px;
  text-align: center;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: bold;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.week-selector .btn {
  min-width: 150px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.week-selector .btn:hover {
  background-color: rgba(0, 218, 247, 0.432);
}

.button-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  margin-bottom: 24px;
  width: 100%;
  align-self: stretch;
  position: static;
  z-index: 1;
}

.button-group .btn {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button-group .btn:hover {
  background-color: rgba(0, 218, 247, 0.432);
}

/* Modal stílus */
#streamModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
#streamModal.active {
  display: flex;
}
#streamModal .modal-content {
  background: rgba(24, 31, 42, 0.55);
  color: #fff;
  border-radius: 16px;
  border: 3px solid #00daf7;
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  max-width: 320px;
  min-height: 220px;
  max-height: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#streamModal .modal-content h2 {
  color: #00daf7;
  margin-bottom: 16px;
}
#streamModal .modal-content .modal-time {
  font-size: 20px;
  margin-bottom: 10px;
}
#streamModal .modal-content .modal-game {
  font-size: 18px;
  color: #00daf7;
  margin-bottom: 18px;
}
#streamModal .modal-content .twitch-btn {
  background: #9147ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#streamModal .modal-content .twitch-btn:hover {
  background: #772ce8;
}
#streamModal .modal-content .close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Nagy kijelzők (asztali) */
@media (min-width: 1600px) {
  .calendar-container {
    max-width: 1600px;
    padding: 32px 40px;
  }
  .calendar-header, .calendar-body {
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    gap: 16px;
  }
  .calendar-day {
    min-width: 180px;
    padding: 18px 12px;
  }
  .schedule-title {
    font-size: 48px;
  }
}

/* Közepes kijelzők (laptop, kisebb asztali) */
@media (max-width: 1599px) and (min-width: 1200px) {
  .calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 8px;
  }
  .calendar-header, .calendar-body {
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }
  .calendar-day {
    min-width: 0;
    padding: 10px 4px;
  }
  .schedule-title {
    font-size: 36px;
  }
}

/* Tablet landscape, kisebb laptop */
@media (max-width: 1199px) and (min-width: 900px) {
  .calendar-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 2px;
  }
  .calendar-header, .calendar-body {
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }
  .calendar-day {
    min-width: 0;
    padding: 8px 2px;
  }
  .schedule-title {
    font-size: 28px;
  }
}

/* Tablet portrait, nagyobb mobil */
@media (max-width: 899px) and (min-width: 601px) {
  .calendar-container {
    max-width: 100vw;
    padding: 4px 2px;
  }
  .calendar-header, .calendar-body {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .calendar-day {
    min-width: 0;
    padding: 6px 2px;
  }
  .schedule-title {
    font-size: 22px;
  }
}

/* Mobil, minden kis kijelző */
@media (max-width: 600px) {
  .calendar-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0 2px;
  }
  .calendar-header {
    display: none;
  }
  .calendar-body {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 0;
  }
  .calendar-day {
    min-width: 0;
    padding: 8px 4px 12px 4px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(0,0,0,0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: relative;
  }
  .calendar-day:before {
    content: attr(data-dayname);
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #00daf7;
    margin-bottom: 6px;
    margin-top: 2px;
    letter-spacing: 0.5px;
  }
  .stream-slot {
    font-size: 15px;
    padding: 8px 4px;
    margin-bottom: 10px;
  }
  .schedule-title {
    font-size: 18px;
  }
  .week-selector, .button-group {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }
  .btn, .btn-primary, .btn-secondary {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    padding: 10px 0;
  }
}

@media (max-width: 900px) {
  .calendar-header {
    display: none;
  }
  .calendar-body {
    grid-template-columns: 1fr;
    gap: 0;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
  }
  .calendar-day {
    min-width: 0;
    margin-bottom: 18px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: relative;
  }
  .calendar-day:before {
    content: attr(data-dayname);
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #00daf7;
    margin-bottom: 6px;
    margin-top: 2px;
    letter-spacing: 0.5px;
  }
}

@media (min-width: 1200px) {
  .calendar-container {
    width: calc(100vw - 320px);
    max-width: calc(100vw - 320px);
    margin: 0 160px;
  }
}

.button {
  margin: 10px;
  padding: 10px 28px;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 20px;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: bold;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: 
    background-color 0.3s cubic-bezier(.4,2,.6,1),
    box-shadow 0.3s cubic-bezier(.4,2,.6,1),
    transform 0.2s cubic-bezier(.4,2,.6,1);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  display: inline-block;
}
.button:hover, .button:focus {
  background: rgba(0, 218, 247, 0.432) !important;
  box-shadow: 0 4px 24px rgba(0,218,247,0.25);
  transform: translateY(-2px) scale(1.04);
  color: #fff !important;
  text-decoration: none;
} 