/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.5;
}

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Inset */
.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-Index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-\[100\] { z-index: 100; }
.z-\[1000\] { z-index: 1000; }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; }
.w-10 { width: 2.5rem; }
.w-20 { width: 5rem; }
.max-w-\[1000px\] { max-width: 1000px; }
.max-w-\[1100px\] { max-width: 1100px; }
.max-w-\[1200px\] { max-width: 1200px; }
.max-w-\[1400px\] { max-width: 1400px; }

/* Height */
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-0\.5 { height: 0.125rem; }
.h-2 { height: 0.5rem; }
.h-10 { height: 2.5rem; }
.h-20 { height: 5rem; }
.h-\[70px\] { height: 70px; }
.min-h-screen { min-height: 100vh; }
.max-h-\[70vh\] { max-height: 70vh; }

/* Padding */
.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }

/* Margin */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-\[90px\] { margin-top: 90px; }
.mt-\[110px\] { margin-top: 110px; }
.ml-1 { margin-left: 0.25rem; }

/* Flex */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Grid */
.grid-cols-\[auto_1fr_auto\] { grid-template-columns: auto 1fr auto; }
.grid-cols-\[repeat\(auto-fit\,minmax\(140px\,1fr\)\)\] { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Border */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/8 { border-color: rgba(255, 255, 255, 0.08); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-\[#2d3748\] { border-color: #2d3748; }

/* Border Radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[10px\] { border-radius: 10px; }
.rounded-\[16px\] { border-radius: 16px; }
.rounded-\[20px\] { border-radius: 20px; }
.rounded-\[28px\] { border-radius: 28px; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-full { border-radius: 9999px; }

/* Background */
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }
.bg-\[#050511\] { background-color: #050511; }
.bg-\[#0a0e27\] { background-color: #0a0e27; }
.bg-\[#151932\] { background-color: #151932; }
.bg-\[#1e2139\] { background-color: #1e2139; }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }

/* Text Color */
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-\[#e2e8f0\] { color: #e2e8f0; }
.text-\[#f1f5f9\] { color: #f1f5f9; }

/* Font Size */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-\[0\.95rem\] { font-size: 0.95rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[2rem\] { font-size: 2rem; }
.text-\[32px\] { font-size: 32px; }
.text-\[5rem\] { font-size: 5rem; }

/* Font Weight */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Text Align */
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Text Decoration */
.no-underline { text-decoration: none; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }

/* Letter Spacing */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[2px\] { letter-spacing: 2px; }

/* Line Height */
.whitespace-nowrap { white-space: nowrap; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Outline */
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }

/* Transition */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-400 { transition-duration: 400ms; }

/* Transform */
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* Opacity */
.opacity-90 { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }

/* Aspect Ratio */
.aspect-video { aspect-ratio: 16 / 9; }
.pb-\[56\.25\%\] { padding-bottom: 56.25%; }

/* Responsive - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .md\:px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
    .md\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .md\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .md\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .md\:py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
    .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .md\:p-4 { padding: 1rem; }
    .md\:p-6 { padding: 1.5rem; }
    .md\:pb-20 { padding-bottom: 5rem; }
    .md\:mt-\[80px\] { margin-top: 80px; }
    .md\:mb-6 { margin-bottom: 1.5rem; }
    .md\:h-\[60px\] { height: 60px; }
    .md\:h-auto { height: auto; }
    .md\:max-h-\[60vh\] { max-height: 60vh; }
    .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
    .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:tracking-normal { letter-spacing: 0; }
    .md\:rounded-xl { border-radius: 0.75rem; }
    .md\:rounded-2xl { border-radius: 1rem; }
    .md\:rounded-3xl { border-radius: 1.5rem; }
    .md\:aspect-auto { aspect-ratio: auto; }
    .md\:gap-2 { gap: 0.5rem; }
    .md\:gap-3 { gap: 0.75rem; }
    .md\:gap-4 { gap: 1rem; }
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-\[repeat\(auto-fit\,minmax\(100px\,1fr\)\)\] { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
    .md\:flex-col { flex-direction: column; }
    .md\:flex-wrap { flex-wrap: wrap; }
    .md\:bottom-5 { bottom: 1.25rem; }
    .md\:bottom-6 { bottom: 1.5rem; }
    .md\:right-5 { right: 1.25rem; }
    .md\:right-6 { right: 1.5rem; }
}

/* Responsive - Small Mobile (max-width: 640px) */
@media (max-width: 640px) {
    .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
    .sm\:px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .sm\:py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
    .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .sm\:p-4 { padding: 1rem; }
    .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
    .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .sm\:max-h-\[50vh\] { max-height: 50vh; }
    .sm\:rounded-\[20px\] { border-radius: 20px; }
    .sm\:gap-2 { gap: 0.5rem; }
    .sm\:bottom-4 { bottom: 1rem; }
    .sm\:right-4 { right: 1rem; }
}

/* Hover States */
.hover\:bg-\[rgba\(0\,245\,255\,0\.15\)\]:hover { background-color: rgba(0, 245, 255, 0.15); }
.hover\:bg-\[rgba\(255\,0\,255\,0\.15\)\]:hover { background-color: rgba(255, 0, 255, 0.15); }
.hover\:bg-\[rgba\(0\,204\,204\,0\.15\)\]:hover { background-color: rgba(0, 204, 204, 0.15); }
.hover\:bg-\[rgba\(0\,102\,204\,0\.15\)\]:hover { background-color: rgba(0, 102, 204, 0.15); }
.hover\:bg-\[rgba\(40\,40\,40\,0\.9\)\]:hover { background-color: rgba(40, 40, 40, 0.9); }
.hover\:bg-\[\#111\]:hover { background-color: #111; }
.hover\:bg-black\/10:hover { background-color: rgba(0, 0, 0, 0.1); }
.hover\:bg-black\/30:hover { background-color: rgba(0, 0, 0, 0.3); }
.hover\:text-white:hover { color: #fff; }
.hover\:border-white\/20:hover { border-color: rgba(255, 255, 255, 0.2); }
.hover\:border-white\/40:hover { border-color: rgba(255, 255, 255, 0.4); }

/* Group Hover */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-white { color: #fff; }
.group:hover .group-hover\:bg-indigo-primary { background-color: #6366f1; }
.group:hover .group-hover\:border-indigo-primary { border-color: #6366f1; }

/* Active States */
.active\:-translate-y-0\.5:active { transform: translateY(-0.125rem); }

/* Telegram Button - Global Position Fallback */
#btnTelegram {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
}

@media (max-width: 768px) {
    #btnTelegram {
        right: 20px;
        bottom: 20px;
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
        gap: 0.5rem;
    }

    #btnTelegram i {
        font-size: 1rem;
    }

    #playOverlay > i {
        font-size: 3rem;
    }

    #playOverlay > div {
        width: 4rem;
        height: 4rem;
    }

    #playOverlay > div > i {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    #btnTelegram {
        right: 16px;
        bottom: 16px;
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    #btnTelegram i {
        font-size: 0.95rem;
    }

    #playOverlay > i {
        font-size: 2.5rem;
    }

    #playOverlay > div {
        width: 3.5rem;
        height: 3.5rem;
    }

    #playOverlay > div > i {
        font-size: 1.5rem;
    }
}
