/* ========================================
   CUSTOM STYLES FOR LANISTA CASINO
   ======================================== */

/* ===== HEADER STYLES ===== */
.site-header__wrapper {
    padding: 0 20px;
}

.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    gap: 20px;
}

/* ===== LOGO STYLES ===== */
.site-header__logo {
    padding: 0;
}

.site-header__logo img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    width: 150px;
    height: auto;
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    object-fit: contain;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.language-selector__button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #725947;
    border: 2px solid #725947;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.language-selector__button:hover {
    background-color: #768728;
    border-color: #768728;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(118, 135, 40, 0.3);
}

.language-selector__button:active {
    transform: translateY(0);
}

.language-selector__flag {
    font-size: 20px;
    line-height: 1;
}

.language-selector__code {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.language-selector__arrow {
    width: 12px;
    height: 8px;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.language-selector.active .language-selector__arrow {
    transform: rotate(180deg);
}

.language-selector__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background-color: #fff;
    border: 2px solid #725947;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.language-selector.active .language-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-selector__option:last-child {
    border-bottom: none;
}

.language-selector__option:hover {
    background-color: #f9f9f9;
    color: #768728;
}

.language-selector__option--active {
    background-color: #f0f4e8;
    color: #768728;
    font-weight: 700;
}

.language-selector__option--active:hover {
    background-color: #e8f0d8;
}

.language-selector__text {
    font-size: 14px;
    font-weight: 500;
}

.game-hero__logo {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    width: 400px;
    height: auto;
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    object-fit: contain;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .site-header__top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .language-selector {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .language-selector__dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        min-width: 220px;
    }
    
    .language-selector.active .language-selector__dropdown {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .site-header__wrapper {
        padding: 0 15px;
    }
    
    .site-header__top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0 20px 0;
    }
    
    .site-header__logo {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        width: 100%;
    }
    
    .site-header__logo img {
        width: 140px;
        height: auto;
        display: block;
    }
    
    .language-selector {
        width: 100%;
        max-width: 280px;
    }
    
    .language-selector__button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .language-selector__dropdown {
        left: 0;
        right: 0;
        width: 100%;
        min-width: auto;
        transform: translateY(-10px);
    }
    
    .language-selector.active .language-selector__dropdown {
        transform: translateY(0);
    }
    
    .game-hero__logo {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .site-header__wrapper {
        padding: 0 10px;
    }
    
    .site-header__top {
        padding: 20px 0 15px 0;
        gap: 18px;
    }
    
    .site-header__logo {
        margin-top: 0;
        padding: 0;
    }
    
    .site-header__logo img {
        width: 120px;
        height: auto;
        display: block;
    }
    
    .language-selector {
        max-width: 100%;
    }
    
    .language-selector__button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .language-selector__flag {
        font-size: 18px;
    }
    
    .language-selector__code {
        font-size: 13px;
    }
    
    .language-selector__dropdown {
        border-radius: 6px;
    }
    
    .language-selector__option {
        padding: 10px 14px;
    }
    
    .language-selector__text {
        font-size: 13px;
    }
    
    .game-hero__logo {
        width: 250px;
        height: auto;
    }
}

/* ===== COLOR OVERRIDES ===== */

/* Header & Navigation */
.site-header {
    background-color: #725947 !important;
    padding: 0;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0;
    }
}

.site-header__menu.is-active {
    background-color: #725947 !important;
}

/* Links */
a {
    color: #768728 !important;
}

/* Hero Section */
.game-hero {
    border: 3px solid #768728 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.game-hero__bg {
    border: 2px solid #725947 !important;
    background-position: center calc(70% + 150px) !important;
    background-size: cover !important;
}

.game-hero__btn--primary {
    background: #768728 !important;
    border: 1px solid #768728 !important;
    color: #fff !important;
}

.game-hero__btn--primary:hover {
    background: #5a6a1f !important;
    border: 1px solid #5a6a1f !important;
}

/* Tabs */
.tab.active {
    color: #768728 !important;
    border-bottom: 3px solid #768728 !important;
}

.tab:hover {
    color: #768728 !important;
}

/* Casino Cards */
.casinos-cards__item {
    border: 2px solid #725947 !important;
}

.casinos-cards__item::before {
    background: #725947 !important;
}

.casinos-cards__image {
    background: #725947 !important;
}

.card-content .card-buttons__play {
    background-color: #768728 !important;
    border: 1px solid #768728 !important;
}

/* Slots */
.slots__item {
    border: 2px solid #725947 !important;
}

.slot-image-wrapper .play-button {
    background-color: #768728 !important;
}

.slot-image-wrapper .play-button::before {
    border-left: 18px solid #768728 !important;
}

.slot-game-btn {
    border: 1px solid #768728 !important;
    color: #768728 !important;
}

.slot-game-btn:hover {
    background-color: #768728 !important;
    border: 1px solid #768728 !important;
    color: #fff !important;
}

/* FAQ */
.faq-section .faq-item .faq-question {
    color: #768728 !important;
}

.faq-section .faq-item .faq-question .faq-icon svg {
    fill: #768728 !important;
}

/* Buttons */
.cta-buttons__item--register {
    background-color: #768728 !important;
    border: 1px solid #768728 !important;
}

/* Links */
.list-of-contents li a {
    color: #768728 !important;
}

.list-of-contents li a:hover {
    color: #5a6a1f !important;
}

/* Tables */
.site-table {
    background: #725947 !important;
    color: #fff !important;
}

.site-table th {
    background: #725947 !important;
}

/* Reviews */
.review-card {
    border: 1px solid #725947 !important;
}

/* Footer */
.site-footer {
    background-color: #725947 !important;
}

/* ===== STICKY BAR ===== */
.sticky-bar {
    background-color: #725947 !important;
}

.sticky-bar__button {
    background-color: #768728 !important;
    border: 1px solid #768728 !important;
    color: #fff !important;
}

.sticky-bar__button:hover {
    background-color: #5a6a1f !important;
    border: 1px solid #5a6a1f !important;
}

/* Desktop adjustment for sticky bar button alignment */
@media (min-width: 769px) {
    .sticky-bar__button {
        margin-right: 150px;
    }
    
    /* Alternative: use transform to adjust position */
    /* .sticky-bar__button {
        transform: translateX(-150px);
    } */
}

/* ===== SELECTION ===== */
::-moz-selection {
    background-color: #768728 !important;
    color: #fff !important;
}

::selection {
    background-color: #768728 !important;
    color: #fff !important;
}

/* ===== ADDITIONAL UTILITIES ===== */

/* Smooth transitions for better UX */
.site-header__logo img:hover,
.game-hero__logo:hover {
    transform: scale(1.05);
}

/* Focus states for accessibility */
.game-hero__btn--primary:focus,
.sticky-bar__button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Loading states */
.game-hero__btn--primary:active,
.sticky-bar__button:active {
    transform: scale(0.98);
}

/* Print styles */
@media print {
    .sticky-bar,
    .game-hero__btn--primary {
        display: none !important;
    }
}

/* ===== INFORMATION BLOCK ===== */
.alert.alert-info {
    background-color: #87CEEB !important;
    border: 2px solid #4682B4 !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.alert.alert-info p {
    margin: 0 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

    .alert.alert-info strong {
        color: #768728 !important;
        font-weight: 700 !important;
    }

    /* ===== VIP TABLE STYLES ===== */
    .vip-table-container {
        margin: 30px 0;
        overflow-x: auto;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .vip-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        font-size: 14px;
        line-height: 1.4;
    }

    .vip-table th {
        background: #725947 !important;
        color: #fff !important;
        padding: 15px 12px;
        text-align: center;
        font-weight: 700;
        font-size: 15px;
        border: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .vip-table td {
        padding: 12px 8px;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: middle;
    }

    .vip-table tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .vip-table tr:hover {
        background-color: #e9ecef;
        transition: background-color 0.3s ease;
    }

    .vip-table .cashback {
        background: #768728;
        color: #fff;
        padding: 4px 8px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 13px;
        display: inline-block;
        min-width: 40px;
    }

    .vip-table .yes {
        background: #28a745;
        color: #fff;
        padding: 4px 12px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 12px;
    }

    .vip-table .no {
        background: #6c757d;
        color: #fff;
        padding: 4px 12px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 12px;
    }

    .vip-table .vip-highlight {
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
        border-left: 4px solid #ffc107;
    }

    .vip-table .vip-premium {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        border-left: 4px solid #28a745;
    }

    .vip-table .vip-premium td:first-child {
        font-size: 16px;
        color: #155724;
    }

    /* ===== EXAMPLE BOX ===== */
    .example-box {
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
        border: 2px solid #ffc107;
        border-radius: 12px;
        padding: 20px 25px;
        margin: 25px 0;
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    }

    .example-box p {
        margin: 0 0 15px 0;
        color: #856404;
        font-size: 15px;
        line-height: 1.6;
    }

    .example-box p:first-child {
        font-size: 16px;
        font-weight: 700;
        color: #856404;
        margin-bottom: 15px;
    }

    .example-box ul {
        margin: 0;
        padding-left: 20px;
    }

    .example-box li {
        margin-bottom: 8px;
        color: #856404;
        font-size: 14px;
        line-height: 1.5;
    }

    .example-box strong {
        color: #768728 !important;
        font-weight: 700 !important;
    }

    /* ===== RESPONSIVE TABLE ===== */
    @media (max-width: 768px) {
        .vip-table {
            font-size: 12px;
        }

        .vip-table th,
        .vip-table td {
            padding: 8px 4px;
        }

        .vip-table .cashback,
        .vip-table .yes,
        .vip-table .no {
            font-size: 11px;
            padding: 3px 6px;
        }

        .example-box {
            padding: 15px 20px;
            margin: 20px 0;
        }

        .example-box p,
        .example-box li {
            font-size: 13px;
        }
    }

/* ===== CONTACT FORM ===== */
.contact-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-top: 60px;
    border-top: 2px solid #725947;
}

.contact-section h2 {
    color: #768728;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 2px solid #725947;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form__field {
    margin-bottom: 20px;
}

.contact-form__row .contact-form__field {
    margin-bottom: 0;
}

.contact-form__label {
    display: block;
    color: #768728;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-form__label .required {
    color: #dc3545;
    margin-left: 4px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #725947;
    border-radius: 8px;
    font-size: 16px;
    font-family: roboto-oh5, sans-serif;
    color: #000;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #768728;
    box-shadow: 0 0 0 3px rgba(118, 135, 40, 0.1);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: #666;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    text-align: center;
    margin-top: 30px;
}

.contact-form__button {
    background-color: #768728;
    border: 2px solid #768728;
    color: #fff;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form__button:hover {
    background-color: #5a6a1f;
    border-color: #5a6a1f;
    transform: scale(1.02);
}

.contact-form__button:active {
    transform: scale(0.98);
}

.contact-form__button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form__row .contact-form__field {
        margin-bottom: 20px;
    }

    .contact-form__button {
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 22px;
    }

    .contact-form {
        padding: 25px 15px;
    }
}
