/* Bahsegel Casino - Стили */

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header стили */
header {
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 100%);
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ffa500;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Навигация */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    text-transform: uppercase;
}

nav a:hover {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
}

/* Кнопки в хедере */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffa500;
    color: #ffa500;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #ffffff;
    border: 2px solid #ffa500;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.btn-register:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff7700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
}

/* Основной контент */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Баннер */
.banner-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.banner-container:hover {
    transform: scale(1.02);
}

.banner-container a {
    display: block;
    width: 100%;
}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Статья */
article {
    background: rgba(26, 35, 56, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: #ffa500;
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

h2 {
    color: #ffa500;
    font-size: 1.9em;
    margin-top: 35px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
}

h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

h4 {
    color: #ffa500;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 18px;
    font-size: 1.05em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

li::marker {
    color: #ffa500;
}

/* CTA кнопки */
.cta-wrapper {
    text-align: center;
    margin: 40px 0;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.4);
    border: 2px solid #ffa500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff7700 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 165, 0, 0.6);
}

/* Таблица платежей */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.payment-table thead {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
}

.payment-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.payment-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.payment-table tbody tr:last-child td {
    border-bottom: none;
}

.payment-table tbody tr {
    transition: background 0.3s ease;
}

.payment-table tbody tr:hover {
    background: rgba(255, 165, 0, 0.1);
}

/* FAQ секция */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 165, 0, 0.5);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1em;
    color: #ffa500;
    position: relative;
    padding-right: 50px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 165, 0, 0.1);
}

.faq-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ffa500;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question .faq-arrow {
    transform: translateY(-50%) rotate(180deg);
}

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

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Footer стили */
footer {
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 20px 20px 20px;
    margin-top: 60px;
    border-top: 3px solid #ffa500;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffa500;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffa500;
    padding-left: 5px;
}

.footer-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.footer-info h4 {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-info p {
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.support-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.support-links div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.org-name {
    font-weight: 700;
    color: #ffa500;
    min-width: 180px;
}

.support-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-links a:hover {
    color: #ffa500;
}

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

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .header-container {
        padding: 0 15px;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 14px;
        padding: 6px 10px;
    }

    article {
        padding: 30px 25px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo img {
        height: 40px;
    }

    nav {
        order: 3;
        width: 100%;
    }

    nav ul {
        justify-content: center;
        gap: 10px;
    }

    nav a {
        font-size: 12px;
        padding: 5px 8px;
    }

    .header-right {
        order: 2;
        gap: 8px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    main {
        padding: 20px 15px;
    }

    .banner-container {
        margin-bottom: 25px;
        border-radius: 10px;
    }

    article {
        padding: 25px 20px;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.7em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.4em;
        margin-top: 25px;
    }

    h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 1em;
    }

    ul {
        padding-left: 20px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }

    .faq-question {
        padding: 15px 20px;
        padding-right: 45px;
        font-size: 1em;
    }

    .faq-arrow {
        right: 20px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #ffa500;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-toggle:checked ~ .faq-answer {
        padding: 0 20px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-info {
        padding: 20px;
    }

    .support-links div {
        flex-direction: column;
        align-items: flex-start;
    }

    .org-name {
        min-width: auto;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    nav ul {
        gap: 8px;
    }

    nav a {
        font-size: 11px;
        padding: 4px 6px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 11px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1.1em;
    }

    article {
        padding: 20px 15px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .payment-table {
        font-size: 0.85em;
    }

    .payment-table th,
    .payment-table td {
        padding: 10px 8px;
    }

    .payment-table th {
        font-size: 0.8em;
    }
}

/* Очень маленькие экраны - стек таблицы */
@media (max-width: 600px) {
    .payment-table thead {
        display: none;
    }

    .payment-table,
    .payment-table tbody,
    .payment-table tr,
    .payment-table td {
        display: block;
        width: 100%;
    }

    .payment-table tr {
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        overflow: hidden;
    }

    .payment-table td {
        text-align: right;
        padding: 12px 15px;
        position: relative;
        border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    }

    .payment-table td:last-child {
        border-bottom: none;
    }

    .payment-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: 700;
        color: #ffa500;
        text-transform: uppercase;
        font-size: 0.85em;
    }
}