/*
Theme Name: Luotettavatnettikasinot.fi
Description: Professional Finnish casino website
Version: 2.0.0
*/

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* === Color Scheme === */
body {
    background-color: #f4f4f4;
    color: #1a1a1a;
}

:root {
    --primary-color: #000000;
    --accent-color: #C0C0C0;
    --silver-gradient: linear-gradient(135deg, #e0e0e0 0%, #C0C0C0 50%, #a0a0a0 100%);
    --piano-black: #050505;
}

/* === Header === */
.site-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    border-bottom: 2px solid #C0C0C0;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

/* Luxury Shine Effect */
.site-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 55%
    );
    animation: shine 10s infinite;
}

@keyframes shine {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header-logo img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 2px 15px rgba(255, 255, 255, 0.1));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-logo:hover img {
    transform: scale(1.02);
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.header-nav ul li a {
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
}

.header-nav ul li a:hover {
    color: #000000;
    background: #C0C0C0;
    border-color: #C0C0C0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
    transform: translateY(-1px);
}

/* === Main Content === */
.gpro_content {
    background-color: #f4f4f4;
    padding-top: 40px;
}

.gpro_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gpro_cont_main {
    background-color: #fff;
    padding: 60px 40px;
    margin: 0 0 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* === Typography === */
h1 {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: center;
}

h2 {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.8;
}

a {
    color: #333;
    text-decoration: underline;
    transition: all 0.3s;
}

a:hover {
    color: #000;
}

/* === Footer === */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 5px solid #C0C0C0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-nav ul li a {
    color: #C0C0C0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 13px;
}

.footer-nav ul li a:hover {
    color: #ffffff;
}

.footer-copyright {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

/* === Buttons === */
button, .button {
    background-color: #32373c;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms;
    border-radius: 4px;
}

button:hover, .button:hover {
    background-color: #23282d;
}

/* === Tables === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table thead {
    background-color: #005e8e;
    color: #ffffff;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

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

/* === Responsive === */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-logo img {
        max-width: 200px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }
}

/* === Lists === */
ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
}

/* === Sitemap === */
.gpro_section ul {
    list-style: none;
    padding-left: 0;
}

.gpro_section ul li {
    margin-bottom: 10px;
}

.gpro_section ul li a {
    color: #0071aa;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms;
}

.gpro_section ul li a:hover {
    color: #005e8e;
    text-decoration: underline;
}

/* ========== BURGER MENU ========== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu:hover .burger-line {
    background-color: #4CAF50;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #4CAF50;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none;
    }
}
/* ========== END BURGER MENU ========== */

/* ========== ADDITIONAL RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1024px) {
    .header-container { padding: 12px 15px; }
    .main-content { padding: 15px; }
}

@media (max-width: 600px) {
    h1 { font-size: 24px; line-height: 1.3; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    .footer-links { flex-direction: column; gap: 8px; }
}

@media (max-width: 375px) {
    .header-logo img { max-width: 180px; }
    h1 { font-size: 22px; }
    h2 { font-size: 18px; }
    body { font-size: 14px; }
}

@media (min-width: 1200px) {
    .main-content { max-width: 1100px; margin: 0 auto; }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
}
/* ========== END RESPONSIVE BREAKPOINTS ========== */



/* Casino Table Styles - Rolls-Royce Exclusive Style */
.top-casinos-table-section {
    margin: 60px 0;
    padding: 0;
}

.cv-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    background: transparent;
}

.ts-table-row {
    display: grid;
    grid-template-columns: 180px 1.5fr 1fr 1fr 180px;
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.ts-table-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #C0C0C0;
}

.cx-table-header {
    background: #000000;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 15px 25px;
    border-radius: 2px;
    border: none;
    box-shadow: none;
}

.cx-table-header:hover {
    transform: none;
    box-shadow: none;
}

.jp-casino-logo {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.4s;
}

.ts-table-row:hover .jp-casino-logo {
    filter: grayscale(0%);
}

.advantage-item-cm {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #000000;
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-number {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    display: block;
    margin-top: 5px;
}

.ld-play-button {
    display: block;
    background: #000000;
    color: #ffffff !important;
    padding: 14px 20px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 1px solid #000000;
}

.ld-play-button:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.review-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.review-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Responsive Casino Table */
@media (max-width: 968px) {
    .casino-col-headers { display:grid; grid-template-columns:40px 1fr 80px 100px; gap:20px; padding:12px 30px; background:linear-gradient(135deg,var(--pepsi-blue,#004B93) 0%,var(--pepsi-blue-light,#0066cc) 100%); border-radius:16px 16px 0 0; font-weight:700; font-size:13px; color:white; text-transform:uppercase; letter-spacing:0.5px; }
.casino-col-headers > div { text-align:center; }

.casino-row {
        grid-template-columns: 40px 1fr 80px 100px;
        gap: 10px;
    }

    .casino-bonus {
        display: none;
    }
}

@media (max-width: 640px) {
    .casino-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .casino-info {
        flex-direction: column;
  justify-content:center;
  text-align:center;
}

    .casino-rank {
        font-size: 18px;
    }
}

/* FAQ Accordion */
.faq-container { margin-top: 2rem; }
.faq-item { margin-bottom: 10px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-btn:hover { background: #f5f5f5; }
.faq-btn::after { content: '+'; font-size: 1.5rem; font-weight: 300; }
.faq-btn.active::after { content: '-'; }
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}
.faq-body p, .faq-body ul { padding: 15px 20px; margin: 0; }

/* Footer Mobile Responsive Styles */
@media (max-width: 768px) {
    footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }
    footer > div > div:first-child > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    footer > div > div:first-child > div:first-child a img {
        max-height: 90px !important;
    }
    footer > div > div:first-child > div div[style*="display: flex"] {
        justify-content: center !important;
    }
    .contact96-form input,
    .contact96-form textarea {
        max-width: 100% !important;
    }
}

/* Contact page mobile form improvements */
@media (max-width: 768px) {
    .contact96-grid {
        grid-template-columns: 1fr !important;
    }
    .contact96-form input,
    .contact96-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .contact96-form {
        padding: 20px !important;
    }
    .contact96-info {
        padding: 20px !important;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .contact-form-section {
        padding: 1.5rem !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== MOBILE OVERFLOW FIX ===== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }
    .cls_nav_sinn {
        overflow-x: hidden !important;
    }
}

/* === MOBILE RESPONSIVE FIX === */
html,body{max-width:100vw!important;overflow-x:hidden!important}
img,video,iframe,embed,object{max-width:100%!important;height:auto}
table{max-width:100%!important}
.star-icon{width:20px!important;height:20px!important;display:inline-block!important}
.stars-container{display:flex!important;justify-content:center!important;gap:4px!important;flex-wrap:wrap!important}
.rating-container{text-align:center!important;max-width:300px!important;margin:1rem auto!important}
@media(max-width:768px){
.burger-menu,.mobile-menu-btn,[class*="burger"]{display:flex!important;flex-direction:column!important;justify-content:center!important;cursor:pointer!important}
.burger-menu span,.burger-icon,.burger-bar{display:block!important;width:25px!important;height:3px!important;margin:3px 0!important;border-radius:2px!important;transition:.3s!important}
}

/* === HIDE CASINO NAMES UNDER LOGOS === */
[class*="-casino-name"], .casino-name, .dl-casino-name, .cupertino-casino-name, .gb-casino-name { display: none !important; }

/* CASINO-COL-HEADERS-DEDUP-V1 */
.casino-col-headers ~ .casino-col-headers{display:none!important}
/* CASINO-COL-HEADERS-GRID-V2 */
.casino-col-headers{display:grid!important;grid-template-columns:50px 1fr 100px 150px 120px!important;gap:20px;padding:12px 30px;background:linear-gradient(135deg,#004B93,#0066cc);border-radius:16px 16px 0 0;font-weight:700;font-size:13px;color:white;text-transform:uppercase;letter-spacing:0.5px;align-items:center}
.casino-col-headers > div{text-align:center}
.casino-col-headers ~ .casino-col-headers{display:none!important}
@media(max-width:768px){.casino-col-headers{display:none!important}}
/* STICKY-FOOTER-IMG-FIX-V1 */
.sticky-footer-inner img{min-height:0!important}
