/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1f2d 0%, #0d1019 100%);
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Стили для header */
header {
    background: #2980b9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 10px 0;
    border-bottom: 2px solid #3498db;
}

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

.logo {
	display: block;
    width: 64px;
}
.logo img {
	display: block;
	width: 100%;
	height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 3px;
}

nav ul li a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 25px;
    background-color: #3498db;
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Стили для контента */
.content {
    padding: 40px 0;
    margin: 20px auto;
    border-radius: 10px;
    background: rgba(30, 35, 48, 0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #3498db;
}

.content-wrapper {
    padding: 0 20px;
}

/* Стили для текстового контента */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    color: #3498db;
}

h1 {
    font-size: 2.2em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 25px;
    text-align: center;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
}

h3 {
    font-size: 1.5em;
    color: #2ecc71;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul, ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

li {
    margin-bottom: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(25, 30, 42, 0.7);
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    border: 1px solid #3498db;
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(52, 152, 219, 0.2);
    font-weight: bold;
    color: #3498db;
}

tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.1);
}
.text img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 24px;
}

/* Стили для кнопки играть */
.play-button-container {
    text-align: center;
    margin: 30px 0;
}

.play-button {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    background: linear-gradient(to right, #27ae60, #219653);
}

.play-button:active {
    transform: translateY(1px);
}

/* Стили для FAQ */
.faq {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #3498db;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(25, 30, 42, 0.7);
}

.faq-question {
    padding: 15px;
    background: rgba(52, 152, 219, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s;
}
.faq-question h3 {
	margin-bottom: 0;
	font-size: 1rem;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.3);
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.active {
    padding: 15px;
    max-height: 300px;
}

/* Стили для footer */
footer {
    background: linear-gradient(to right, #2c3e50 0%, #1a2530 100%);
    color: #e0e0e0;
    padding: 30px 0 15px;
    border-top: 2px solid #3498db;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.footer-logo {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 5px;
}
.footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}
.footer-info {
	width: calc(100% - 104px);
}
.footer-nav ul {
    display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	margin-bottom: 20px;
    list-style: none;
}

.footer-nav ul li {
    margin-left: 15px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.copyright {
    width: 100%;
	max-width: 600px;
	margin-left: auto;
    text-align: right;
    font-size: 0.8em;
    color: #95a5a6;
}

/* Адаптивность */
@media (max-width: 750px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #2c3e50;
        box-shadow: 0 5px 5px rgba(0,0,0,0.3);
        z-index: 100;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #3498db;
    }
    
    .burger {
        display: flex;
    }


	h1 {
		font-size: 2rem;
		line-height: 1.2;
	}
	h2 {
		font-size: 1.6em;
	}


	.block-table {
		width: 100%;
		overflow: hidden;
		overflow-x: visible;
		margin-bottom: 25px;
	}
	.block-table table {
		min-width: 700px;
		margin-bottom: 5px;
	}

    
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-nav ul li:first-child {
        margin-left: 0;
    }
    
    .providers {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
}