/* Tailwind CSS - Local Build for d0y0ul0ve.ru */
/* This file replaces cdn.tailwindcss.com for Russia access */

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

::before, ::after {
  --tw-content: '';
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

/* Custom Colors */
.bg-dark { background-color: #000000; }
.bg-light { background-color: #FFFFFF; }
.text-dark { color: #000000; }
.text-light { color: #FFFFFF; }

.bg-gray-900 { background-color: #0a0a0a; }
.bg-gray-800 { background-color: #111111; }
.bg-gray-700 { background-color: #1a1a1a; }
.bg-gray-600 { background-color: #222222; }
.bg-gray-500 { background-color: #333333; }
.bg-gray-400 { background-color: #666666; }
.bg-gray-300 { background-color: #999999; }

.text-gray-900 { color: #0a0a0a; }
.text-gray-800 { color: #111111; }
.text-gray-700 { color: #1a1a1a; }
.text-gray-600 { color: #222222; }
.text-gray-500 { color: #333333; }
.text-gray-400 { color: #666666; }
.text-gray-300 { color: #999999; }

.border-gray-700 { border-color: #1a1a1a; }
.border-gray-800 { border-color: #111111; }
.border-light { border-color: #FFFFFF; }

/* Font Family */
.font-space { font-family: 'Space Grotesk', sans-serif; }

/* Position */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }

/* Inset */
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.bottom-12 { bottom: 3rem; }

/* Z-Index */
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.\!z-\[100\], .z-\[100\] { z-index: 100; }
.z-\[101\] { z-index: 101; }
.z-\[102\] { z-index: 102; }
.z-\[200\] { z-index: 200; }
.z-\[9999\] { z-index: 9999; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* Flex */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Width & Height */
.w-2 { width: 0.5rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-px { width: 1px; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }

.h-0 { height: 0px; }
.h-0\.5 { height: 0.125rem; }
.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.h-1\/2 { height: 50%; }

.min-h-screen { min-height: 100vh; }

/* Max Width */
.max-w-xl { max-width: 36rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }

/* Padding */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-6 { padding-top: 1.5rem; }
.pl-4 { padding-left: 1rem; }
.pl-12 { padding-left: 3rem; }

/* Border */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-l { border-left-width: 1px; }
.border-t { border-top-width: 1px; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

/* Font Size */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

/* Font Weight */
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

/* Letter Spacing */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

/* Line Height */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Text Transform */
.uppercase { text-transform: uppercase; }

/* Text Align */
.text-center { text-align: center; }

/* Word Break */
.break-all { word-break: break-all; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Opacity */
.opacity-10 { opacity: 0.1; }
.opacity-40 { opacity: 0.4; }
.opacity-0 { opacity: 0; }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.translate-y-8 { --tw-translate-y: 2rem; transform: translateY(2rem); }
.translate-x-1\/2 { --tw-translate-x: 50%; transform: translateX(50%); }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translateX(-50%); }
.-translate-y-full { --tw-translate-y: -100%; transform: translateY(-100%); }
.translate-y-full { --tw-translate-y: 100%; transform: translateY(100%); }
.scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: scale(1.1); }
.origin-center { transform-origin: center; }

/* Transition */
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Visibility */
.invisible { visibility: hidden; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }

/* Fill & Stroke */
.fill-current { fill: currentColor; }
.stroke-current { stroke: currentColor; }

/* Animation */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Hover States */
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:border-light:hover { border-color: #FFFFFF; }
.hover\:bg-light:hover { background-color: #FFFFFF; }
.hover\:text-dark:hover { color: #000000; }

/* Background */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

/* Gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-dark\/60 { --tw-gradient-from: rgba(0, 0, 0, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.via-dark\/40 { --tw-gradient-via: rgba(0, 0, 0, 0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.to-dark { --tw-gradient-to: #000000; }
.from-dark { --tw-gradient-from: #000000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.via-transparent { --tw-gradient-via: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }
.from-light { --tw-gradient-from: #FFFFFF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0)); }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }

/* Group */
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Responsive - MD (768px+) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-24 { gap: 6rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-8xl { font-size: 6rem; line-height: 1; }
  .md\:text-9xl { font-size: 8rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:py-48 { padding-top: 12rem; padding-bottom: 12rem; }
  .md\:w-1\/2 { width: 50%; }
  .md\:pr-12 { padding-right: 3rem; }
  .md\:pl-12 { padding-left: 3rem; }
  .md\:pl-0 { padding-left: 0; }
  .md\:ml-0 { margin-left: 0; }
  .md\:ml-auto { margin-left: auto; }
  .md\:left-1\/2 { left: 50%; }
  .md\:left-0 { left: 0; }
  .md\:left-auto { left: auto; }
  .md\:right-0 { right: 0; }
  .md\:translate-x-1\/2 { transform: translateX(50%); }
  .md\:-translate-x-1\/2 { transform: translateX(-50%); }
}

/* Responsive - SM (640px+) */
@media (min-width: 640px) {
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* Responsive - LG (1024px+) */
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-9xl { font-size: 8rem; line-height: 1; }
}

/* Responsive - XL (1280px+) */
@media (min-width: 1280px) {
  .xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* Space utilities */
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
