/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.telegram-header-button {
    background-color: white;
    color: #0088cc;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.telegram-header-button:hover {
    background-color: #f8fafc;
}

/* Main content */
main {
    padding: 1.5rem 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Telegram banner */
.telegram-banner {
    background: linear-gradient(to right, #0088cc, #005f8e);
    color: white;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .telegram-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.telegram-banner-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.telegram-banner-content p {
    opacity: 0.9;
}

.telegram-button {
    background-color: white;
    color: #0088cc;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.telegram-button:hover {
    background-color: #f8fafc;
}

/* Mobile banner (bottom fixed) */
.mobile-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0088cc;
    padding: 0.75rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-banner-text {
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-banner-button {
    background-color: white;
    color: #0088cc;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-banner {
        display: flex;
    }

    main {
        padding-bottom: 4rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}