:root {
  --max-width-desktop: 80%;
  --max-width-mobile: 100%;
  --font-main: 'Montserrat', sans-serif;
  --font-title: 'Boldonse', sans-serif;
  --text-color: #fff;
  --accent-color: #ffcc00;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-x: hidden;
  width: 100vw;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

.background {
  background: url("background.webp") no-repeat center center/cover;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

header {
  padding: 20px 15px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fixed-logo {
  position: fixed;
  top: 15px;
  left: 15px;
  height: 45px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.fixed-logo:hover {
  transform: scale(1.05);
}

.title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  text-align: center;
  padding: 0 15px;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width-desktop);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subtitle {
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.contact-buttons {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  padding: 0 15px;
  margin: 20px 0;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  padding: 12px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  transition: transform 0.2s;
}

.button:active {
  transform: scale(0.98);
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 15px 0;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  min-width: 600px;
}

th, td {
  padding: 15px;
  text-align: center;
  word-break: break-word;
}

.legal-info {
  margin: 25px 0;
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
  width: 100%;
  padding: 0 15px;
  text-align: center;
}

.popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  display: none;
  z-index: 100;
  width: calc(100% - 30px);
  max-width: 400px;
}

@media (max-width: 768px) {
  header {
    padding-top: 60px;
  }

  .fixed-logo {
    top: 10px;
    left: 10px;
    height: 40px;
  }

  .title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  main {
    padding: 20px 15px;
    max-width: 100%;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }

  table {
    min-width: 100%;
    font-size: 0.9rem;
  }

  th, td {
    padding: 12px 8px;
  }

  .button {
    font-size: 0.9rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  th, td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }
}