@import url('https://cdn.jsdelivr.net/npm/@n8n/chat/dist/style.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Monument+Extended:wght@400;700&family=Space+Grotesk:wght@400;500&display=swap');


:root {
  --color-black: #000;
  --color-white: #fff;
  --color-darkest: #040505;
  --color-dark: #0b0b0c;
  --color-body-white: #fefefe;
  --color-body-gray: #9b9a9b;
  --color-body-dark-gray: #837f89b3;
  --color-red: #ea435c;
  --color-green: #4de587;
  --color-glass: #3b3b3b40;
  --color-table: #1b1b22;
  --color-light-03: #f5ecff08;
  --color-new-website-overlay-8: #ded8e714;
  
  --font-radio-grotesk: "Radio Grotesk", sans-serif;
  --font-inter: "Inter", sans-serif;
  
  --spacing: 0.25rem;
  --container-custom: 1200px;
}

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

body {
  background: var(--color-dark);
  color: var(--color-body-white);
  font-family: var(--font-inter), Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: transparent;
  min-height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem;
}

@media (min-width: 768px) {
  header {
    top: 1.25rem;
    padding: 0;
  }
}

nav {
  max-width: var(--container-custom);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 1rem;
  height: 75px;
  border-radius: 8px;
  border: 1px solid var(--color-glass);
  backdrop-filter: blur(12px);
  background: rgba(59, 59, 59, 0.25);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  nav {
    padding: 0 2rem;
  }
}

.logo-container {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 75px;
}

.logo-s {
  height: 62px;
  width: auto;
}

.logo-casino-img {
  height: 24px;
  width: auto;
  position: relative;
  top: 8px;
  opacity: 0.90;
}

.menu-toggle {
  width: 34px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 105;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: var(--color-body-white);
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu {
  display: flex;
  position: static;
  flex-direction: row;
  height: auto;
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  padding-top: 0;
  transition: none;
  z-index: 104;
}

.menu ul {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style-type: none;
  padding: 0;
}

.menu ul li a {
  padding: 0 12px;
  font-family: var(--font-inter), sans-serif;
  font-size: 13px;
  display: block;
  color: var(--color-body-gray);
  text-decoration: none;
  transition: color 0.15s ease;
  letter-spacing: -0.1px;
}

.menu ul li a:hover {
  color: var(--color-body-white);
}

.menu-toggle,
.menu-overlay {
  display: none !important;
}

main {
  max-width: 860px;
  margin: 115px auto 0 auto;
  padding: 0 15px;
}

.hero {
  text-align: center;
  padding: 40px 0;
}

h1 {
  margin-bottom: 18px;
  font-family: 'Monument Extended', sans-serif;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--color-body-white);
  animation: fadeIn 1s ease-in;
}

@media (min-width: 768px) {
  h1 {
    font-size: 64px;
  }
}

h2 {
  margin-top: 36px;
  font-family: 'Monument Extended', sans-serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--color-body-white);
  font-weight: 600;
  animation: slideUp 0.8s ease-out;
}

h3 {
  font-family: 'Monument Extended', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--color-body-white);
  font-weight: 600;
}

p {
  margin: 14px 0;
  font-family: var(--font-inter), sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: var(--color-body-gray);
}

@media (min-width: 768px) {
  p {
    font-size: 16px;
  }
}

strong {
  color: var(--color-green);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(172deg, #5e5e5eb3 25.7%, #222224b3 59.2%);
  color: var(--color-body-white);
  font-family: var(--font-inter), sans-serif;
  font-size: 13px;
  letter-spacing: -0.3px;
  border-radius: 6px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0px -2px 7px 0px rgba(114, 116, 120, 0.25), 0px 2px 5px 0px rgba(0, 0, 0, 0.9);
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -20px;
  z-index: 1;
  opacity: 0.1;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="glow"><stop offset="0%" stop-color="white" stop-opacity="0.8"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23glow)"/></svg>');
  background-position: -10% 0;
  background-repeat: repeat;
  background-size: 100%;
  animation: glowing 7s linear infinite;
}

.cta-button:hover::before {
  left: 0;
  opacity: 0.5;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.casino-card {
  background: linear-gradient(90deg, #19171c 11.27%, #0c0c0d 115.64%);
  border-radius: 8px;
  border: 1px solid var(--color-glass);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 20px 0;
  animation: popIn 0.5s ease-out;
}

.data-visualization {
  margin: 20px 0;
  animation: fadeIn 1s ease-in;
}

#casinoChart {
  max-width: 100%;
}

#n8n-chat {
  max-width: 880px;
  height: 640px;
  margin: 24px auto 60px auto;
  padding: 0 16px;
}

#n8n-chat .n8n-chat-container {
  border-radius: 20px !important;
  overflow: hidden !important;
  background: 
    linear-gradient(135deg, rgba(30, 30, 35, 0.95) 0%, rgba(45, 45, 50, 0.95) 25%, rgba(25, 25, 30, 0.95) 50%, rgba(40, 40, 45, 0.95) 75%, rgba(30, 30, 35, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  position: relative !important;
}

#n8n-chat .n8n-chat-container::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 120, 130, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100, 100, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(140, 140, 150, 0.05) 0%, transparent 50%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

#n8n-chat [class*="powered"], #n8n-chat footer, #n8n-chat .n8n-chat-footer, #n8n-chat .n8n-chat-powered-by { 
  display: none !important; 
}

#n8n-chat .n8n-chat-header, #n8n-chat [class*="header"] {
  background: 
    linear-gradient(135deg, rgba(50, 50, 55, 0.9) 0%, rgba(35, 35, 40, 0.9) 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: -0.02em !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  position: relative !important;
  z-index: 2 !important;
}

#n8n-chat .n8n-chat-messages, #n8n-chat [class*="messages"] {
  background: transparent !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 2 !important;
}

#n8n-chat .n8n-chat-message-user, #n8n-chat [class*="message-user"] {
  background: 
    linear-gradient(135deg, rgba(80, 80, 90, 0.8) 0%, rgba(60, 60, 70, 0.8) 100%) !important;
  color: #ffffff !important;
  border-radius: 18px 18px 4px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  margin: 8px 0 !important;
  padding: 12px 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

#n8n-chat .n8n-chat-message-bot, #n8n-chat [class*="message-bot"] {
  background: 
    linear-gradient(135deg, rgba(40, 40, 45, 0.8) 0%, rgba(30, 30, 35, 0.8) 100%) !important;
  color: #ffffff !important;
  border-radius: 18px 18px 18px 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  margin: 8px 0 !important;
  padding: 12px 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

#n8n-chat .n8n-chat-input, #n8n-chat [class*="input"] {
  background: 
    linear-gradient(135deg, rgba(45, 45, 50, 0.9) 0%, rgba(35, 35, 40, 0.9) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  backdrop-filter: blur(15px) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#n8n-chat .n8n-chat-input:focus, #n8n-chat [class*="input"]:focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px) !important;
}

#n8n-chat .n8n-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400 !important;
}

#n8n-chat .n8n-chat-send-button, #n8n-chat [class*="send"] {
  background: 
    linear-gradient(135deg, rgba(70, 70, 80, 0.9) 0%, rgba(50, 50, 60, 0.9) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#n8n-chat .n8n-chat-send-button:hover, #n8n-chat [class*="send"]:hover {
  transform: scale(1.05) translateY(-1px) !important;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(255, 255, 255, 0.15) !important;
  background: 
    linear-gradient(135deg, rgba(80, 80, 90, 0.9) 0%, rgba(60, 60, 70, 0.9) 100%) !important;
}

#n8n-chat button, #n8n-chat .n8n-chat-button {
  background: 
    linear-gradient(135deg, rgba(70, 70, 80, 0.9) 0%, rgba(50, 50, 60, 0.9) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: -0.01em !important;
}

#n8n-chat button:hover, #n8n-chat .n8n-chat-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(255, 255, 255, 0.15) !important;
  background: 
    linear-gradient(135deg, rgba(80, 80, 90, 0.9) 0%, rgba(60, 60, 70, 0.9) 100%) !important;
}

#n8n-chat a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
}

#n8n-chat a:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.6) !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3) !important;
}

/* Премиум анимации */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(255, 255, 255, 0.2); }
}

#n8n-chat .n8n-chat-container {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#n8n-chat .n8n-chat-message-bot, #n8n-chat [class*="message-bot"] {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#n8n-chat .n8n-chat-send-button, #n8n-chat [class*="send"] {
  animation: pulseGlow 2s ease-in-out infinite !important;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
  }

  .menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 100vh;
    background: var(--color-darkest);
    border-left: 1px solid var(--color-glass);
    z-index: 104;
    flex-direction: column;
    padding-top: 90px;
    box-shadow: -3px 0 16px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  .menu.active {
    display: flex;
    transform: translateX(0);
  }
  
  .menu ul {
    flex-direction: column;
    gap: 0;
    padding: 0 0 0 20px;
  }
  
  .menu ul li a {
    padding: 12px 0;
  }
  
  .menu-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 103;
    transition: opacity 0.3s ease;
  }
  
  .menu.active ~ .menu-overlay {
    display: block !important;
  }
}

/* ===== UTILITY CLASSES ===== */
.container-custom {
  max-width: var(--container-custom);
  padding: 0 1rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.my-32 { margin-top: 8rem; margin-bottom: 8rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mt-32 { margin-top: 8rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-32 { margin-bottom: 8rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

.cursor-pointer { cursor: pointer; }

.transition { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* ===== VERTEX SPECIFIC STYLES ===== */
.launch-button-gradient {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.launch-button-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -20px;
  z-index: 1;
  opacity: 0.1;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="glow"><stop offset="0%" stop-color="white" stop-opacity="0.8"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23glow)"/></svg>');
  background-position: -10% 0;
  background-repeat: repeat;
  background-size: 100%;
  animation: glowing 7s linear infinite;
}

.launch-button-gradient:hover::before {
  left: 0;
  opacity: 0.5;
}

.launch-button-bg {
  position: relative;
  overflow: hidden;
}

.button-gradient {
  background: linear-gradient(172deg, #5e5e5eb3 25.7%, #222224b3 59.2%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.bg-darkest {
  background-color: var(--color-darkest);
  border-radius: 6px;
  position: absolute;
  inset: 1px;
}

.shadow-button {
  box-shadow: 0px -2px 7px 0px rgba(114, 116, 120, 0.25), 0px 2px 5px 0px rgba(0, 0, 0, 0.9);
}

.shadow-glass {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.border-glass {
  border: 1px solid var(--color-glass);
  backdrop-filter: blur(12px);
  background: rgba(59, 59, 59, 0.25);
}

.text-body-13 { font-size: 13px; line-height: 1.4; letter-spacing: -0.1px; }
.text-body-14 { font-size: 14px; line-height: 1.4; letter-spacing: -0.1px; }
.text-body-16 { font-size: 16px; line-height: 1.4; letter-spacing: -0.1px; }

.text-body-gray { color: var(--color-body-gray); }
.text-body-dark-gray { color: var(--color-body-dark-gray); }

.min-w-125 { min-width: 125px; }

.focus\:shadow-focus:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.focus\:rounded-md:focus {
  border-radius: 6px;
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.whitespace-nowrap { white-space: nowrap; }
.gap-x-8 { column-gap: 2rem; }
.hidden { display: none; }

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:h-10 { height: 2.5rem; }
}

.h-9 { height: 2.25rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

.leading-normal { line-height: 1.5; }
.tracking-tight { letter-spacing: -0.3px; }

.z-1 { z-index: 1; }
.inset-px { top: 1px; right: 1px; bottom: 1px; left: 1px; }

.features {
  margin-top: 2rem;
}

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