/*------------------------------------------------------------------
    Casino ohne Limit - Styles
    Warm charcoal, goldenrod accents, deep teal CTAs
-------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&amp;display=swap');

/*------------------------------------------------------------------
    BASE
-------------------------------------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
    color: #333333;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    background-color: #FAF8F5;
    margin: 0;
    padding: 0;
}

a {
    color: #2A6B5E;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: #1F5248;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.3;
    margin: 0 0 15px 0;
    padding: 0;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 15px;
}

ul, ol {
    padding-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/*------------------------------------------------------------------
    NAVBAR
-------------------------------------------------------------------*/

.top-navbar {
    position: relative;
    z-index: 100;
}

.top-navbar .navbar {
    padding: 12px 0;
    background-color: #2B2B2B;
}

.top-navbar .navbar-brand {
    margin-right: 20px;
    padding: 0;
}

.top-navbar .navbar-brand img {
    max-width: 180px;
    height: auto;
}

.top-navbar .navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 15px;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 0;
    transition: background .2s ease, color .2s ease;
}

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

.top-navbar .navbar-dark .navbar-nav .nav-link:hover,
.top-navbar .navbar-dark .navbar-nav .nav-item.active .nav-link {
    background: #2A6B5E;
    color: #ffffff;
}

.navbar-dark .navbar-toggler {
    border-color: #B8860B;
    padding: 8px 12px;
}

.navbar-dark .navbar-toggler:hover {
    background: rgba(184, 134, 11, 0.15);
}

.navbar-dark .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184, 134, 11, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu */
.navbar-expand-lg .navbar-nav .dropdown-menu {
    background-color: #2B2B2B;
    border: 1px solid #444;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown-item {
    color: #ccc;
    font-size: 14px;
    padding: 10px 20px;
    transition: background .15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #2A6B5E;
    color: #ffffff;
}

.dropdown-divider {
    border-color: #444;
    margin: 5px 0;
}

/*------------------------------------------------------------------
    BREADCRUMB
-------------------------------------------------------------------*/

.breadcrumb-bar {
    background: #F0EDE8;
    padding: 14px 0;
    border-bottom: 2px solid #B8860B;
    margin-top: 0;
}

.breadcrumb-bar a {
    color: #2A6B5E;
    font-weight: 500;
    font-size: 0.9375rem;
}

.breadcrumb-bar a:hover {
    text-decoration: underline;
}

.breadcrumb-bar .separator {
    margin: 0 10px;
    color: #B8860B;
}

.breadcrumb-bar .current {
    color: #333;
    font-size: 0.9375rem;
}

/*------------------------------------------------------------------
    HERO SECTION
-------------------------------------------------------------------*/

.hero-section {
    background: #FAF8F5;
    padding: 100px 0 70px;
    text-align: center;
    margin-top: 0;
}

.hero-section h1 {
    color: #2B2B2B;
    margin-bottom: 25px;
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero-section .lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px;
    text-align: left;
}

.hero-section .author-byline {
    font-size: 0.875rem;
    color: #999;
    margin-top: 20px;
}

/* Hero intro row - desktop flex layout */
.hero-intro-row {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 880px;
    margin: 0 auto;
}

.hero-intro-text {
    flex: 1;
}

.hero-mascot img {
    width: 120px;
    height: auto;
}

/* Hero mascot - mobile float (between paragraphs) */
.hero-mascot-sm {
    float: right;
    width: 80px;
    height: auto;
    margin: 0 0 10px 15px;
}

/* Hero with dark overlay (about, contact, testing) */
.hero-dark {
    background: #FAF8F5;
    padding: 80px 0;
    text-align: center;
    margin-top: 0;
}

.hero-dark h1 {
    color: #2B2B2B;
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero-dark .lead {
    color: #666666;
    font-size: 1.125rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/*------------------------------------------------------------------
    CASINO COMPARISON TABLE
-------------------------------------------------------------------*/

.casino-comparison-table {
    padding: 50px 0;
    background: #ffffff;
}

.casino-comparison-table table {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 0;
    border-collapse: collapse;
}

.casino-comparison-table thead {
    background: #2A6B5E;
    color: #ffffff;
}

.casino-comparison-table thead th {
    padding: 14px 15px;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
}

.casino-comparison-table tbody td {
    padding: 14px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 0.9375rem;
}

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

.casino-comparison-table .casino-name {
    font-weight: 600;
    color: #2B2B2B;
}

.casino-comparison-table .best-for {
    font-weight: 600;
    color: #333;
}

.casino-comparison-table .low-wagering {
    font-weight: 600;
    color: #2A6B5E;
}

.casino-comparison-table code {
    color: #333;
    font-weight: 600;
    background: #F0EDE8;
    padding: 2px 8px;
    border-radius: 3px;
}

/*------------------------------------------------------------------
    VISIT BUTTON (table + cards)
-------------------------------------------------------------------*/

.btn-visit {
    background: #2A6B5E;
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background .2s ease;
    border: none;
}

.btn-visit:hover {
    background: #1F5248;
    color: #ffffff;
    text-decoration: none;
}

.btn-visit-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

/*------------------------------------------------------------------
    CASINO REVIEW CARDS
-------------------------------------------------------------------*/

.casino-review-cards {
    padding: 60px 0;
    background: #F0EDE8;
}

.casino-review-cards h2 {
    color: #2A6B5E;
    text-align: center;
    margin-bottom: 45px;
}

.casino-card {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 6px;
    transition: box-shadow .2s ease;
}

.casino-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.casino-card h3 {
    color: #2A6B5E;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.casino-card p {
    line-height: 1.7;
    margin-bottom: 18px;
}

.casino-card .pros-cons {
    margin-bottom: 20px;
}

.casino-card .pros-cons details {
    margin-bottom: 12px;
}

.casino-card .pros-cons summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.casino-card .pros-cons summary.pros-label {
    color: #2A6B5E;
}

.casino-card .pros-cons summary.cons-label {
    color: #A0522D;
}

.casino-card .pros-cons ul {
    margin: 8px 0 0 20px;
    line-height: 1.9;
}

/*------------------------------------------------------------------
    CONTENT SECTIONS
-------------------------------------------------------------------*/

.content-section {
    padding: 55px 0;
    background: #ffffff;
}

.content-section-alt {
    padding: 55px 0;
    background: #F0EDE8;
}

.content-section h2,
.content-section-alt h2 {
    color: #2A6B5E;
    margin-bottom: 20px;
}

.content-section p,
.content-section-alt p {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.content-section ul li,
.content-section-alt ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/*------------------------------------------------------------------
    CALLOUT BOX
-------------------------------------------------------------------*/

.callout-box {
    background: #FAF8F5;
    border-left: 4px solid #B8860B;
    padding: 22px 25px;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
}

.callout-box p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.callout-box strong {
    color: #B8860B;
}

/*------------------------------------------------------------------
    TRUST BADGES
-------------------------------------------------------------------*/

.trust-section {
    padding: 50px 0;
    background: #2B2B2B;
    color: #ffffff;
}

.trust-section h2 {
    color: #B8860B;
    text-align: center;
    margin-bottom: 40px;
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge .badge-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #B8860B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.25rem;
    color: #B8860B;
}

.trust-badge h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.trust-badge p {
    color: #ccc;
    font-size: 0.875rem;
}

/*------------------------------------------------------------------
    GAME CARDS
-------------------------------------------------------------------*/

.game-card {
    border: 1px solid #e4e4e4;
    padding: 25px;
    text-align: center;
    border-radius: 6px;
    background: #ffffff;
    margin-bottom: 20px;
    transition: box-shadow .2s ease;
}

.game-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.game-card .game-icon {
    width: 55px;
    height: 55px;
    background: #2A6B5E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-size: 1.25rem;
}

.game-card h4 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
}

.game-card p {
    font-size: 0.875rem;
    color: #666;
}

/*------------------------------------------------------------------
    CRITERIA GRID
-------------------------------------------------------------------*/

.criteria-box {
    background: #FAF8F5;
    border: 1px solid #e4e4e4;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.criteria-box h4 {
    color: #2A6B5E;
    margin-bottom: 10px;
}

.criteria-box p {
    font-size: 0.9375rem;
    margin: 0;
    color: #555;
}

/*------------------------------------------------------------------
    FAQ SECTION
-------------------------------------------------------------------*/

.faq-section {
    padding: 60px 0;
    background: #F0EDE8;
}

.faq-section h2 {
    text-align: center;
    color: #2A6B5E;
    margin-bottom: 45px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    margin-bottom: 12px;
    border-radius: 4px;
    padding: 22px 25px;
}

.faq-item h3 {
    color: #2A6B5E;
    font-size: 1.0625rem;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/*------------------------------------------------------------------
    PAYMENT TABLE
-------------------------------------------------------------------*/

.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.payment-table thead {
    background: #2B2B2B;
    color: #ffffff;
}

.payment-table th {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.payment-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9375rem;
}

.payment-table tr:nth-child(even) {
    background: #FDFCFA;
}

/*------------------------------------------------------------------
    CHECKMARK LIST
-------------------------------------------------------------------*/

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2A6B5E;
    font-weight: 700;
    font-size: 1.1rem;
}

/*------------------------------------------------------------------
    TEAM CARDS (about page)
-------------------------------------------------------------------*/

.team-card {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    padding: 40px 30px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.team-card .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2A6B5E, #1F5248);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.team-card h3 {
    color: #2A6B5E;
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.team-card .role {
    color: #B8860B;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.team-card .credentials {
    color: #666;
    font-size: 0.8125rem;
    margin-bottom: 15px;
}

.team-card .bio {
    color: #333;
    font-size: 0.9375rem;
    line-height: 1.65;
}

/*------------------------------------------------------------------
    VALUES (about page)
-------------------------------------------------------------------*/

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: #2A6B5E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

.value-item h4 {
    color: #2A6B5E;
    margin-bottom: 8px;
}

.value-item p {
    line-height: 1.7;
    color: #333;
}

/*------------------------------------------------------------------
    CONTACT FORM
-------------------------------------------------------------------*/

.contact-form {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-form h2 {
    color: #2A6B5E;
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', serif;
    background: #ffffff;
    transition: border-color .2s ease;
}

.contact-form .form-control:focus {
    border-color: #2A6B5E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 107, 94, 0.1);
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form .btn-submit {
    background: #2A6B5E;
    color: #ffffff;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s ease;
}

.contact-form .btn-submit:hover {
    background: #1F5248;
}

.contact-info-sidebar {
    background: #F0EDE8;
    border-left: 4px solid #2A6B5E;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.contact-info-sidebar h3 {
    color: #2A6B5E;
    font-size: 1.375rem;
    margin-bottom: 20px;
}

.contact-info-sidebar h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-info-sidebar a {
    color: #2A6B5E;
    font-weight: 600;
}

.responsible-sidebar {
    background: #FFF8EE;
    border-left: 4px solid #B8860B;
    padding: 25px;
    border-radius: 6px;
}

.responsible-sidebar h3 {
    color: #A0522D;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.responsible-sidebar a {
    color: #2A6B5E;
}

/*------------------------------------------------------------------
    RELATED GUIDES
-------------------------------------------------------------------*/

.related-guides {
    padding: 50px 0;
    background: #FAF8F5;
}

.related-guides h2 {
    color: #2A6B5E;
    margin-bottom: 30px;
}

.guide-link {
    display: block;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #2A6B5E;
    font-weight: 500;
    transition: background .15s ease, border-color .15s ease;
}

.guide-link:hover {
    background: #F0EDE8;
    border-color: #B8860B;
    text-decoration: none;
    color: #1F5248;
}

/*------------------------------------------------------------------
    RESPONSIBLE GAMBLING SECTION
-------------------------------------------------------------------*/

.responsible-section {
    padding: 50px 0;
    background: #FFF8EE;
    border-top: 3px solid #B8860B;
}

.responsible-section h2 {
    color: #A0522D;
    margin-bottom: 20px;
}

.responsible-section a {
    color: #2A6B5E;
    font-weight: 500;
}

/*------------------------------------------------------------------
    FOOTER
-------------------------------------------------------------------*/

.site-footer {
    background: #2B2B2B;
    padding: 50px 0 20px;
    color: #ccc;
}

.site-footer h3 {
    color: #B8860B;
    font-size: 1.125rem;
    margin-bottom: 18px;
}

.site-footer p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #ccc;
}

.site-footer a {
    color: #ccc;
    transition: color .15s ease;
}

.site-footer a:hover {
    color: #B8860B;
    text-decoration: none;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 10px;
}

.site-footer .footer-links a {
    color: #ffffff;
    font-size: 0.9375rem;
}

.site-footer .footer-links a:hover {
    color: #B8860B;
}

.site-footer .accent-link {
    color: #B8860B;
}

.site-footer .gambling-helpline {
    color: #B8860B;
    font-weight: 500;
}

.affiliate-disclosure {
    background: rgba(255,255,255,0.04);
    border-left: 4px solid #B8860B;
    padding: 20px;
    margin-top: 35px;
    margin-bottom: 25px;
}

.affiliate-disclosure p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.65;
}

.affiliate-disclosure strong {
    color: #B8860B;
}

.copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.copyright-bar p {
    margin: 0;
    font-size: 0.8125rem;
    color: #999;
}

.copyright-bar a {
    color: #B8860B;
}

/*------------------------------------------------------------------
    UTILITY
-------------------------------------------------------------------*/

.section-padding {
    padding: 55px 0;
}

.text-accent {
    color: #B8860B;
}

.text-teal {
    color: #2A6B5E;
}

.bg-warm-cream {
    background-color: #F0EDE8;
}

.bg-flour-white {
    background-color: #FAF8F5;
}

.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Back to top - Enhanced for Phase 4 */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2A6B5E;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    z-index: 999;
    text-decoration: none;
    display: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(42, 107, 94, 0.3);
    opacity: 0;
    transform: translateY(20px);
}

#back-to-top.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #1F5248;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(42, 107, 94, 0.4);
}

#back-to-top:active {
    transform: translateY(-1px);
}

/*------------------------------------------------------------------
    PHASE 4: ADVANCED ANIMATIONS & INTERACTIONS
-------------------------------------------------------------------*/

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade-in Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Card Hover Effects */
.casino-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease;
}

.casino-card:hover {
    border-color: rgba(42, 107, 94, 0.3);
}

.casino-card:hover .casino-logo {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Button Ripple Effect */
.btn-primary,
.cta-button {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after,
.cta-button:active::after {
    width: 300px;
    height: 300px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #2A6B5E;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading for Images */
.casino-logo,
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Focus Visible Enhancement */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #2A6B5E;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Progressive Page Load Enhancement */
.page-transition {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Link Hover Effects */
.nav-link,
a:not(.btn):not(.cta-button) {
    position: relative;
}

.nav-link::after,
a:not(.btn):not(.cta-button):not(.navbar-brand)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
a:not(.btn):not(.cta-button):not(.navbar-brand):hover::after {
    width: 100%;
}

/* Casino Logo Shine Effect */
@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.casino-logo {
    position: relative;
    overflow: hidden;
}

.casino-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.casino-card:hover .casino-logo::before {
    animation: shine 1.5s ease-in-out;
}

/* Tooltip Enhancement */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #2B2B2B;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 6px solid transparent;
    border-top-color: #2B2B2B;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Print Styles */
@media print {
    .top-navbar,
    .back-to-top,
    .skip-link,
    footer {
        display: none !important;
    }

    .casino-card {
        page-break-inside: avoid;
        border: 1px solid #000;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   PHASE 4: Advanced Form Validation Styles
   ============================================ */

/* Form validation enhancements */
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
}

.validation-feedback {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-submit:disabled {
  cursor: not-allowed;
  position: relative;
}

.btn-submit:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Enhanced input states */
.form-control.is-valid {
  border-color: #4caf50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234caf50'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-control.is-invalid {
  border-color: #ff6b6b;
}
