/*
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: #ffffff;
}

/* === Header === */
.site-header {
    background: linear-gradient(135deg, #0071aa 0%, #00a8cc 50%, #0095b6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    border-bottom: none;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 113, 170, 0.3);
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating decorative circles */
.site-header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    left: -50px;
    animation: floatCircle1 20s ease-in-out infinite;
}

.site-header::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -50px;
    right: -30px;
    animation: floatCircle2 18s ease-in-out infinite;
}

@keyframes floatCircle1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 30px) rotate(180deg); }
}

@keyframes floatCircle2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, -20px) rotate(-180deg); }
}

.header-container {
    max-width: 1100px;
    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: 250px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 300ms ease;
}

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

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

.header-nav ul li {
    margin: 0;
}

.header-nav ul li a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 300ms ease;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
    position: relative;
    overflow: hidden;
}

.header-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 400ms ease;
    z-index: -1;
}

.header-nav ul li a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-nav ul li a:hover::before {
    left: 0;
}

/* === Main Content === */
.gpro_content {
    background-color: #ffffff;
}

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

.gpro_cont_main {
    background-color: #fff;
    padding: 40px 20px;
    margin: 20px 0;
}

/* === Typography === */
h1 {
    font-size: 36px;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #32373c;
    margin-top: 25px;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #32373c;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #333;
}

a {
    color: #0071aa;
    transition: color 200ms;
}

a:hover {
    color: #005e8e;
}

/* === Sections === */
.gpro_section {
    margin-bottom: 30px;
}

.gpro_section .label h1 {
    margin-top: 0;
}

.gpro_section .content {
    margin-top: 15px;
}

.gpro_section .text {
    line-height: 1.8;
}

/* === Footer === */
.site-footer {
    background-color: #f8f8f8;
    border-top: 2px solid #0071aa;
    margin-top: 40px;
    padding: 40px 0 20px;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
}

.footer-trust {
    margin: 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #32373c;
}

.footer-nav {
    margin: 20px 0;
}

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

.footer-nav ul li a {
    color: #0071aa;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms;
    font-size: 15px;
}

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

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}

/* === 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 ========== */


/* Tablet landscape */
@media (max-width: 1024px) {
    .gpro_cont_main {
        padding: 35px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .desktop-nav {
        display: none;
    }
    h1 {
        font-size: 32px;
    }
}

/* Mobile large */
@media (max-width: 600px) {
    .gpro_cont_main {
        padding: 25px;
    }
    h1 {
        font-size: 30px;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .gpro_cont_main {
        padding: 20px;
    }
    h1 {
        font-size: 26px;
    }
}


/* Casino Table Styles */
.casino-table-section {
    margin: 40px 0;
    padding: 20px;
}

.casino-table-container {
    background: var(--card-bg, #fff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.casino-row {
    display: grid;
    grid-template-columns: 50px 1fr 100px 150px 120px;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.casino-row:hover {
    background: var(--hover-bg, #f8f9fa);
}

.casino-row:last-child {
    border-bottom: none;
}

.casino-rank {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color, #007bff);
}

.casino-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.casino-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.casino-info h3 {
    margin: 0;
    font-size: 18px;
}

.casino-rating {
    text-align: center;
}

.rating-number {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color, #007bff);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
}

.casino-bonus {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #333);
}

.casino-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-bg, #28a745);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.casino-btn:hover {
    background: var(--button-hover, #218838);
}

/* Responsive Casino Table */
@media (max-width: 968px) {
    .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;
    }

    .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; }
