/* Modern Minimal Design - Dark Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --accent: #00F782;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.5);
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.header-logo-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.header-logo-main {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
}

.subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Contacts Grid */
.contacts-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contacts-grid a {
  display: block;
  line-height: 0;
}

.contacts-grid img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contacts-grid img:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 24px var(--shadow);
}

/* Session Tutorial */
.session-tutorial {
  max-width: 500px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.session-tutorial h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tutorial-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.session-id-container {
  margin-bottom: 1.5rem;
}

.copy-hint {
  text-align: center;
  font-size: 0.7rem;
  color: #6a6a6a;
  margin-top: 0.6rem;
  opacity: 0.6;
  font-weight: 400;
}

.session-id {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.session-id:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 247, 130, 0.1);
}

.session-id.copying {
  border-color: var(--accent);
  animation: pulse 0.5s ease;
}

.session-id.copied {
  background: var(--accent);
  border-color: var(--accent);
}

.session-id.copied .id-content {
  opacity: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.98); }
}

.id-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.id-content {
  flex: 1;
  text-align: left;
}

.id-value {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  word-break: break-all;
}

.copy-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.session-id.copied .copy-feedback {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tutorial-steps {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  text-align: left;
}

.step-line {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  gap: 1rem;
}

.step-line:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.step-line strong {
  color: var(--accent);
  font-weight: 600;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container > * {
  animation: fadeIn 0.6s ease forwards;
}
