/* Base styles */
:root {
    --primary: #ff3db4;
    --primary-hover: #e700a0;
    --secondary: #4a95ff;
    --secondary-hover: #3270ca;
    --background: #0b0b0b;
    --foreground: #ffffff;
    --muted-foreground: #ffa8dc;
    --accent: #2a2a30;
    --border: #3a2f40;
    --shadow: 0 8px 16px rgba(255, 61, 180, 0.25);
    --secondary-shadow: 0 8px 16px rgba(74, 149, 255, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    line-height: 1.5;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Glass effects */
.glass {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.glass-dark {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Text styles */
.text-gradient {
    background: linear-gradient(90deg, #ff3db4, #ff9cc2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

/* Layout */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Positioning */
.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.right-4 {
    right: 1rem;
}

.bottom-2 {
    bottom: 0.5rem;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.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-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pt-20 {
    padding-top: 5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-lg {
    max-width: 32rem;
}

.w-full {
    width: 100%;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-9 {
    height: 2.25rem;
}

.h-10 {
    height: 2.5rem;
}

.h-11 {
    height: 2.75rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.w-10 {
    width: 2.5rem;
}

.min-h-screen {
    min-height: 100vh;
}

/* Typography */
.text-center {
    text-align: center;
}

.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-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.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;
}

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

.font-semibold {
    font-weight: 600;
}

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

.leading-tight {
    line-height: 1.25;
}

/* Borders */
.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--border);
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Buttons */
button,
.button,
a[class*="rounded-md"],
button[class*="rounded-md"],
a[class*="h-9"],
a[class*="h-10"],
a[class*="h-11"],
a[class*="h-12"] {
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

button:hover,
.button:hover,
a[class*="rounded-md"]:hover,
button[class*="rounded-md"]:hover,
a[class*="h-9"]:hover,
a[class*="h-10"]:hover,
a[class*="h-11"]:hover,
a[class*="h-12"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

button:active,
.button:active,
a[class*="rounded-md"]:active,
button[class*="rounded-md"]:active,
a[class*="h-9"]:active,
a[class*="h-10"]:active,
a[class*="h-11"]:active,
a[class*="h-12"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-primary {
    background-color: var(--primary);
    box-shadow: var(--shadow);
}

.hover\:bg-primary\/90:hover {
    background-color: var(--primary-hover);
}

.bg-\[\#ff6ac1\], .bg-\[\#9b87f5\] {
    background-color: var(--primary);
    box-shadow: var(--shadow);
}

.hover\:bg-\[\#e74ca8\]:hover,
.hover\:bg-\[\#7E69AB\]:hover {
    background-color: var(--primary-hover);
}

.bg-secondary {
    background-color: var(--secondary);
    box-shadow: var(--secondary-shadow);
}

.hover\:bg-secondary\/80:hover {
    background-color: var(--secondary-hover);
}

.bg-accent {
    background-color: var(--accent);
}

.hover\:bg-accent:hover {
    background-color: var(--accent);
}

.text-primary-foreground {
    color: white;
}

.text-secondary-foreground {
    color: white;
}

.text-\[\#9b87f5\], .text-\[\#ff6ac1\] {
    color: var(--primary);
}

.bg-\[\#9b87f5\]\/10, .bg-\[\#ff6ac1\]\/10 {
    background-color: rgba(255, 61, 180, 0.1);
}

.connect-wallet-button,
#connect-wallet-btn,
.primary-button,
[class*="bg-[#ff6ac1]"],
[class*="bg-[#9b87f5]"] {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
    border: none;
}

.connect-wallet-button:hover,
#connect-wallet-btn:hover,
.primary-button:hover,
[class*="bg-[#ff6ac1]"]:hover,
[class*="bg-[#9b87f5]"]:hover {
    background: var(--primary-hover);
}

/* Language toggle buttons */
.lang-button {
    opacity: 0.7;
    box-shadow: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-button.active {
    opacity: 1;
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

a.text-muted-foreground:hover {
    color: var(--foreground);
}

/* Navigation */
.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

.bg-background\/80 {
    background-color: rgba(11, 11, 11, 0.9);
}

/* Mobile menu */
.md\:hidden {
    display: flex;
}

/* Language handling */
html[lang="ru"] .lang-en {
    display: none;
}

html[lang="en"] .lang-ru {
    display: none;
}

/* Opacity and transform utilities */
.opacity-1 {
    opacity: 1;
}

.transform-none {
    transform: none;
}

/* Lists */
.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hidden {
        display: none;
    }

    .md\:flex {
        display: none;
    }

    .md\:hidden {
        display: flex;
    }

    .text-4xl {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .md\:text-6xl {
        font-size: 2.5rem;
        line-height: 2.75rem;
    }

    .flex-col {
        flex-direction: column;
    }

    .pt-20 {
        padding-top: 5rem;
    }

    .md\:pt-32 {
        padding-top: 5rem;
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .sm\:flex-row {
        flex-direction: row;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Disabled state */
.disabled\:pointer-events-none:disabled {
    pointer-events: none;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}
