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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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


/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #4a90e2;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-item {
    background-color: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-item:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}


.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.site-item {
    background-color: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.site-item:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* SberPrime Section */
.sberprime-section {
    padding: 60px 0;
    background-color: white;
}

.sberprime-card {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 28px;
    font-weight: 700;
}

.rating {
    background-color: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 18px;
}

.card-content {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card-content p {
    font-size: 18px;
    font-weight: 500;
}

.details-btn,
.hide-btn {
    background-color: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.details-btn:hover,
.hide-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

.card-description {
    background-color: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    line-height: 1.8;
}

.card-description p {
    margin-bottom: 15px;
}

/* Promocodes Section */
.promocodes-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.promocodes-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.promocodes-section h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-weight: 400;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    background-color: white;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: #4a90e2;
    color: #4a90e2;
}

.tab.active {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

.promocodes-list {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
}

.promocode-card {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.promocode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.promocode-offer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.promocode-offer h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.promocode-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.promocode-type {
    background-color: #4a90e2;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.promocode-date {
    color: #666;
    font-size: 14px;
}

.open-discount-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.open-discount-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}


/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background-color: white;
}

.reviews-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.reviews-section > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.review-form h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.review-form textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 15px;
}

.review-form button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.review-form button:hover {
    background-color: #357abd;
}

/* Store Info Section */
.store-info-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.store-info-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-content h4 {
    font-size: 22px;
    margin: 30px 0 15px 0;
    color: #2c3e50;
}

.info-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.info-content ul,
.info-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.info-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

.footer-info p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-legal {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.footer-legal a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto 15px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .categories {
        flex-direction: column;
        align-items: center;
    }
    
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .featured-sites {
        flex-direction: column;
        align-items: center;
    }
    
    .card-content {
        flex-direction: column;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .promocode-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .modal-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .sites-grid {
        grid-template-columns: 1fr;
    }
    
    .info-content {
        padding: 20px;
    }
}
