/*
 Theme Name: TrygtSpill
 Theme URI: https://example.com
 Description: GeneratePress child theme for TrygtSpill.
 Author: TrygtSpill
 Author URI: https://example.com
 Template: generatepress
 Version: 1.0.0
 Text Domain: trygtspill
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

.bulletpoints-list li:before {
	display: none!important; 
}

.bulletpoints-list li {
	padding-left: 0!important;
}

/* Fix for CTA buttons - Force white text */
.ts-games-cta,
.ts-safe-cta,
.ts-contact-button,
.ts-team-member-link,
.ts-author-email-link,
.ts-help-support-link,
[class*="-cta"],
[class*="button"],
[class*="btn"] {
    color: #ffffff !important;
}

.ts-games-cta:hover,
.ts-safe-cta:hover,
.ts-contact-button:hover,
.ts-team-member-link:hover,
.ts-author-email-link:hover,
.ts-help-support-link:hover,
[class*="-cta"]:hover,
[class*="button"]:hover,
[class*="btn"]:hover {
    color: #ffffff !important;
}

/* Specific override for all CTA-type buttons */
a[class*="cta"],
a[class*="button"],
a[class*="btn"],
button[class*="cta"],
button[class*="button"],
button[class*="btn"] {
    color: #ffffff !important;
    text-decoration: none !important;
}

a[class*="cta"]:hover,
a[class*="button"]:hover,
a[class*="btn"]:hover,
button[class*="cta"]:hover,
button[class*="button"]:hover,
button[class*="btn"]:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

html, body {
    scroll-behavior: smooth !important;
    scroll-padding-top: 120px;
}

<script>
document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
        anchor.addEventListener('click', function(e) {
            e.preventDefault();
            
            const targetId = this.getAttribute('href');
            if (targetId === '#') return;
            
            const targetElement = document.querySelector(targetId);
            
            if (targetElement) {
                const headerOffset = 120;
                const elementPosition = targetElement.getBoundingClientRect().top;
                const offsetPosition = elementPosition + window.pageYOffset - headerOffset;
                
                window.scrollTo({
                    top: offsetPosition,
                    behavior: 'smooth'
                });
            }
        });
    });
});
</script>


/* ///////////////////////////////// */
/* Ta bort padding från inside-article och separate-containers */
.inside-article {
  padding: 0 !important;
}

.separate-containers.inside-article {
  padding: 0 !important;
}

/* Alternativt, lägg till negativ margin på hero för att kompensera */
.hero-intro {
  margin-left: -40px;
  margin-right: -40px;
}

/* Om du vill behålla padding men få hero full-width */
@media (min-width: 769px) {
  .hero-intro {
    margin-left: calc(-1 * var(--container-padding, 40px));
    margin-right: calc(-1 * var(--container-padding, 40px));
  }
}

/* /* ///////////////////////////////// */ MODERN CASINO TABLE - KOMPLETT REDESIGN */ /* ///////////////////////////////// */
/* MODERN CASINO TABLE - KOMPLETT REDESIGN */
.casino-banners {
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.casino-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    margin-bottom: 24px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(37, 37, 37, 0.08);
    border: 1px solid rgba(37, 37, 37, 0.06);
    min-height: 160px;
}

/* Hover-effekt med subtil animation */
.casino-banner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 40px rgba(183, 30, 0, 0.18);
    border-color: rgba(183, 30, 0, 0.3);
}

/* Accent-linje på toppen */
.casino-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #B71E00 0%, #ff5638 50%, #B71E00 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.casino-banner:hover::before {
    transform: scaleX(1);
}

.casino-box {
    flex: 1;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

/* Logo-box med custom bakgrund */
.logo-box {
    max-width: 220px;
    flex: 0 0 220px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    padding: 0;
}

.logo-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-box:hover::after {
    opacity: 1;
}

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

.logo-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    padding: 20px;
}

.casino-logo {
    max-width: 180px;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

.logo-box:hover .casino-logo {
    filter: brightness(1.15) contrast(1.1);
    transform: scale(1.05);
}

/* Bonus-box med modern typografi */
.bonus-box {
    flex: 0 0 340px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 25px;
    position: relative;
    background: transparent;
}

.casino-name {
    font-size: 1.8em;
    margin: 0 0 12px;
    color: #252525;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.casino-banner:hover .casino-name {
    color: #B71E00;
}

.casino-bonus {
    font-size: 1.15em;
    margin: 0;
    color: #B71E00;
    font-weight: 600;
    text-align: center;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.casino-banner:hover .casino-bonus {
    opacity: 1;
}

/* Bulletpoints med EXTRA UTRYMME */
.bulletpoints-box {
    font-size: 0.95em;
    line-height: 1.5;
    max-height: 160px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start!important;
    justify-content: center;
    padding: 20px 25px;
    flex: 1 1 auto;
    min-width: 380px;
}

.bulletpoints-header {
    display: none;
    font-size: 1.2em;
    margin: 0 0 12px;
    color: #252525;
    font-weight: 700;
    text-align: left;
    width: 100%;
}

.bulletpoints-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.bulletpoints-list li {
    margin-bottom: 10px;
    color: #252525;
    position: relative;
    padding-left: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bulletpoints-list li:last-child {
    margin-bottom: 0;
}

.bulletpoints-list li:hover {
    transform: translateX(5px);
    color: #B71E00;
}

/* Emoji styling */
.bulletpoints-list li .emoji {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Ta bort default checkmarks */
.bulletpoints-list li:before {
    display: none;
}

/* KNAPP-BOX BEGRÄNSAD TILL 220px MAX */
.button-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    flex: 0 0 220px;
    max-width: 220px;
}

.button-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.button {
    background: linear-gradient(135deg, #B71E00 0%, #d92600 100%);
    color: #FFFFFF !important;
    padding: 14px 24px;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 15px rgba(183, 30, 0, 0.25);
    white-space: nowrap;
}

/* Ripple effect på knapp */
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(183, 30, 0, 0.35);
    background: linear-gradient(135deg, #d92600 0%, #ff3d1a 100%);
    text-decoration: none !important;
}

.button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(183, 30, 0, 0.25);
}

/* MOBILLAYOUT FRÅN 1200px OCH NER - MED !IMPORTANT */
@media screen and (max-width: 1200px) {
    .casino-banners {
        padding: 0 15px !important;
        margin: 30px auto !important;
    }
	
	.bulletpoints-box {
		align-items: center!important;
	}

    .casino-banner {
        flex-direction: column !important;
        padding: 0 !important;
        margin-bottom: 24px !important;
        border-radius: 18px !important;
        box-shadow: 0 4px 20px rgba(37, 37, 37, 0.1) !important;
        min-height: auto !important;
        overflow: hidden !important;
        height: auto !important;
    }

    .casino-banner:hover {
        transform: translateY(-3px) scale(1) !important;
    }

    .casino-banner::before {
        height: 3px !important;
    }

    .casino-box {
        flex: none !important;
        width: 100% !important;
        padding: 20px 25px !important;
        height: auto !important;
        max-width: 100% !important;
        min-width: auto !important;
    }

    /* Logo-box på tablets/mindre skärmar */
    .logo-box {
        max-width: 100% !important;
        flex: none !important;
        height: 140px !important;
        padding: 25px !important;
        border-radius: 18px 18px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .logo-box:hover {
        transform: none !important;
    }

    .logo-box a {
        padding: 0 !important;
    }

    .casino-logo {
        max-width: 200px !important;
        max-height: 80px !important;
    }

    .logo-box:hover .casino-logo {
        transform: none !important;
    }

    /* Bonus-box vertikal layout */
    .bonus-box {
        flex: none !important;
        width: 100% !important;
        padding: 25px !important;
        min-height: auto !important;
        background: linear-gradient(to bottom, rgba(183, 30, 0, 0.03), transparent) !important;
    }

    .casino-name {
        font-size: 1.7em !important;
        margin-bottom: 10px !important;
    }

    .casino-bonus {
        font-size: 1.1em !important;
        line-height: 1.4 !important;
    }

    /* Bulletpoints full bredd */
    .bulletpoints-box {
        max-height: none !important;
        padding: 20px 25px !important;
        flex: none !important;
        min-width: auto !important;
       
    }

    .bulletpoints-header {
        display: block !important;
        font-size: 1.2em !important;
        margin-bottom: 15px !important;
        color: #252525 !important;
    }

    .bulletpoints-list {
        font-size: 1em !important;
    }

    .bulletpoints-list li {
        margin-bottom: 14px !important;
        gap: 12px !important;
        font-size: 1.05em !important;
    }

    .bulletpoints-list li:hover {
        transform: translateX(3px) !important;
    }

    .bulletpoints-list li .emoji {
        width: 24px !important;
        height: 24px !important;
    }

    /* Knapp full bredd */
    .button-box {
        width: 100% !important;
        padding: 20px 25px 25px !important;
        flex: none !important;
        max-width: 100% !important;
    }

    .button-wrap {
        width: 100% !important;
    }

    .button {
        width: 100% !important;
        padding: 18px 30px !important;
        font-size: 1.1em !important;
        text-align: center !important;
        border-radius: 12px !important;
        letter-spacing: 0.5px !important;
    }
}

/* MOBIL - Telefoner (mindre justeringar) */
@media screen and (max-width: 768px) {
    .casino-banners {
        padding: 0 10px !important;
        margin: 20px auto !important;
    }

    .casino-banner {
        margin-bottom: 20px !important;
        border-radius: 16px !important;
        box-shadow: 0 3px 15px rgba(37, 37, 37, 0.08) !important;
    }

    .casino-banner::before {
        height: 2px !important;
    }

    .casino-box {
        padding: 15px 20px !important;
    }

    .logo-box {
        height: 120px !important;
        padding: 20px !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .casino-logo {
        max-width: 160px !important;
        max-height: 60px !important;
    }

    .bonus-box {
        padding: 20px !important;
        background: linear-gradient(to bottom, rgba(183, 30, 0, 0.02), transparent) !important;
    }

    .casino-name {
        font-size: 1.5em !important;
        margin-bottom: 8px !important;
    }

    .casino-bonus {
        font-size: 1.05em !important;
        line-height: 1.3 !important;
    }

    .bulletpoints-box {
        padding: 15px 20px !important;
    }

    .bulletpoints-header {
        font-size: 1.1em !important;
        margin-bottom: 12px !important;
    }

    .bulletpoints-list {
        font-size: 0.95em !important;
    }

    .bulletpoints-list li {
        margin-bottom: 12px !important;
        gap: 10px !important;
        font-size: 1em !important;
    }

    .bulletpoints-list li .emoji {
        width: 22px !important;
        height: 22px !important;
    }

    .button-box {
        padding: 15px 20px 20px !important;
    }

    .button {
        padding: 16px 24px !important;
        font-size: 1.05em !important;
        border-radius: 10px !important;
        letter-spacing: 0.3px !important;
    }
}

/* SMALL MOBILE - Extra små telefoner */
@media screen and (max-width: 380px) {
    .casino-banner {
        border-radius: 14px !important;
    }

    .casino-box {
        padding: 12px 15px !important;
    }

    .logo-box {
        height: 100px !important;
        padding: 15px !important;
    }

    .casino-logo {
        max-width: 140px !important;
        max-height: 50px !important;
    }

    .bonus-box {
        padding: 15px !important;
    }

    .casino-name {
        font-size: 1.3em !important;
    }

    .casino-bonus {
        font-size: 0.95em !important;
    }

    .bulletpoints-header {
        font-size: 1em !important;
    }

    .bulletpoints-list li {
        font-size: 0.9em !important;
        margin-bottom: 10px !important;
    }

    .bulletpoints-list li .emoji {
        width: 20px !important;
        height: 20px !important;
    }

    .button {
        padding: 14px 20px !important;
        font-size: 0.95em !important;
    }
}

/* Home-sidan specifik justering */
.home .casino-banners {
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .home .casino-banners {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Smooth scrolling för bättre UX */
.casino-banners {
    scroll-behavior: smooth;
}

/* Förbättrad tillgänglighet */
.casino-banner:focus-within {
    outline: 3px solid #B71E00;
    outline-offset: 4px;
}

.button:focus {
    outline: 3px solid #252525;
    outline-offset: 3px;
}

/* Performance - GPU acceleration */
.casino-banner,
.logo-box,
.button {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Print styles */
@media print {
    .casino-banner {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .button {
        box-shadow: none !important;
        background: #B71E00 !important;
    }
}

/* /////////////// Header styling ////////////////// */
/* ========================================
   TrygtSpill Premium Header
   ======================================== */

/* Header Container */
.ts-header {
    background: #b71e00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.ts-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

/* Logo */
.ts-logo {
    flex-shrink: 0;
}

.ts-logo a {
    display: block;
    text-decoration: none !important;
}

.ts-logo-img {
    height: 55px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Desktop Navigation */
.ts-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 48px;
}

.ts-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts-menu-item {
    position: relative;
}

.ts-menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ts-menu-link:hover {
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none !important;
}

.ts-dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.ts-has-dropdown:hover .ts-dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 8px;
    margin: 8px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.ts-has-dropdown:hover .ts-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ts-dropdown li {
    margin: 0;
}

.ts-dropdown-link {
    display: block;
    padding: 12px 16px;
    color: #2d2d2d !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ts-dropdown-link:hover {
    background: #f8f9fa;
    color: #b71e00 !important;
    text-decoration: none !important;
    transform: translateX(4px);
}

/* Mobile Toggle Button */
.ts-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none !important;
}

.ts-mobile-toggle:focus {
    outline: none !important;
}

.ts-mobile-toggle:active {
    outline: none !important;
}

.ts-hamburger {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.ts-mobile-toggle[aria-expanded="true"] .ts-hamburger:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.ts-mobile-toggle[aria-expanded="true"] .ts-hamburger:nth-child(2) {
    opacity: 0;
}

.ts-mobile-toggle[aria-expanded="true"] .ts-hamburger:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation */
.ts-mobile-nav {
    display: none;
    background: #b71e00;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ts-mobile-nav.active {
    max-height: 600px;
}

.ts-mobile-menu {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.ts-mobile-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-mobile-item:last-child {
    border-bottom: none;
}

.ts-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    background: transparent !important;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ts-mobile-link:focus {
    outline: none !important;
    background: transparent !important;
}

.ts-mobile-link:active {
    outline: none !important;
    background: transparent !important;
}

.ts-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    background: transparent !important;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ts-submenu-toggle:focus {
    outline: none !important;
    background: transparent !important;
}

.ts-submenu-toggle:active {
    outline: none !important;
    background: transparent !important;
}

.ts-mobile-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.ts-submenu-toggle[aria-expanded="true"] .ts-mobile-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.ts-submenu {
    list-style: none;
    padding: 0 0 12px 16px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ts-has-submenu.active .ts-submenu {
    max-height: 400px;
}

.ts-submenu li {
    margin: 0;
}

.ts-submenu-link {
    display: block;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ts-submenu-link:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    padding-left: 8px;
}

.ts-submenu-link:focus {
    outline: none !important;
    background: transparent !important;
}

.ts-submenu-link:active {
    outline: none !important;
    background: transparent !important;
}

/* Responsive */
@media (max-width: 968px) {
    .ts-nav {
        display: none;
    }
    
    .ts-mobile-toggle {
        display: flex;
    }
    
    .ts-mobile-nav {
        display: block;
    }
}

@media (max-width: 1200px) {
    .ts-header-container {
        height: 80px;
    }
    
    .ts-logo-img {
        height: 45px;
    }
}

/* Scroll Effect */
.ts-header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Remove all tap highlights and active states on mobile */
* {
    -webkit-tap-highlight-color: transparent !important;
}

button:focus,
a:focus {
    outline: none !important;
}

button:active,
a:active {
    background: transparent !important;
}


/* New footer */
/* ========================================
   Safety Logos Section
   ======================================== */

.ts-safety-section {
    background: #262F3E;
    padding: 40px 0;
}

.ts-safety-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ts-safety-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.ts-safety-logo {
    display: block;
    transition: all 0.3s ease;
}

.ts-safety-logo:hover {
    transform: translateY(-4px);
}

.ts-safety-logo img {
    height: 45px;
    width: auto;
    display: block;
   
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.ts-safety-logo:hover img {
    opacity: 1;
}

/* ========================================
   Main Footer
   ======================================== */
/* Footer Reset and Base */
.trygtspill-footer {
    background: #b71e00;
    color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
}

.trygtspill-footer * {
    box-sizing: border-box;
}

/* Container for all sections */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Trust Bar Section */
.footer-trust-section {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    white-space: nowrap;
}

.trust-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Main Footer Section */
.footer-main-section {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    gap: 20px;
}

.footer-logo {
    width: 180px;
    height: auto;
}

.tagline {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.license-badge {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    white-space: nowrap;
}

.badge-authority {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
}

/* Headings */
.footer-heading {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Links */
.footer-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    opacity: 0.85;
    padding: 6px 0;
    padding-left: 0;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff !important;
}

.footer-link:hover {
    opacity: 1 !important;
    padding-left: 20px !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

.footer-link:hover::before {
    opacity: 1;
    left: 0;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    margin: 0;
    font-size: 14px;
}

.contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 2px;
    white-space: nowrap;
}

.support-hours {
    margin: 15px 0 0 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    opacity: 0.8;
}

/* Bottom Section */
.footer-bottom-section {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: 15px;
}

.age-restriction p {
    margin: 0;
    font-size: 14px;
}

.age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.certifications {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-item {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

/* Legal Section */
.footer-legal-section {
    background: rgba(0, 0, 0, 0.25);
}

.footer-legal-section .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-legal-section p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

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

.legal-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.legal-link:hover {
    opacity: 1 !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

.separator {
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .certifications {
        justify-content: center;
    }
    
    .footer-legal-section .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

/* Focus states for accessibility */
.footer-link:focus,
.legal-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Review Stats */
.review-stats {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.stat-item {
    margin: 0;
    white-space: nowrap;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive for stats */
@media (max-width: 768px) {
    .review-stats {
        justify-content: center;
    }
}