/* Modern styles with TailwindCSS-inspired design */

:root {
  --gentai-primary: #1e3a8a;
  --gentai-secondary: #374151;
  --gentai-accent: #ea580c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
}

.main-container {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.logo-container {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, var(--gentai-primary), var(--gentai-secondary), var(--gentai-accent));
  flex-shrink: 0;
}

.logo-container:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.logo-glow {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.logo-img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.content-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.modern-card {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.9), rgba(75, 85, 99, 0.9));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.modern-card:hover {
  background: linear-gradient(135deg, rgba(75, 85, 99, 0.95), rgba(107, 114, 128, 0.95));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.card-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #d1d5db;
}

.pulse-animation {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Logo section buttons */
.logo-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 250px;
  flex-shrink: 0;
}

.logo-buttons button {
  background: linear-gradient(135deg, var(--gentai-primary), var(--gentai-accent));
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.logo-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.logo-buttons .docs-button {
  background: linear-gradient(135deg, var(--gentai-primary), #1e40af);
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-buttons .djinglas-button {
  background: linear-gradient(135deg, var(--gentai-accent), #c2410c);
}

/* Desktop specific styles */
@media (min-width: 1200px) {
  .main-container {
    max-width: 1200px;
  }
  
  .content-section {
    max-width: 900px;
  }
}

/* Container styles */
.container {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.9), rgba(75, 85, 99, 0.9));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.question {
  font-size: 1.3rem;
  margin: 1.5rem 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
}

button {
  background-color: #059669;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 250px;
}

button:hover, button:active {
  background-color: #047857;
}

#susitikimoAtsakymas {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-top: 10px;
}

.susitikimo-dezute {
  background-color: #374151;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
  text-align: center;
}

.susitikimo-dezute.zalia {
  background-color: #059669;
}

.susitikimo-dezute.raudona {
  background-color: #dc2626;
}

.play-icon {
  margin-right: 5px;
}

/* Team formation styles */
.team-controls {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.team-controls label {
  color: #f9fafb;
}

.team-controls input {
  width: 60px;
  padding: 5px;
  font-size: 1rem;
  text-align: center;
  background-color: #374151;
  color: #f9fafb;
  border: 1px solid #4b5563;
  border-radius: 4px;
}

.teams-result {
  margin-top: 20px;
  text-align: left;
}

.team {
  background-color: #374151;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  border-left: 4px solid #059669;
}

.team h3 {
  margin: 0 0 10px 0;
  color: #ffffff;
  font-weight: 600;
}

.team-members {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-members li {
  padding: 5px 0;
  color: #d1d5db;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.95), rgba(75, 85, 99, 0.95));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
  color: #f9fafb;
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #f9fafb;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f9fafb;
}

.member-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Poker section styles */
.pokeris-sekcija {
  background-color: #374151;
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
  border-left: 4px solid #059669;
}

.pokeris-sekcija h3 {
  margin-top: 0;
  color: #ffffff;
  font-weight: 600;
}

.pokeris-sekcija .question {
  font-size: 1.2rem;
  margin: 1rem 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pokeris-sekcija button {
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

/* Birthday styles */
.birthdays-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.birthday-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: rgba(55, 65, 81, 0.6);
  border-radius: 8px;
  border-left: 4px solid #ea580c;
}

.birthday-item.today {
  border-left-color: #059669;
  background-color: rgba(5, 150, 105, 0.2);
}

.birthday-item.soon {
  border-left-color: #ea580c;
  background-color: rgba(234, 88, 12, 0.2);
}

.birthday-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.birthday-date {
  color: #d1d5db;
  font-size: 0.9rem;
}

.birthday-days {
  font-size: 0.8rem;
  color: #9ca3af;
  font-style: italic;
}

/* Responsive design */
@media screen and (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .question {
    font-size: 1.1rem;
    min-height: 50px;
  }

  button {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .main-container {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .logo-section {
    margin-bottom: 2rem;
  }

  .logo-container {
    width: 200px;
    height: 200px;
  }

  .logo-buttons {
    max-width: 200px;
  }

  .content-section {
    max-width: 100%;
  }

  .modern-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-text {
    font-size: 1rem;
  }
}
