/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

/* Main Container */
.main-container {
    background: white;
    border-radius: 0 0 12px 12px;
    width: 100%;
    max-width: 600px;
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: -1px;
}

/* Banner Section */
.banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    margin-bottom: 0;
}

.banner-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* Navigation Section */
.navigation {
    display: flex;
    position: relative;
    width: 100%;
    padding: 0 25px;
    margin-top: -25px;
    padding-top: 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 0 0;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-item:hover::before {
    background-color: #0E4EE3;
}

.nav-item:not(:last-child) {
    margin-right: 30px;
}

.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background-color: #EFEFEF;
}

.navigation::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background-color: #EFEFEF;
}

.nav-item:hover {
    opacity: 0.8;
}

.nav-item.active {
    /* No special styling for active */
}

.nav-icon {
    margin-bottom: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vip-icon {
    background-color: #f0f0f0;
}

.telegram-icon {
    background-color: #0088cc;
}

.home-icon {
    background-color: #0066cc;
}

.nav-text {
    text-align: left;
    width: 100%;
}

.nav-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.4;
    color: #000;
}

.nav-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #949494;
    font-weight: 500;
    margin-bottom: 18px;
}

/* Support Section */
.support-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 25px;
}

.support-heading {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.4;
}

.support-description {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4E4E4E;
    line-height: 1.5;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #f0f0f0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.contact-phone {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #0E4EE3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Partners Section */
.partners-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 25px;
}

.partners-heading {
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 70px;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Footer */
.footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 50px 25px 0 25px;
    border-top: 1px solid #e0e0e0;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.footer-logo img {
    height: 28px;
    width: auto;
}

.footer-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

.footer-certification {
    margin-top: 10px;
}

.footer-certification a {
    display: inline-block;
}

.footer-certification img {
    height: 50px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 650px) {
    body {
        padding: 10px;
    }
    
    .header {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .main-container {
        max-width: 100%;
        padding: 20px 0;
        gap: 20px;
    }
    
    .banner {
        max-width: 100%;
    }
    
    /* Navigation responsive */
    .navigation {
        padding: 0 15px;
        margin-top: -20px;
    }
    
    .nav-item {
        padding: 15px 0 0 0;
    }
    
    .nav-item:not(:last-child) {
        margin-right: 15px;
    }
    
    .nav-item:not(:last-child)::after {
        right: -7.5px;
    }
    
    .nav-title {
        font-size: 12px;
    }
    
    .nav-subtitle {
        font-size: 10px;
        margin-bottom: 15px;
    }
    
    .nav-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 8px;
    }
    
    /* Support section responsive */
    .support-section {
        padding: 0 15px;
    }
    
    .support-heading {
        font-size: 14px;
    }
    
    .support-description {
        font-size: 12px;
    }
    
    /* Contact cards responsive */
    .contact-cards {
        gap: 10px;
    }
    
    .contact-card {
        height: auto;
        min-height: 60px;
        padding: 12px 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-title {
        font-size: 14px;
    }
    
    .contact-phone {
        font-size: 14px;
    }
    
    /* Partners responsive */
    .partners-section {
        padding: 0 15px;
    }
    
    .partners-heading {
        font-size: 16px;
    }
    
    .partners-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .partner-logo {
        min-width: auto;
        padding: 10px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 15px 15px 0 15px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-text {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 5px;
    }
    
    .navigation {
        padding: 0 10px;
    }
    
    .nav-item:not(:last-child) {
        margin-right: 10px;
    }
    
    .nav-item:not(:last-child)::after {
        right: -5px;
    }
    
    .nav-title {
        font-size: 11px;
    }
    
    .nav-subtitle {
        font-size: 9px;
    }
    
    .support-section {
        padding: 0 10px;
    }
    
    .partners-section {
        padding: 0 10px;
    }
    
    .footer {
        padding: 15px 10px 0 10px;
    }
}
