/* ========================================
   CUSTOM STYLES FOR BETIFY CASINO
   ======================================== */

/* ========================================
   1. LAYOUT & STRUCTURE
   ======================================== */

/* ========================================
   2. HEADER & NAVIGATION
   ======================================== */
.site-header {
    background-color: #000 !important;
}

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

.site-header__logo img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    width: 200px;
    height: 51px;
    background-color: #000 !important;
    padding: 5px;
    border-radius: 4px;
}

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

/* ========================================
   3. HERO SECTION
   ======================================== */
.game-hero {
    border: 3px solid #1ed760 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

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

.game-hero__logo {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    width: 400px;
    height: 101px;
    background-color: #000 !important;
    padding: 10px;
    border-radius: 8px;
}

.game-hero__logo:hover {
    transform: scale(1.05);
}

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

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

.game-hero__btn--primary:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.game-hero__btn--primary:active {
    transform: scale(0.98);
}

/* ========================================
   4. CONTENT SECTIONS
   ======================================== */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.list-of-contents li a {
    color: #000 !important;
}

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

/* ========================================
   5. TABLES
   ======================================== */

/* Site Table (General) */
.site-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-table thead {
    background: #000 !important;
}

.site-table th {
    background: #000 !important;
    color: #fff !important;
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.site-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #000 !important;
    background: #fff !important;
}

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

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

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

/* VIP Table */
.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: #000 !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: #1ed760;
    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;
}

/* ========================================
   6. COMPONENTS
   ======================================== */

/* Alert Box */
.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: #000 !important;
    font-weight: 700 !important;
}

/* 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,
.example-box ol {
    margin: 0;
    padding-left: 20px;
}

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

.example-box ol li {
    margin-bottom: 10px;
}

.example-box a {
    color: #856404;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.example-box a:hover {
    color: #000;
    text-decoration: underline;
}

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

/* Intro Summary Box */
.intro-summary {
    font-size: 18px;
    line-height: 1.8;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #1ed760;
    border-radius: 8px;
}

.intro-summary strong {
    color: #000;
    font-weight: 700;
}

/* ========================================
   7. BUTTONS & CTAs
   ======================================== */
.cta-buttons__item--register {
    background-color: #000 !important;
    border: 1px solid #000 !important;
}

.sticky-bar {
    background-color: #747474 !important;
}

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

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

.sticky-bar__button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sticky-bar__button:active {
    transform: scale(0.98);
}

/* Desktop adjustment for sticky bar button alignment */
@media (min-width: 769px) {
    .sticky-bar__button {
        margin-right: 150px;
    }
}

/* ========================================
   8. FORMS
   ======================================== */
.contact-section {
    background-color: #f1f3fa;
    padding: 60px 0;
    margin-top: 40px;
}

.contact-section h2 {
    color: #000;
    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 #000;
    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: #000;
    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 #000;
    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: #1ed760;
    box-shadow: 0 0 0 3px rgba(30, 215, 96, 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: #1ed760;
    border: 2px solid #1ed760;
    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: #18b850;
    border-color: #18b850;
    transform: scale(1.02);
}

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

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

/* ========================================
   9. FOOTER
   ======================================== */
.site-footer {
    background-color: #000 !important;
    color: #fff !important;
    padding: 40px 0 20px !important;
}

.site-footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__company,
.site-footer__responsible-gaming,
.site-footer__help-resources {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__company:last-child,
.site-footer__responsible-gaming:last-child,
.site-footer__help-resources:last-child {
    border-bottom: none;
}

.site-footer__company p,
.site-footer__responsible-gaming p,
.site-footer__help-resources p {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.site-footer__company p:first-child,
.site-footer__responsible-gaming p:first-child,
.site-footer__help-resources p:first-child {
    font-size: 18px;
    font-weight: 700;
    color: #1ed760 !important;
    margin-bottom: 15px;
}

.site-footer__company ul,
.site-footer__responsible-gaming ul,
.site-footer__help-resources ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style-type: disc;
}

.site-footer__company li,
.site-footer__responsible-gaming li,
.site-footer__help-resources li {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.site-footer__company a,
.site-footer__responsible-gaming a,
.site-footer__help-resources a {
    color: #1ed760 !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.site-footer__company a:hover,
.site-footer__responsible-gaming a:hover,
.site-footer__help-resources a:hover {
    color: #18b850 !important;
}

.site-footer__copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   10. UTILITIES
   ======================================== */

/* Selection */
::-moz-selection {
    background-color: #000 !important;
    color: #fff !important;
}

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

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

/* ========================================
   9. CONTENT IMAGES
   ======================================== */
.content-image {
    margin: 40px 0;
    text-align: center;
    max-width: 100%;
}

.content-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.content-image figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .content-image {
        margin: 30px 0;
    }

    .content-image img {
        border-radius: 8px;
        border-width: 1px;
    }

    .content-image figcaption {
        font-size: 13px;
        margin-top: 10px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .content-image {
        margin: 25px 0;
    }

    .content-image figcaption {
        font-size: 12px;
    }
}

/* ========================================
   10. FAQ ACCORDION
   ======================================== */
.faq-accordion {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #000;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
    font-weight: 700;
    color: #000;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.4;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question:focus {
    outline: 2px solid #1ed760;
    outline-offset: -2px;
}

.faq-question[aria-expanded="true"] {
    background: #000;
    color: #fff;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: #1ed760;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 25px;
    line-height: 1.5;
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: #000;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    min-width: 28px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    color: #1ed760;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    background: #fff;
    opacity: 0;
    padding: 0 28px;
}

.faq-answer[aria-hidden="false"] {
    max-height: 2000px;
    padding: 0 28px 28px 28px;
    opacity: 1;
    overflow: visible;
}

.faq-answer p {
    margin: 0;
    padding-top: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.faq-answer strong {
    color: #000;
    font-weight: 700;
    font-size: 17px;
}

/* ========================================
   11. RESPONSIVE STYLES
   ======================================== */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Header & Logo */
    .site-header__logo img {
        width: 180px;
        height: 46px;
    }
    
    .game-hero__logo {
        width: 300px;
        height: 76px;
    }

    /* Footer */
    .site-footer {
        padding: 30px 0 15px !important;
    }
    
    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    
    .site-footer__company,
    .site-footer__responsible-gaming,
    .site-footer__help-resources {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .site-footer__company p:first-child,
    .site-footer__responsible-gaming p:first-child,
    .site-footer__help-resources p:first-child {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .site-footer__company p,
    .site-footer__responsible-gaming p,
    .site-footer__help-resources p {
        font-size: 13px;
    }
    
    .site-footer__company li,
    .site-footer__responsible-gaming li,
    .site-footer__help-resources li {
        font-size: 13px;
    }
    
    .site-footer__copyright {
        font-size: 12px;
    }

    /* Tables */
    .site-table {
        font-size: 12px;
    }
    
    .site-table th,
    .site-table td {
        padding: 8px 10px;
    }
    
    .site-table th {
        font-size: 12px;
    }

    .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;
    }

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

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

    .intro-summary {
        font-size: 16px;
        padding: 15px;
        margin: 20px 0;
    }

    /* Forms */
    .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;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Header & Logo */
    .site-header__logo img {
        width: 150px;
        height: 38px;
    }
    
    .game-hero__logo {
        width: 250px;
        height: 63px;
    }

    /* Footer */
    .site-footer__company p:first-child,
    .site-footer__responsible-gaming p:first-child,
    .site-footer__help-resources p:first-child {
        font-size: 15px;
    }
    
    .site-footer__company p,
    .site-footer__responsible-gaming p,
    .site-footer__help-resources p {
        font-size: 12px;
    }
    
    .site-footer__company li,
    .site-footer__responsible-gaming li,
    .site-footer__help-resources li {
        font-size: 12px;
    }

    /* Components */
    .intro-summary {
        font-size: 15px;
        padding: 12px;
    }

    /* Forms */
    .contact-section h2 {
        font-size: 22px;
    }

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

    /* FAQ Accordion */
    .faq-accordion {
        padding: 0 15px;
        margin: 30px auto;
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 20px 22px;
        font-size: 17px;
        line-height: 1.5;
    }

    .faq-question span:first-child {
        padding-right: 20px;
    }

    .faq-icon {
        font-size: 24px;
        min-width: 24px;
    }

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

    .faq-answer[aria-hidden="false"] {
        padding: 0 22px 22px 22px;
        opacity: 1;
        overflow: visible;
    }

    .faq-answer p {
        font-size: 16px;
        line-height: 1.75;
        padding-top: 18px;
    }

    .faq-answer strong {
        font-size: 16px;
    }
}
