/* Skrill Casino Schweiz - Styles based on logo colors */
/* Primary: #1A305F (rgb(26,48,95)) - Dark Blue */
/* Secondary: #1C548F (rgb(28,84,143)) - Blue */
/* Accent: #FFFFFF - White */

/* Fonts - Using system fonts */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #FFFFFF;
    border-bottom: 2px solid #1C548F;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(26, 48, 95, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
}

.logo-link .logo {
    margin-bottom: 0;
}

/* Header Navigation */
.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #1A305F;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #1C548F;
    color: #FFFFFF;
    text-decoration: none;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
}

/* Typography */
h1 {
    color: #1A305F;
    border-bottom: 3px solid #1C548F;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

h2 {
    color: #1A305F;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.75rem;
    font-weight: 600;
}

h3 {
    color: #1C548F;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.7;
}

strong {
    color: #1A305F;
    font-weight: 600;
}

/* Logo */
.logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 0;
    display: block;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

/* Links */
a {
    color: #1C548F;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #1A305F;
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(26, 48, 95, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid #E0E0E0;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #1A305F;
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background-color: #F8F9FA;
}

tr:hover {
    background-color: #F0F4F8;
    transition: background-color 0.2s ease;
}

td {
    vertical-align: middle;
}


/* Buttons and Call-to-Action */
.btn, button {
    background-color: #1C548F;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn:hover, button:hover {
    background-color: #1A305F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 48, 95, 0.3);
    text-decoration: none;
    color: #FFFFFF;
}

/* Sections */
section {
    margin: 40px 0;
    padding: 20px 0;
}

/* Cards */
.card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(26, 48, 95, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(26, 48, 95, 0.15);
}

/* Casino Cards Grid */
.casinos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.casino-card {
    background-color: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(26, 48, 95, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(26, 48, 95, 0.2);
    border-color: #1C548F;
}

.casino-header {
    background: linear-gradient(135deg, #1A305F 0%, #1C548F 100%);
    padding: 20px;
    text-align: center;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.casino-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.casino-name {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
}

.casino-title {
    color: #1A305F;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-bonus,
.casino-payments,
.casino-withdrawal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}

.bonus-label,
.payments-label,
.withdrawal-label {
    font-weight: 600;
    color: #1A305F;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-value,
.payments-value,
.withdrawal-value {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

.casino-btn,
.top-card__btn,
.referral-btn {
    background-color: #1C548F;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    width: 100%;
}

.casino-btn:hover,
.top-card__btn:hover,
.referral-btn:hover {
    background-color: #1A305F;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(26, 48, 95, 0.3);
    text-decoration: none;
    color: #FFFFFF;
}

.casino-btn:active,
.top-card__btn:active,
.referral-btn:active {
    transform: scale(0.98);
}

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    color: #333;
}

/* FAQ Section */
h3 + p {
    margin-top: 10px;
}

/* Responsive Design */
/* Mobile Optimization */
@media (max-width: 768px) {
    main {
        padding: 100px 15px 20px 15px;
    }
    
    main h1:first-child {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Optimize font loading on mobile */
    body {
        font-size: 0.95rem;
    }

    header {
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
    }

    .header-container {
        padding: 0 15px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .header-nav {
        gap: 8px;
        margin-top: 0;
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .logo-link {
        flex-shrink: 0;
    }
    
    .logo {
        max-width: 60px;
        height: auto;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
        white-space: nowrap;
    }

    h1 {
        font-size: 1.75rem;
        scroll-margin-top: 100px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Mobile Table Adaptation */
    table {
        display: block;
        width: 100%;
        border: none;
        box-shadow: none;
        background: transparent;
        font-size: 0.9rem;
    }

    table thead {
        display: none;
    }

    table tbody {
        display: block;
        width: 100%;
    }

    table tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        background-color: #FFFFFF;
        border: 2px solid #E0E0E0;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(26, 48, 95, 0.1);
        transition: box-shadow 0.3s ease;
    }

    table tbody tr:hover {
        box-shadow: 0 4px 12px rgba(26, 48, 95, 0.15);
        border-color: #1C548F;
    }

    table tbody td {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 12px 0;
        border: none;
        border-bottom: 1px solid #F0F0F0;
        text-align: left;
    }

    table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    table tbody td:first-child {
        padding-top: 0;
        border-bottom: 2px solid #1C548F;
        padding-bottom: 12px;
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 1rem;
        color: #1A305F;
    }

    table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.85rem;
        color: #1A305F;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    table tbody td:first-child::before {
        display: none;
    }

    /* Add data labels for comparison table */
    table tbody td:nth-child(2)::before {
        content: "Skrill:";
    }

    table tbody td:nth-child(3)::before {
        content: "Neteller:";
    }

    table tbody td:nth-child(4)::before {
        content: "Visa/Mastercard:";
    }

    table tbody td:nth-child(5)::before {
        content: "Banküberweisung:";
    }

    table tbody td:nth-child(6)::before {
        content: "Bitcoin:";
    }

    th, td {
        padding: 8px;
    }

    .logo {
        max-width: 70px;
    }

    .casinos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .casino-card {
        border-radius: 10px;
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .casino-header {
        padding: 15px;
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }

    .casino-title {
        font-size: 1.25rem;
    }

    .casino-content {
        padding: 20px;
        gap: 15px;
    }

    .casino-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
}

@media (min-width: 1200px) {
    main {
        padding: 40px 30px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Footer */
footer {
    background-color: #1A305F;
    color: #FFFFFF;
    margin-top: 60px;
    padding: 40px 0 20px;
    border-top: 3px solid #1C548F;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #1C548F;
    padding-bottom: 10px;
}

.footer-section p {
    color: #E0E0E0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1C548F;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #E0E0E0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom .disclaimer {
    font-size: 0.85rem;
    color: #B0B0B0;
    font-style: italic;
}

/* 404 Error Page Styles */
.error-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: #1A305F;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(26, 48, 95, 0.2);
}

.error-page h1 {
    color: #1A305F;
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.error-description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.error-actions .btn {
    padding: 14px 30px;
    font-size: 1rem;
    min-width: 180px;
}

.error-help {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    background-color: #F8F9FA;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
}

.error-help h2 {
    color: #1A305F;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.error-help ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.error-help li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #333;
    line-height: 1.6;
}

.error-help li span {
    position: absolute;
    left: 0;
    color: #1C548F;
    font-weight: 700;
    font-size: 1.2rem;
}

.error-help a {
    color: #1C548F;
    font-weight: 600;
}

.error-help a:hover {
    color: #1A305F;
    text-decoration: underline;
}

/* Responsive 404 Page */
@media (max-width: 768px) {
    .error-page {
        padding: 40px 15px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-page h1 {
        font-size: 1.75rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .error-help {
        padding: 20px;
    }

    .error-help h2 {
        font-size: 1.25rem;
    }
}

/* Intro Text Toggle */
.intro-text {
    position: relative;
}

.intro-text-ellipsis {
    display: none;
}

.intro-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #1C548F;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.intro-toggle-btn:hover {
    color: #1A305F;
}

.toggle-text-hide {
    display: none;
}

.intro-text.expanded ~ .intro-toggle-btn .toggle-text-show {
    display: none;
}

.intro-text.expanded ~ .intro-toggle-btn .toggle-text-hide {
    display: inline;
}

@media (max-width: 768px) {
    .intro-text-hidden {
        display: none;
    }
    
    .intro-text.expanded .intro-text-hidden {
        display: inline;
    }
    
    .intro-text-ellipsis {
        display: inline;
    }
    
    .intro-text.expanded .intro-text-ellipsis {
        display: none;
    }
    
    .intro-toggle-btn {
        display: inline-block;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #1C548F;
    outline-offset: 2px;
}
