@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #0b0f19;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --tele-grad-1: #2AABEE;
  --tele-grad-2: #229ED9;
  --msg-grad-1: #00B2FF;
  --msg-grad-2: #006AFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Dynamic background blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(42, 171, 238, 0.15);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(0, 106, 255, 0.15);
  bottom: -150px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 50px) scale(1.1); }
  100% { transform: translate(-30px, 20px) scale(0.9); }
}

/* Main Card */
.glass-container {
  position: relative;
  z-index: 10;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header {
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Buttons Container */
.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Big Button Styles */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  /* Hidden by default until JS unhides */
  display: none; 
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-4px);
}

.contact-btn:hover::before {
  opacity: 1;
}

.contact-btn:active {
  transform: translateY(0px);
  filter: brightness(0.9);
}

/* Telegram specifically */
.btn-telegram {
  background: linear-gradient(135deg, var(--tele-grad-1) 0%, var(--tele-grad-2) 100%);
  box-shadow: 0 10px 20px -5px rgba(42, 171, 238, 0.4);
}
.btn-telegram:hover {
  box-shadow: 0 15px 25px -5px rgba(42, 171, 238, 0.5);
}

/* Messenger specifically */
.btn-messenger {
  background: linear-gradient(135deg, var(--msg-grad-1) 0%, var(--msg-grad-2) 100%);
  box-shadow: 0 10px 20px -5px rgba(0, 106, 255, 0.4);
}
.btn-messenger:hover {
  box-shadow: 0 15px 25px -5px rgba(0, 106, 255, 0.5);
}

.btn-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Empty State */
.empty-state {
  display: none;
  color: #ef4444; /* red-500 */
  background: rgba(239, 68, 68, 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Show classes used by JS */
.contact-btn.show {
  display: flex;
}
.empty-state.show {
  display: block;
}
