/* ========================================
   OMGOMG Market - Желто-Белый Дизайн
   ======================================== */

:root {
    /* Основные цвета */
    --omg-yellow: #FFD700;
    --omg-bright-yellow: #FFC107;
    --omg-dark-yellow: #FFA000;
    --omg-orange: #FF9800;
    --omg-white: #FFFFFF;
    --omg-light-gray: #F8F9FA;
    --omg-gray: #E0E0E0;
    --omg-dark-gray: #424242;
    --omg-black: #1A1A1A;

    /* Градиенты */
    --gradient-yellow: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    --gradient-shine: linear-gradient(135deg, #FFF176 0%, #FFD700 50%, #FFA000 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 160, 0, 0.05) 100%);

    /* Шрифты */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Тени */
    --shadow-sm: 0 2px 8px rgba(255, 215, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(255, 215, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(255, 215, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* ========================================
   Базовые стили
   ======================================== */

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

body {
    font-family: var(--font-main);
    background: var(--omg-white);
    background-image: var(--gradient-overlay);
    color: var(--omg-black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   Header / Навигация
   ======================================== */

.header {
    background: var(--omg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--omg-yellow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-text {
    color: var(--omg-dark-yellow);
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.logo-highlight {
    color: var(--omg-orange);
    text-shadow: 2px 2px 4px rgba(255, 152, 0, 0.3);
}

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

.nav-link {
    text-decoration: none;
    color: var(--omg-dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--omg-orange);
    background: var(--omg-light-gray);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--gradient-yellow);
    color: var(--omg-white);
    box-shadow: var(--shadow-sm);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--omg-dark-yellow);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
    min-height: calc(100vh - 400px);
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    background: var(--gradient-yellow);
    color: var(--omg-white);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

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

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--omg-white);
    color: var(--omg-dark-yellow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--omg-light-gray);
}

.btn-outline {
    background: transparent;
    color: var(--omg-white);
    border: 2px solid var(--omg-white);
}

.btn-outline:hover {
    background: var(--omg-white);
    color: var(--omg-dark-yellow);
    transform: translateY(-3px);
}

/* ========================================
   Секции контента
   ======================================== */

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--omg-dark-yellow);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-yellow);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--omg-dark-gray);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--omg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid var(--omg-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--omg-yellow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--omg-dark-yellow);
    margin-bottom: 0.8rem;
}

.feature-text {
    color: var(--omg-dark-gray);
    line-height: 1.7;
}

/* ========================================
   Onion Links Section
   ======================================== */

.onion-links-section {
    background: var(--gradient-yellow);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.onion-links-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--omg-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.onion-count-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.onion-link-item {
    background: var(--omg-white);
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.onion-link-text {
    font-family: 'Courier New', monospace;
    color: var(--omg-dark-gray);
    font-weight: 600;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.onion-link-button {
    background: var(--gradient-yellow);
    color: var(--omg-white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.onion-link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-shine);
}

/* ========================================
   Content Boxes
   ======================================== */

.content-box {
    background: var(--omg-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--omg-yellow);
    box-shadow: var(--shadow-sm);
}

.content-box h2 {
    color: var(--omg-dark-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-box h3 {
    color: var(--omg-orange);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-box p {
    color: var(--omg-dark-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
}

.content-box li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--omg-dark-gray);
}

.content-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--omg-dark-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   Alert Boxes
   ======================================== */

.alert {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid;
}

.alert-warning {
    background: #FFF3CD;
    border-color: #FFA000;
    color: #856404;
}

.alert-info {
    background: #E3F2FD;
    border-color: #2196F3;
    color: #014361;
}

.alert-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--omg-dark-gray);
    color: var(--omg-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--omg-yellow);
}

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

.footer-title {
    color: var(--omg-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--omg-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--omg-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--omg-yellow);
}

.footer-warning {
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--omg-dark-yellow);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--omg-gray);
    font-size: 0.9rem;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========================================
   Адаптивность (Mobile)
   ======================================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--omg-white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 0;
    }

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

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .onion-link-item {
        flex-direction: column;
        align-items: stretch;
    }

    .onion-link-button {
        text-align: center;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}
