/*------------------------------------------------------------------
    10DEPOSITCASINO.CO.NZ — Responsive Breakpoints (Cal.com-inspired)
-------------------------------------------------------------------*/

/* Tablet landscape / small desktop */
@media (min-width: 992px) and (max-width: 1180px) {
    .site-footer h3 {
        font-size: 0.8125rem;
    }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991px) {
    .top-navbar .navbar-brand {
        margin-left: 15px;
    }

    .navbar-dark .navbar-toggler {
        margin-right: 15px;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        box-shadow: none;
    }

    .hero-section {
        padding: 64px 0 48px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .top-navbar .navbar-brand {
        margin-left: 15px;
    }

    .top-navbar .navbar-brand img {
        max-width: 30px;
    }

    .navbar-dark .navbar-toggler {
        margin-right: 15px;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        box-shadow: none;
    }

    .hero-section {
        padding: 48px 0 40px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .lead-text {
        font-size: 1rem;
    }

    .hero-dark {
        padding: 48px 0 40px;
    }

    .hero-dark h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    /* Casino table to mobile cards */
    .casino-comparison-table .overflow-x-auto {
        overflow-x: visible;
    }

    .casino-comparison-table table,
    .casino-comparison-table table.table-bordered {
        min-width: 0;
        box-shadow: none;
        border: none !important;
        background: transparent;
    }

    .casino-comparison-table table,
    .casino-comparison-table thead,
    .casino-comparison-table tbody,
    .casino-comparison-table th,
    .casino-comparison-table td,
    .casino-comparison-table tr {
        display: block;
    }

    .casino-comparison-table thead {
        display: none;
    }

    .casino-comparison-table tbody tr {
        background: #ffffff;
        border-radius: 12px;
        border: none !important;
        margin-bottom: 16px;
        padding: 0;
        overflow: hidden;
        position: relative;
        box-shadow: rgba(19, 19, 22, 0.7) 0px 1px 5px -4px,
                    rgba(34, 42, 53, 0.08) 0px 0px 0px 1px,
                    rgba(34, 42, 53, 0.05) 0px 4px 8px;
    }

    .casino-comparison-table tbody tr:nth-child(even) {
        background: #ffffff;
    }

    /* Nuke Bootstrap borders */
    .casino-comparison-table tbody td,
    .casino-comparison-table .table-bordered td,
    .casino-comparison-table .table-bordered th {
        border: none !important;
        text-align: center;
    }

    /* Name: quiet identifier */
    .casino-comparison-table tbody td.casino-name {
        font-family: 'Inter', sans-serif;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #898989;
        padding: 22px 24px 0;
    }

    /* Tag: earned credibility */
    .casino-comparison-table tbody td.best-for {
        font-family: 'Inter', sans-serif;
        font-size: 0.75rem;
        font-style: italic;
        font-weight: 400;
        color: #898989;
        padding: 3px 24px 18px;
        letter-spacing: 0;
    }

    /* Bonus: the main draw */
    .casino-comparison-table tbody td:nth-child(3) {
        font-family: 'Inter', sans-serif;
        color: #242424;
        padding: 0 24px 6px;
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    /* Code: prominent bonus code cell */
    .casino-comparison-table tbody td:nth-child(4) {
        font-size: 0.7rem;
        color: #898989;
        padding: 8px 24px 20px;
        letter-spacing: 0.02em;
    }

    .casino-comparison-table tbody td:nth-child(4) .code-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
    }

    .casino-comparison-table tbody td:nth-child(4) code {
        font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
        font-size: 0.8rem;
        font-weight: 700;
        color: #242424;
        background: #f5f5f5;
        border: 1px solid rgba(34, 42, 53, 0.15);
        padding: 5px 12px;
        border-radius: 6px;
        letter-spacing: 0.1em;
    }

    .casino-comparison-table .copy-code-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #fff;
        background: #242424;
        border: none;
        border-radius: 6px;
        padding: 5px 10px;
        cursor: pointer;
        white-space: nowrap;
        transition: opacity 0.15s;
    }

    .casino-comparison-table .copy-code-btn:active,
    .casino-comparison-table .copy-code-btn.copied {
        background: #16a34a;
    }

    /* CTA button */
    .casino-comparison-table tbody td:last-child {
        padding: 0 20px 20px !important;
    }

    .casino-comparison-table tbody td:last-child .btn-visit {
        display: block;
        text-align: center;
        width: 100%;
        padding: 13px;
        font-family: 'Inter', sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border-radius: 8px;
        background: #242424;
        border: none;
        color: #fff;
        transition: opacity 0.12s ease;
    }

    .casino-comparison-table tbody td:last-child .btn-visit:active {
        opacity: 0.7;
    }

    /* Cards */
    .casino-card {
        padding: 20px;
    }

    /* FAQ */
    .faq-item {
        padding: 18px 20px;
    }

    /* Footer */
    .site-footer .col-lg-3 {
        margin-bottom: 30px;
    }

    /* Contact form */
    .contact-form {
        padding: 25px;
    }

    /* Team cards */
    .team-card {
        padding: 30px 20px;
    }

    .top-navbar .navbar-dark .navbar-nav .nav-item {
        margin-left: 0;
    }

    .top-navbar .navbar-dark .navbar-nav .nav-link {
        padding: 12px 15px;
        font-size: 16px;
        border-bottom: 1px solid rgba(34, 42, 53, 0.06);
    }

    .content-section,
    .content-section-alt {
        padding: 48px 0;
    }

    .casino-review-cards,
    .faq-section {
        padding: 48px 0;
    }

    .related-guides,
    .trust-section,
    .responsible-section {
        padding: 48px 0;
    }

    .site-footer {
        padding: 48px 0 20px;
    }
}

/* Expert quotes on mobile */
@media (max-width: 767px) {
    .expert-advice-quote,
    .user-review-quote {
        padding: 14px 16px;
        margin: 15px 0;
    }

    .numbered-steps li {
        padding: 16px 16px 16px 52px;
    }

    .numbered-steps li::before {
        left: 14px;
        width: 26px;
        height: 26px;
        font-size: 0.8125rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .casino-card h3 {
        font-size: 1.0625rem;
    }

    .btn-visit-lg {
        padding: 10px 24px;
        font-size: 0.9375rem;
    }

    body {
        font-size: 15px;
    }
}

/* Mobile navbar dropdown styling */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 16px;
        margin-top: 8px;
        border-radius: 12px;
        box-shadow: rgba(19, 19, 22, 0.7) 0px 1px 5px -4px,
                    rgba(34, 42, 53, 0.08) 0px 0px 0px 1px,
                    rgba(34, 42, 53, 0.05) 0px 4px 8px;
    }

    .navbar-nav .dropdown-menu {
        background-color: #f5f5f5;
        border: none;
        margin-left: 8px;
        padding: 4px;
        border-radius: 8px;
    }

    .navbar-nav .dropdown-item {
        color: #242424;
        padding: 10px 15px;
        font-size: 15px;
        border-bottom: 1px solid rgba(34, 42, 53, 0.06);
        border-radius: 6px;
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background-color: #f5f5f5;
        color: #242424;
    }

    .navbar-nav .dropdown-divider {
        border-color: rgba(34, 42, 53, 0.06);
        margin: 4px 0;
    }
}
