/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Контейнер */
.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Меню гамбургер */
.toggle-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-menu span {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
}

#menu-toggle {
    display: none;
}

.nav-button-container {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.nav-button {
    width: 100%;
    height: 3px;
    background-color: #ffd700;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-button::before,
.nav-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ffd700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-button::before {
    top: -8px;
}

.nav-button::after {
    bottom: -8px;
}

#menu-toggle:checked + .nav-button-container .nav-button {
    background-color: transparent;
}

#menu-toggle:checked + .nav-button-container .nav-button::before {
    transform: rotate(45deg);
    top: 0;
}

#menu-toggle:checked + .nav-button-container .nav-button::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.hamburger-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: #0f0f23;
    list-style: none;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#menu-toggle:checked ~ .hamburger-menu {
    display: block;
}

.hamburger-menu li {
    padding: 10px 0;
}

.hamburger-menu a {
    color: #ffffff;
    font-weight: 500;
}

.hamburger-menu a:hover {
    color: #ffd700;
}

/* Кнопки входа/регистрации */
.header_auth-links {
    display: flex;
    gap: 15px;
}

.header_auth-links a {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0f0f23;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header_auth-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Баннер */
.banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner_img {
    width: 100%;
    height: 100%;
    background-image: url('/photo.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Затемнение для лучшей читаемости текста */
.banner_img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.promo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.promo_wrap {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px 60px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.text_top {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.text_middle {
    font-size: 48px;
    font-weight: 900;
    color: #ffd700;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text_bottom {
    font-size: 20px;
    font-weight: 400;
}

/* Зеркало */
.zerkalo-wrapper {
    max-width: 800px;
    margin: 30px auto;
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.top-part {
    background: #0f3460;
    border-radius: 10px 10px 0 0;
    padding: 15px;
    margin-bottom: 20px;
}

.circle-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.circle:nth-child(1) {
    background-color: #ff5f56;
}

.circle:nth-child(2) {
    background-color: #ffbd2e;
}

.circle:nth-child(3) {
    background-color: #27c93f;
}

.url-bar {
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 20px;
}

.url-bar span {
    color: #333;
    font-family: monospace;
}

.bottom-part {
    text-align: center;
    padding: 20px;
}

.bottom-part p {
    margin: 15px 0;
    font-size: 18px;
}

.bottom-part .link {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0f0f23;
    font-weight: 700;
    font-size: 18px;
    border-radius: 30px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.bottom-part .link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btns a {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-casino-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-casino-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.btn-casino-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.btns a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Основной контент */
main {
    padding: 40px 0;
}

main .container-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

/* Боковая панель */
aside {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
}

.main_table h1 {
    font-size: 32px;
    color: #ffd700;
    margin-bottom: 20px;
}

.main_table p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.main_table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.main_table table td {
    padding: 12px;
    border-bottom: 1px solid #0f3460;
}

.main_table table tr td:first-child {
    font-weight: 600;
    color: #ffd700;
}

/* Контент статьи */
.content {
    background: #16213e;
    border-radius: 15px;
    padding: 40px;
}

.content section {
    margin-bottom: 40px;
}

.content h2 {
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

.content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content ol {
    margin-left: 25px;
    margin-top: 15px;
}

.content ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Футер */
footer {
    background: #0f0f23;
    padding: 40px 0 20px;
    margin-top: 50px;
    text-align: center;
}

footer p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

footer ul li a {
    color: #ffffff;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #ffd700;
}

footer small {
    display: block;
    margin-top: 20px;
    color: #888;
}

/* Адаптивность */
@media (max-width: 968px) {
    main .container-grid {
        grid-template-columns: 1fr;
    }
    
    .header_auth-links {
        display: none;
    }
    
    .text_middle {
        font-size: 36px;
    }
    
    .btns {
        flex-direction: column;
    }
    
    .banner {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .promo_wrap {
        padding: 30px 40px;
    }
    
    .text_middle {
        font-size: 28px;
    }
    
    .content {
        padding: 20px;
    }
    
    footer ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner {
        height: 250px;
    }
}
