:root {
    --bg-color: #1e1e1e;
    --text-color: #d4d4d4;
    --accent-color: #e74c3c;
    --secondary-color: #333333;
    --hover-color: #464646;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.profile-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-icon:hover {
    transform: scale(1.1);
}

.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, #2a2a2a 0%, #1e1e1e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(231, 76, 60, 0.1)" stroke-width="1" x="10" y="10" width="80" height="80" rx="10" ry="10"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #e74c3c, #ff7f50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(90deg, #e74c3c, #ff7f50);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.products {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h3 {
    font-size: 36px;
    display: inline-block;
    background: linear-gradient(90deg, #e74c3c, #ff7f50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #ff7f50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    opacity: 0.8;
}

.glowing-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    pointer-events: none;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(231, 76, 60, 0.3) 0%, rgba(231, 76, 60, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .glowing-effect {
    opacity: 1;
}

/* Стили для подвала */
footer {
    background-color: #1a1a1a;
    padding: 2rem 0;
    margin-top: 4rem;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 100%;
}

.telegram-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #0088cc, #00a2ff);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.copyright p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column {
        min-width: 100%;
    }
}

/* Стиль для кнопки "Показать больше" */
.load-more-button {
    display: block;
    margin: 40px auto 20px;
    background: linear-gradient(90deg, #e74c3c, #ff7f50);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.load-more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-color);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Стили для информации о пользователе в модальном окне */
.auth-user-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.auth-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    font-weight: bold;
}

.auth-user-details h3 {
    margin-bottom: 5px;
}

.auth-user-details p {
    color: #888;
}

.auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Стили для форм авторизации */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.auth-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #888;
    position: relative;
}

.auth-tab.active {
    color: var(--accent-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ddd;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}

.form-error {
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 20px;
}

.alternative-login {
    margin-top: 20px;
    text-align: center;
    position: relative;
}

.alternative-login span {
    display: inline-block;
    padding: 0 10px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
    color: #888;
}

.alternative-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #333;
    z-index: 0;
}

.alternative-login button {
    margin-top: 15px;
}

.profile-icon-container {
    cursor: pointer;
} 