:root {
    --primary-color: #00205B;
    --secondary-color: #E85A4F;
    --background-color: #ffffff;
    --text-color: #333333;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1000px !important;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #00205B 0%, #0047AB 50%, #4169E1 100%);
   /* padding: 15px 0; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__logo {
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.platform-list {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.platform-item {
    display: grid;
    grid-template-columns: 200px 1fr 150px auto;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.platform-item__logo {
    max-width: 180px;
    height: auto;
}

.platform-item__info {
    padding: 0 20px;
}

.platform-item__rating {
    color: #FFD700;
    font-size: 24px;
    margin-right: 20px;
}

.btn-register {
    background: linear-gradient(45deg, #E85A4F, #ff7366);
    color: white;
    padding: 12px 35px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(232, 90, 79, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 90, 79, 0.4);
    opacity: 1;
}

.btn-register:active {
    transform: translateY(1px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__content {
    padding: 20px;
    color: var(--text-color);
}

.news-card h3 {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    min-height: 75px;
}

.news-card a {
    color: inherit;
    display: block;
}

.news-card a:hover h3 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .platform-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .platform-item__logo {
        margin: 0 auto;
    }
    
    .news-card h3 {
        min-height: auto;
        font-size: 1.1rem;
    }
    
    .news-card__content {
        padding: 15px;
    }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 32, 91, 0.1);
}

.form-label {
    color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.platform-header {
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.certification-badges img {
    max-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s;
    filter: none;
}

.certification-badges img:hover {
    opacity: 1;
}

.warning-text {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

.news-card .badge {
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .platform-header {
        display: none !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-badges img {
        max-height: 40px;
        margin: 10px;
    }
}

.main-content {
   /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    padding: 40px 0;
    border-radius: 15px;
    margin: 30px auto;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer {
    background: linear-gradient(135deg, #00205B 0%, #0047AB 50%, #4169E1 100%);
    padding: 50px 0 30px;
    color: #ffffff;
    margin-top: 60px;
}

.footer__section {
    margin-bottom: 30px;
}

.footer__title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer__links {
    display: flex;
    flex-direction: column;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer__help-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.social-links .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 32, 91, 0.2);
}

.contact-form {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-social {
        text-align: center;
        margin-top: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
}

.content-block {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.content-block h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-block h3:first-child {
    margin-top: 0;
}

.content-block p {
    line-height: 1.6;
    color: #666;
}

.content-block ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-block ul li {
    margin-bottom: 10px;
    color: #666;
}

.responsible-gaming-tips {
    list-style: none;
    padding: 0;
}

.responsible-gaming-tips li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

.alert-warning h4 {
    color: #664d03;
}

@media (max-width: 768px) {
    .content-block {
        padding: 20px !important;
    }
}

/* Стили для поиска */
.search-form {
    position: relative;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 40px 8px 15px;
    color: white;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    width: 250px;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 200px;
    }
}

/* Обновляем стили для кнопки авторизации */
.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Стили для мобильной версии */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        padding: 20px 0;
    }

    .search-form {
        display: none !important;
    }

    .vr {
        display: none;
    }

    .btn-outline-light {
        margin: 10px auto;
        min-width: 200px;
    }
}

/* Стили для модального окна */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3875 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 25px;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 32, 91, 0.1);
    border-color: var(--primary-color);
}

/* Добавляем стили для уведомлений */
.modal {
    background: rgba(0, 0, 0, 0.5);
}

.modal-backdrop {
    display: none;
}

#notificationModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#notificationModal .modal-header {
    border: none;
    padding-bottom: 0;
}

#notificationModal .modal-footer {
    border: none;
    padding-top: 0;
}

#notificationModal .fa-check-circle {
    color: #28a745;
    animation: scaleIn 0.3s ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Обновляем стили для cookie-баннера */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 32, 91, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block !important;
}

.cookie-banner__content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__text h5 {
    margin-bottom: 0.5rem;
}

.cookie-banner__text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-setting-item {
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner__buttons {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    
    .cookie-banner__buttons .btn {
        flex: 1;
    }
}

/* Стили для модального окна подтверждения возраста */
#ageVerificationModal .modal-content {
    border: none;
    border-radius: 15px;
}

#ageVerificationModal .modal-header {
    border: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#ageVerificationModal .modal-body {
    padding: 1.5rem;
}

#ageVerificationModal .age-verification-icon {
    font-size: 48px;
    color: #ffc107;
}

#ageVerificationModal .btn {
    min-width: 120px;
    font-weight: 500;
}

/* Добавляем стили для состояния загрузки */
.btn-outline-light.loading {
    position: relative;
    color: transparent !important;
}

.btn-outline-light.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Стили для статьи */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-text p {
    margin-bottom: 1.5rem;
}

/* Стили для предупреждения о рисках */
.risk-warning {
    background: linear-gradient(135deg, #ff6b6b 0%, #cc0000 100%);
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.risk-warning__content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.risk-warning__icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.risk-warning__text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.risk-warning__text strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .risk-warning__content {
        flex-direction: column;
        text-align: center;
    }
    
    .risk-warning__icon {
        margin-bottom: 15px;
    }
} 