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

body {
    --c-glass: #5b9bd5;
    --c-light: #fff;
    --c-dark: #001833;
    --c-content: #1a2c3e;
    --c-action: #0066ff;
    --c-bg-start: #e6f3ff;
    --c-bg-end: #d4eaff;
    
    --glass-reflex-dark: 1;
    --glass-reflex-light: 1.2;
    --saturation: 150%;
    
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    background: linear-gradient(135deg, var(--c-bg-start), var(--c-bg-end));
    color: var(--c-content);
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-radius: 60px;
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 1px 2px 0px -1px rgba(255, 255, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

/* Поиск */
.search-wrapper {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 44px;
    border: none;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.search-wrapper::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.search-result-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:hover {
    background: rgba(0, 102, 255, 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
}

.header-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.header-icon:hover {
    background: var(--c-action);
    color: white;
    transform: translateY(-2px);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main */
.main {
    padding-top: 110px;
    min-height: calc(100vh - 300px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 1px 2px 0px -1px rgba(255, 255, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero h1 {
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #1a2c3e, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #334155;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--c-action);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--c-action);
    color: var(--c-action);
}

.btn-outline:hover {
    background: var(--c-action);
    color: white;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    font-size: 32px;
    color: var(--c-action);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.12);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-info {
    padding: 20px 24px 24px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--c-action);
    margin-bottom: 16px;
}

.product-price small {
    font-size: 13px;
    font-weight: 400;
    color: #556b82;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.event-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 28px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-action), #00ccff);
}

.event-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.15);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-action);
    margin-bottom: 16px;
}

.event-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-location {
    color: #556b82;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: var(--c-action);
    width: 18px;
}

.event-excerpt {
    color: #334155;
    line-height: 1.5;
    margin-bottom: 24px;
}

.event-link {
    color: var(--c-action);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.event-link:hover {
    gap: 12px;
}

/* Footer */
.footer {
    background: rgba(26, 44, 62, 0.95);
    backdrop-filter: blur(12px);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p, .footer-section ul {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--c-action);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: #66ccff;
    text-decoration: none;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1100;
    animation: slideInRight 0.3s ease;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Мобильная версия */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .section-title { font-size: 28px; }
    .section-title i { font-size: 28px; }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        border-radius: 28px;
        top: 10px;
        padding: 12px 20px;
        width: 95%;
    }
    
    .search-wrapper {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    .main {
        padding-top: 130px;
    }
    
    .hero {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .section-title i {
        font-size: 24px;
    }
    
    .products-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .product-card {
        border-radius: 24px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 16px 18px 18px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .product-actions .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .events-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .event-card {
        padding: 20px;
        border-radius: 24px;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-date {
        font-size: 12px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }
    
    .event-location {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .event-excerpt {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .event-link {
        font-size: 14px;
    }
    
    .footer-container {
        padding: 40px 20px 30px;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 8px;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .hero .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}