/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary - Brick Orange Core */
    --brick-orange: #E05B26;
    --plush-light-orange: #F47A39;
    --deep-clay: #C6421A;
    
    /* Secondary - Telegram Blue Balance */
    --telegram-blue: #229ED9;
    --soft-sky: #E6F4FA;
    
    /* Neutrals - Readability */
    --dark-charcoal: #1E1E1E;
    --warm-gray: #6E6E6E;
    --white: #FFFFFF;
    
    /* Accents - Emotion Support */
    --success-green: #2ECC71;
    --warning-yellow: #F1C40F;
    --error-red: #E74C3C;
    
    /* Background Gradients */
    --bg-gradient: linear-gradient(135deg, #FAFCFE 0%, #FFFFFF 100%);
    --bg-gradient-dark: linear-gradient(135deg, #1E1E1E 0%, #229ED9 50%, #1E1E1E 100%);
    
    /* Legacy compatibility */
    --primary-color: var(--brick-orange);
    --secondary-color: var(--telegram-blue);
    --accent-color: var(--brick-orange);
    --success-color: var(--success-green);
    --warning-color: var(--warning-yellow);
    --error-color: var(--error-red);
    
    --bg-primary: var(--white);
    --bg-secondary: var(--soft-sky);
    --bg-tertiary: var(--dark-charcoal);
    --bg-card: var(--white);
    
    --text-primary: var(--dark-charcoal);
    --text-secondary: var(--warm-gray);
    --text-muted: var(--warm-gray);
    
    --border-color: var(--soft-sky);
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    --gradient-primary: linear-gradient(135deg, var(--brick-orange) 0%, var(--plush-light-orange) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--telegram-blue) 0%, var(--soft-sky) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brick-orange) 0%, var(--deep-clay) 100%);
    --gradient-brick: linear-gradient(135deg, var(--brick-orange) 0%, var(--deep-clay) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(20px);
    border-bottom: none;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.buy-btn::after {
    display: none;
}

.buy-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

/* Убираем ховер эффект для кнопки "Купить" в навбаре */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 80%, rgba(224, 91, 38, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(244, 122, 57, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(230, 244, 250, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #FAFCFE 0%, #F8F9FA 50%, #FFFFFF 100%);
    padding-top: 80px;
    overflow: visible;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(224, 91, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 158, 217, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(46, 204, 113, 0.06) 0%, transparent 40%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-title .gradient-text {
    background: linear-gradient(45deg, #E05B26, #F47A39, #C6421A, #E05B26);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.gradient-text {
    background: var(--gradient-brick);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--brick-orange);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: statCounter 2s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #E05B26 0%, #F47A39 50%, #C6421A 100%);
    color: white;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(224, 91, 38, 0.6), 0 0 20px rgba(244, 122, 57, 0.4);
    background: linear-gradient(135deg, #F47A39 0%, #E05B26 50%, #C6421A 100%);
}

.btn-secondary {
    background: var(--white);
    color: var(--brick-orange);
    border: 2px solid var(--brick-orange);
    box-shadow: 0 2px 8px rgba(224, 91, 38, 0.1);
}

.btn-secondary:hover {
    border-color: var(--plush-light-orange);
    background: var(--brick-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(224, 91, 38, 0.3);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 600px;
    overflow: visible;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-image {
    position: absolute;
    right: -50px;
    width: 600px;
    height: auto;
    max-width: none;
    object-fit: contain;
    animation: heroFloat 8s ease-in-out infinite;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-x: hidden;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--brick-orange), var(--telegram-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brick-orange), var(--telegram-blue));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(224, 91, 38, 0.5);
}


.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contract-info {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.contract-info h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--soft-sky);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    word-break: break-all;
    border: 1px solid var(--soft-sky);
    color: var(--dark-charcoal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.copy-btn {
    background: var(--brick-orange);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(224, 91, 38, 0.2);
}

.copy-btn:hover {
    background: var(--plush-light-orange);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(224, 91, 38, 0.3);
}

.meme-combination {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 244, 250, 0.9) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(224, 91, 38, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.meme-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    border-radius: 20px;
    border: 1px solid rgba(224, 91, 38, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    min-height: 160px;
    aspect-ratio: 1;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.meme-item .meme-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: absolute;
    bottom: 10%;
    right: 10%;
    transform: translate(15%, 15%);
    opacity: 0.35;
    transition: all 0.4s ease;
    z-index: 1;
    filter: blur(0.5px);
}

.meme-item:hover .meme-logo {
    opacity: 0.7;
    transform: translate(5%, 5%);
    filter: blur(0);
    width: 140px;
    height: 140px;
}

.meme-item:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 50px rgba(224, 91, 38, 0.3), 0 0 30px rgba(244, 122, 57, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--brick-orange);
    text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.meme-item:hover h4 {
    color: var(--brick-orange);
    text-shadow: 0 0 10px rgba(224, 91, 38, 0.5);
}





.meme-item h4 {
    margin: 0 0 0.5rem;
    color: var(--dark-charcoal);
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.meme-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    margin: 0;
}

.meme-item.result {
    background: 
        linear-gradient(135deg, 
            var(--brick-orange) 0%, 
            var(--plush-light-orange) 30%, 
            #FF8C42 60%, 
            var(--plush-light-orange) 85%, 
            var(--brick-orange) 100%
        ),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.4) 0%, transparent 50%);
    color: var(--white);
    border: 2px solid var(--brick-orange);
    box-shadow: 
        0 15px 40px rgba(224, 91, 38, 0.3),
        0 8px 20px rgba(255, 140, 66, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    grid-column: 1 / -1; /* растягиваем на три колонки */
    aspect-ratio: auto; /* чтобы не был квадратом */
    min-height: 160px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}



.meme-item.result {
    cursor: default;
}

.meme-item.result:hover h4 {
    color: var(--white);
}

.meme-item.result h4 {
    color: var(--white);
}

.meme-item.result p {
    color: var(--white);
}

.meme-item.result .meme-icon {
    color: var(--white);
}

.meme-item.result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

/* Tokenomics Section */
.tokenomics {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.tokenomics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(224, 91, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 122, 57, 0.05) 0%, transparent 50%);
    z-index: 1;
}

/* Фоновая картинка для токеномики */
.tokenomics-background {
    position: absolute;
    top: 50%;
    left: -15%;
    transform: translateY(-50%);
    width: 800px;
    height: auto;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
    filter: blur(1px) saturate(0.8);
    mix-blend-mode: multiply;
    transition: transform 0.1s ease-out;
}

/* Обеспечиваем правильный z-index для всех элементов в tokenomics */
.tokenomics .container {
    position: relative;
    z-index: 2;
}

.tokenomics-content {
    position: relative;
    z-index: 3;
}

.tokenomics-chart,
.tokenomics-details {
    position: relative;
    z-index: 4;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .tokenomics-background {
        width: 400px;
        left: -20%;
        opacity: 0.6;
    }
}

/* Адаптация для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .tokenomics-background {
        width: 600px;
        left: -18%;
        opacity: 0.7;
    }
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.tokenomics-chart {
    width: 100%;
    position: relative;
    height: 450px;
}

.chart-container {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid #e2e8f0;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(224, 91, 38, 0.1);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(224, 91, 38, 0.02) 0%, rgba(244, 122, 57, 0.02) 100%);
    border-radius: 24px;
    z-index: 1;
}

.chart-container:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(224, 91, 38, 0.15);
    transition: all 0.3s ease;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(224, 91, 38, 0.05) 0%, transparent 70%);
    animation: chartGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes chartGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

#tokenomicsChart {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(224, 91, 38, 0.3);
    border-color: var(--plush-light-orange);
}

.chart-container:hover::before {
    animation-duration: 2s;
}

.tokenomics-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.75rem;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 1rem;
}

.tokenomics-details::-webkit-scrollbar {
    width: 6px;
}

.tokenomics-details::-webkit-scrollbar-track {
    background: var(--soft-sky);
    border-radius: 3px;
}

.tokenomics-details::-webkit-scrollbar-thumb {
    background: var(--brick-orange);
    border-radius: 3px;
}

.tokenomics-details::-webkit-scrollbar-thumb:hover {
    background: var(--plush-light-orange);
}

.tokenomics-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tokenomics-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brick-orange), var(--plush-light-orange));
    border-radius: 16px 16px 0 0;
}

.tokenomics-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--brick-orange);
}

.item-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s ease;
}

.tokenomics-item:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
}

.item-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.item-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.item-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brick-orange);
    margin-bottom: 0.25rem;
}

.item-percentage {
    font-size: 1rem;
    font-weight: 700;
    color: var(--telegram-blue);
    margin-bottom: 0.25rem;
}

.item-description {
    color: var(--text-secondary);
    line-height: 1.5;
}

.total-supply {
    background: linear-gradient(135deg, var(--brick-orange) 0%, var(--plush-light-orange) 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    box-shadow: 
        0 15px 30px rgba(224, 91, 38, 0.25),
        0 6px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    margin-top: 1rem;
}

.total-supply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.total-supply h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

/* Адаптивные стили для токеномики */
/* Large Screens (1440px+) */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-content {
        max-width: 1400px;
        gap: 6rem;
    }

    .section-title {
        font-size: 4rem;
    }

    .container {
        max-width: 1400px;
    }

    .meme-item {
        padding: 2rem;
        min-height: 200px;
    }

    .meme-logo {
        width: 140px;
        height: 140px;
    }

    .meme-item:hover .meme-logo {
        width: 160px;
        height: 160px;
    }
}

/* Medium-Large Screens (1200px - 1440px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-content {
        gap: 5rem;
        max-width: 1200px;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .container {
        max-width: 1200px;
    }
}

/* Medium Screens (1024px - 1200px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-content {
        gap: 4rem;
        max-width: 1100px;
    }

    .section-title {
        font-size: 3rem;
    }

    .container {
        max-width: 1100px;
    }

    .meme-combination {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .meme-item {
        padding: 1.75rem;
    }
}

/* Medium-Small Screens (1024px) */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        width: 450px;
        right: -20px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .about-content,
    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .meme-combination {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }

    .meme-item {
        padding: 1.5rem;
        min-height: 180px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .buy-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
    
    .tokenomics-details {
        max-height: none;
        overflow-y: visible;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

.highlight {
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Charts Section */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.chart-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--soft-sky);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--brick-orange);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.chart-header h3 {
    color: var(--text-primary);
}

.chart-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.chart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brick-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(224, 91, 38, 0.2);
    transition: all 0.3s ease;
}

.chart-link:hover {
    background: var(--plush-light-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 91, 38, 0.3);
}

/* Buy Section */
.buy {
    background: var(--bg-secondary);
}

.buy-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.buy-option {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.buy-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.option-icon {
    font-size: 2.5rem;
}

.option-header h3 {
    color: var(--accent-color);
}

.buy-option p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.option-features {
    list-style: none;
    margin-bottom: 2rem;
}

.option-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.option-features i {
    color: var(--success-color);
}

/* Community Section */
.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Community section background for better card contrast */
.community {
    background: var(--bg-secondary);
}

.community-card {
    background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.community-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Proof of Lock Section */
.proof-lock {
    background: var(--bg-tertiary);
}

/* Improve readability on dark background */
.proof-lock .section-title {
    color: var(--white);
}

.proof-lock .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.proof-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.proof-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.proof-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.proof-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.proof-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brick-orange) 0%, var(--plush-light-orange) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 91, 38, 0.3);
}

.proof-link:hover {
    background: linear-gradient(135deg, var(--plush-light-orange) 0%, var(--brick-orange) 100%);
    box-shadow: 0 6px 16px rgba(224, 91, 38, 0.4);
    transform: translateY(-2px);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Roadmap */
.roadmap {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
}

/* Фоновая картинка для роадмапы */
.roadmap-background {
    position: absolute;
    top: 50%;
    right: -15%;
    transform: translateY(-50%);
    width: 800px;
    height: auto;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
    filter: blur(1px) saturate(0.8);
    mix-blend-mode: multiply;
    transition: transform 0.1s ease-out;
}

/* Обеспечиваем правильный z-index для всех элементов в roadmap */
.roadmap .container {
    position: relative;
    z-index: 2;
}

.roadmap-content {
    position: relative;
    z-index: 3;
}

    .roadmap-item,
.roadmap-card {
    position: relative;
    z-index: 4;
}

/* Адаптация roadmap-background для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .roadmap-background {
        width: 600px;
        right: -18%;
        opacity: 0.7;
    }
}

/* Адаптация roadmap-background для мобильных устройств */
@media (max-width: 768px) {
    .roadmap-background {
        width: 400px;
        right: -20%;
        opacity: 0.6;
    }
}

.roadmap-lead p {
    max-width: 820px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 0.5rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--soft-sky), var(--brick-orange));
    transform: translateX(-50%);
}

.roadmap-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

/* Четные элементы (справа) */
.roadmap-item:nth-child(even) .roadmap-card {
    grid-column: 3 / 4;
    justify-self: start;
    max-width: 400px;
}

.roadmap-item:nth-child(even) .roadmap-dot {
    grid-column: 2 / 3;
    justify-self: center;
    align-self: center;
}

/* Нечетные элементы (слева) */
.roadmap-item:nth-child(odd) .roadmap-card {
    grid-column: 1 / 2;
    justify-self: end;
    max-width: 400px;
}

.roadmap-item:nth-child(odd) .roadmap-dot {
    grid-column: 2 / 3;
    justify-self: center;
    align-self: center;
}

.roadmap-dot {
    width: 16px;
    height: 16px;
    background: var(--brick-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(224, 91, 38, 0.15);
}

.roadmap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}

.roadmap-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.roadmap-card p {
    color: var(--text-secondary);
}

/* Small Screens (768px - 1024px) - Tablets */
@media (max-width: 1023px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-content {
        gap: 3rem;
        padding: 0 2rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 3rem;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .meme-combination {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .meme-item {
        padding: 1.25rem;
        min-height: 170px;
    }

    .meme-item .meme-logo {
        width: 60px;
        height: 60px;
    }

    .meme-item:hover .meme-logo {
        width: 75px;
        height: 75px;
    }

    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .buy-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Roadmap for tablets */
    .roadmap-timeline {
        padding: 1rem 0;
    }

    .roadmap-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Переход на односторонний макет для планшетов */
    .roadmap-item {
        grid-template-columns: 1fr auto !important;
        gap: 2rem;
        margin-bottom: 2rem;
        justify-items: start;
    }

    .roadmap-item .roadmap-card {
        grid-column: 1 / 2 !important;
        justify-self: start !important;
        max-width: 350px;
        padding: 1.25rem 1.5rem;
    }

    .roadmap-item .roadmap-dot {
        grid-column: 2 / 3 !important;
        justify-self: center !important;
        align-self: center !important;
        width: 14px;
        height: 14px;
    }
}

/* Mobile Landscape (568px - 768px) */
@media (max-width: 768px) and (min-width: 569px) and (orientation: landscape) {
    body {
        overflow-x: hidden;
    }

    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .meme-combination {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .meme-item {
        padding: 1rem;
        min-height: 140px;
    }

    .meme-item .meme-logo {
        width: 130px;
        height: 130px;
    }

    .meme-item:hover .meme-logo {
        width: 150px;
        height: 150px;
    }

    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .buy-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .community-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Mobile Portrait (568px) */
@media (max-width: 568px) {
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .meme-combination {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .meme-item {
        padding: 1.25rem;
        min-height: 160px;
    }

    .meme-item .meme-logo {
        width: 120px;
        height: 120px;
    }

    .meme-item:hover .meme-logo {
        width: 140px;
        height: 140px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .buy-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .community-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    /* Roadmap for mobile */
    .roadmap-timeline {
        padding: 1rem 0;
    }

    .roadmap-timeline::before {
        left: 8px;
        transform: none;
    }

    .roadmap-item {
        grid-template-columns: 16px 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .roadmap-item .roadmap-dot {
        grid-column: 1 / 2;
        width: 12px;
        height: 12px;
    }

    .roadmap-item .roadmap-card {
        grid-column: 2 / 3;
        padding: 1rem;
    }

    .roadmap-card h3 {
        font-size: 1rem;
    }

    .roadmap-card p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}



@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.language-btn {
    background: linear-gradient(135deg, var(--brick-orange) 0%, var(--plush-light-orange) 100%);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(224, 91, 38, 0.3);
}

.language-btn:hover {
    background: linear-gradient(135deg, var(--plush-light-orange) 0%, var(--brick-orange) 100%);
    box-shadow: 0 6px 16px rgba(224, 91, 38, 0.4);
    transform: translateY(-2px);
}

.current-lang {
    font-size: 1.2rem;
}

.language-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-btn:hover i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--soft-sky);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(224, 91, 38, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(224, 91, 38, 0.6), 0 0 60px rgba(244, 122, 57, 0.3);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes statCounter {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(224, 91, 38, 0.3);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 8px 25px rgba(224, 91, 38, 0.6);
        transform: translateY(-2px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(224, 91, 38, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(224, 91, 38, 0.6), 0 0 30px rgba(244, 122, 57, 0.4);
    }
}

/* RTL Support for Arabic and Persian */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-content,
html[dir="rtl"] .tokenomics-content {
    grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .meme-combination {
    grid-template-columns: repeat(3, 1fr);
}

html[dir="rtl"] .proof-grid {
    grid-template-columns: repeat(3, 1fr);
}

html[dir="rtl"] .footer-content {
    grid-template-columns: 1fr 1fr;
}

/* Custom Brick Cursor */
body {
    cursor: url('/static/imgs/brick.png'), auto;
}

button, a, .meme-item, .btn {
    cursor: url('/static/imgs/brick.png'), pointer;
}

input, textarea, select {
    cursor: url('/static/imgs/brick.png'), text;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--soft-sky);
    color: var(--dark-charcoal);
}

.lang-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:hover {
    background: var(--soft-sky);
    color: var(--brick-orange);
}

.lang-option.active {
    background: var(--brick-orange);
    color: white;
}

.flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
}

/* Responsive language selector */
/* Very Small Screens (320px - 480px) */
@media (max-width: 480px) and (min-width: 321px) {
    body {
        overflow-x: hidden;
    }

    .hero {
        min-height: 85vh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-content {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .meme-combination {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .meme-item {
        padding: 1rem;
        min-height: 140px;
    }

    .meme-item .meme-logo {
        width: 100px;
        height: 100px;
    }

    .meme-item:hover .meme-logo {
        width: 120px;
        height: 120px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .buy-options {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .community-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    /* Navigation improvements */
    .nav {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
    }

    .language-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .language-dropdown {
        min-width: 120px;
    }

    .lang-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Roadmap for very small screens */
    .roadmap-timeline {
        padding: 0.75rem 0;
    }

    .roadmap-timeline::before {
        left: 6px;
        transform: none;
    }

    .roadmap-item {
        grid-template-columns: 12px 1fr;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .roadmap-item .roadmap-dot {
        grid-column: 1 / 2;
        width: 10px;
        height: 10px;
    }

    .roadmap-item .roadmap-card {
        grid-column: 2 / 3;
        padding: 0.75rem;
    }

    .roadmap-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .roadmap-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Ultra Small Screens (320px and below) */
@media (max-width: 320px) {
    body {
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-buttons .btn {
        max-width: 220px;
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .meme-item {
        padding: 0.875rem;
        min-height: 130px;
    }

    .meme-item .meme-logo {
        width: 140px;
        height: 140px;
        opacity: 0.5;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }

    .meme-item:hover .meme-logo {
        width: 160px;
        height: 160px;
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }

    .footer-content {
        padding: 1.25rem 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .meme-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .brick-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .meme-item:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(224, 91, 38, 0.3);
    }

    .meme-item:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.98);
    }
}

/* Mobile Menu Styles */
.nav-links.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
}

.nav-links.mobile-menu .nav-link {
    padding: 0.75rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(224, 91, 38, 0.1);
    transition: all 0.3s ease;
}

.nav-links.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

.nav-links.mobile-menu .nav-link:hover {
    background: rgba(224, 91, 38, 0.05);
    color: var(--brick-orange);
}

.nav-links.mobile-menu .buy-btn {
    background: linear-gradient(135deg, #E05B26 0%, #F47A39 50%, #C6421A 100%);
    color: white;
    margin: 0.5rem 2rem;
    border-radius: 8px;
}

/* Touch-friendly enhancements */
.touch-device .btn,
.touch-device .meme-item,
.touch-device .language-btn,
.touch-device .nav-link {
    min-height: 44px;
    min-width: 44px;
}

.touch-device .meme-item:active,
.touch-device .btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Orientation changes */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 70vh;
        padding-top: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .hero {
        background: white !important;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .btn {
        border: 2px solid #000 !important;
        background: white !important;
        color: black !important;
    }

    .meme-item {
        border: 1px solid #000 !important;
        background: white !important;
        box-shadow: none !important;
    }

    .language-selector,
    .mobile-menu-btn {
        display: none !important;
    }

    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 140px;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-image {
        width: 400px;
        right: -30px;
    }
    
    .about-content,
    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .meme-combination {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .meme-item {
        padding: 1.25rem;
    }

    .meme-item .meme-logo {
        width: 100px;
        height: 100px;
    }

    .meme-item:hover .meme-logo {
        width: 120px;
        height: 120px;
    }

    .meme-item.result {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    /* Запрет горизонтальной прокрутки */
    body {
        overflow-x: hidden;
    }

    /* Навбар остается flex с правильным выравниванием */
    .nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1rem 1.5rem !important;
    }

    /* Скрываем навигационные ссылки */
    .nav-links {
        display: none !important;
    }

    /* Скрываем бургер-меню */
    .mobile-menu-btn {
        display: none !important;
    }

    /* Показываем только селектор языка */
    .language-selector {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 1000 !important;
    }

    /* ЗНАЧИТЕЛЬНО увеличиваем размеры логотипов в мобильной версии */
    .meme-item .meme-logo {
        width: 220px !important;
        height: 220px !important;
        opacity: 0.4 !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
        filter: blur(0.5px) !important;
    }

    .meme-item:hover .meme-logo {
        width: 240px !important;
        height: 240px !important;
        opacity: 0.6 !important;
        transform: translate(-50%, -50%) scale(1.05) !important;
        filter: blur(0) !important;
    }

    /* Убираем фоновые стили для текста - оставляем оригинальные цвета */
    .meme-item h4 {
        position: relative !important;
        z-index: 3 !important;
    }

    .meme-item p {
        position: relative !important;
        z-index: 3 !important;
    }

    .language-dropdown {
        position: fixed !important;
        top: 75px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        z-index: 9999 !important;
        max-width: 90vw !important;
        min-width: 220px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.95) 100%) !important;
        backdrop-filter: blur(20px) !important;
        border: 2px solid rgba(224, 91, 38, 0.4) !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        animation: dropdownFadeIn 0.3s ease !important;
    }

    .language-dropdown.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
        animation: mobileDropdownShow 0.3s ease !important;
    }

    @keyframes mobileDropdownShow {
        0% {
            opacity: 0;
            transform: translateX(-50%) translateY(-15px) scale(0.85);
            filter: blur(2px);
        }
        50% {
            opacity: 0.7;
            transform: translateX(-50%) translateY(-5px) scale(0.95);
            filter: blur(1px);
        }
        100% {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
            filter: blur(0);
        }
    }

    .lang-option {
        padding: 1.2rem 1.5rem !important;
        font-size: 1.1rem !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-bottom: 1px solid rgba(224, 91, 38, 0.2) !important;
        background: transparent !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        font-weight: 500 !important;
        color: var(--text-primary) !important;
        position: relative !important;
    }

    .lang-option:last-child {
        border-bottom: none !important;
    }

    .lang-option:hover {
        background: linear-gradient(135deg, rgba(224, 91, 38, 0.15) 0%, rgba(244, 122, 57, 0.1) 100%) !important;
        color: var(--brick-orange) !important;
        transform: translateX(5px) !important;
        border-left: 4px solid var(--brick-orange) !important;
        padding-left: 1.1rem !important;
    }

    .lang-option:active {
        transform: translateX(2px) !important;
        background: linear-gradient(135deg, rgba(224, 91, 38, 0.2) 0%, rgba(244, 122, 57, 0.15) 100%) !important;
    }

    .lang-option .flag {
        margin-right: 0.8rem !important;
        font-size: 1.4rem !important;
        transition: transform 0.3s ease !important;
    }

    .lang-option:hover .flag {
        transform: scale(1.1) !important;
    }

    .language-btn {
        background: linear-gradient(135deg, var(--brick-orange) 0%, var(--plush-light-orange) 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.8) !important;
        color: var(--white) !important;
        padding: 0.6rem 1.2rem !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        box-shadow: 0 4px 15px rgba(224, 91, 38, 0.4) !important;
        backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
    }

    .language-btn:hover {
        background: linear-gradient(135deg, var(--plush-light-orange) 0%, var(--brick-orange) 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(224, 91, 38, 0.6) !important;
        border-color: var(--white) !important;
    }

    .language-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(224, 91, 38, 0.4) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-image {
        width: 300px;
        right: -20px;
    }
    
    .buy-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .meme-combination {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .meme-item {
        padding: 1rem;
    }

    .meme-item .meme-logo {
        width: 180px !important;
        height: 180px !important;
        opacity: 0.6 !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 2 !important;
    }

    .meme-item:hover .meme-logo {
        width: 200px !important;
        height: 200px !important;
        opacity: 0.8 !important;
        transform: translate(-50%, -50%) scale(1.05) !important;
    }

    .meme-item .meme-icon {
        font-size: 3rem;
    }

    .meme-item.result {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .meme-item.result .meme-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .hero-image {
        width: 250px;
        right: -15px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}
