﻿:root {
    --bg-main: #0c1421; /* Very dark blue-gray */
    --bg-secondary: #1a2538; /* Darker blue-gray */
    --bg-accent: #2b3d58; /* Medium dark blue-gray */
    --text-main: #e0e7f2; /* Off-white, slightly blue-ish */
    --text-secondary: #9ab3cf; /* Muted blue-gray */
    --accent-primary: #007bff; /* Classic vibrant blue */
    --accent-primary-rgb: 0, 123, 255;
    --accent-neon: #33C1FF; /* Brighter, almost electric blue/cyan */
    --accent-neon-rgb: 51, 193, 255; /* RGB for neon accent */
    --border-color: #3d526e; /* Darker blue-gray border */
    --shadow-color: rgba(0, 123, 255, 0.25); /* Blueish shadow */
    --font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --content-width: 1200px;
    --container-padding: 1.5rem;
}

/* --- ОБЩИЕ СТИЛИ И СБРОС --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-family-system);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.mobile-menu-open { overflow: hidden; }
img, iframe, video { max-width: 100%; height: auto; }
a { color: var(--accent-neon); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: white; }
h1, h2, h3, h4, h5, h6 {
    color: white;
    line-height: 1.3;
    margin: 1.5em 0 0.75em;
    font-weight: 700; /* Bolder headings */
}
h1 { font-size: 2.8rem; text-shadow: 0 0 8px rgba(var(--accent-primary-rgb), 0.5); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

.container {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* --- HEADER --- */
.site-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: top 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 15px rgba(var(--accent-primary-rgb), 0.3); /* Stronger blue glow */
}
/* Исправление для админ-панели WordPress */
.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-branding .custom-logo { max-height: 60px; width: auto; } /* Adjusted max-height */
.site-branding .site-title {
    font-size: 1.8rem; /* Slightly larger title */
    font-weight: 800; /* Bolder title */
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* More spacing */
    text-shadow: 0 0 10px var(--accent-neon); /* Prominent neon glow */
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.8rem; /* Slightly more space between items */
}
.main-navigation a {
    color: var(--text-secondary);
    font-weight: 600; /* Bolder menu items */
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.5px;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Thicker accent line */
    background: linear-gradient(to right, var(--accent-neon), var(--accent-primary)); /* Gradient for line */
    transition: width 0.3s ease;
}
.main-navigation .current-menu-item > a,
.main-navigation a:hover {
    color: white;
    text-shadow: 0 0 5px var(--accent-neon); /* Neon text glow on hover/active */
}
.main-navigation .current-menu-item > a::after,
.main-navigation a:hover::after {
    width: 100%;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle { display: none; }
@media (max-width: 768px) {
    .main-navigation { display: none; }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 110;
    }
    .mobile-menu-toggle .line {
        width: 30px;
        height: 3px; /* Thicker lines for burger */
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .mobile-menu-toggle.is-active .line1 { transform: rotate(45deg) translate(7px, 7px); }
    .mobile-menu-toggle.is-active .line2 { opacity: 0; }
    .mobile-menu-toggle.is-active .line3 { transform: rotate(-45deg) translate(7px, -7px); }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 105;
        visibility: hidden;
    }
    .mobile-menu-panel .mobile-menu-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8); /* Darker overlay */
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .mobile-menu-panel .mobile-menu-content {
        position: relative;
        background: var(--bg-secondary);
        width: 85%; /* Wider mobile menu */
        max-width: 350px;
        height: 100%;
        padding: 6rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5); /* Shadow for slide-out effect */
    }
    .mobile-menu-panel[hidden] { display: block !important; }
    .mobile-menu-panel.is-open { visibility: visible; }
    .mobile-menu-panel.is-open .mobile-menu-overlay { opacity: 1; }
    .mobile-menu-panel.is-open .mobile-menu-content { transform: translateX(0); }
    
    .mobile-menu-panel ul { list-style: none; padding: 0; }
    .mobile-menu-panel ul li { margin-bottom: 1.2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; } /* Separators for menu items */
    .mobile-menu-panel ul li:last-child { border-bottom: none; }
    .mobile-menu-panel ul a { font-size: 1.4rem; color: white; display: block; }
    .mobile-menu-panel ul a:hover { color: var(--accent-neon); }
}

/* --- MAIN CONTENT SECTIONS --- */
.site-main { padding-bottom: 4rem; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-main) 0%, #172a42 100%); /* Deep gradient */
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.hero-section::before { /* Subtle background pattern/overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at center, rgba(var(--accent-primary-rgb), 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.7;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(var(--accent-neon-rgb), 0.8), 0 0 25px rgba(var(--accent-primary-rgb), 0.6);
    animation: neonPulse 2s infinite alternate; /* Subtle pulse effect */
}
.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
/* General Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.button-primary {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-neon));
    color: white;
    box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.4);
}
.button-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--accent-primary-rgb), 0.6), 0 0 20px rgba(var(--accent-neon-rgb), 0.8);
    background: linear-gradient(90deg, #0056b3, #00d2ff);
}
.button-secondary {
    background-color: var(--bg-accent);
    color: var(--accent-neon);
    border: 2px solid var(--accent-neon);
    box-shadow: 0 4px 15px rgba(var(--accent-neon-rgb), 0.2);
}
.button-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: var(--accent-neon);
    color: var(--bg-secondary);
    box-shadow: 0 8px 25px rgba(var(--accent-neon-rgb), 0.6);
}
.button-accent {
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-primary));
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(var(--accent-neon-rgb), 0.3);
}
.button-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-neon-rgb), 0.5);
    background: linear-gradient(45deg, #00d2ff, #0056b3);
}
.button-small {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-neon));
    color: white;
    box-shadow: 0 3px 10px rgba(var(--accent-primary-rgb), 0.3);
}
.button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--accent-primary-rgb), 0.5);
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(var(--accent-neon-rgb), 0.3);
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-neon));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}


/* Featured Games Section */
.featured-games-section { padding-top: 2rem; }
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.game-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--accent-primary-rgb), 0.6), 0 0 20px rgba(var(--accent-neon-rgb), 0.4);
}
.game-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.game-img-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8); /* Slightly darken image */
    transition: filter 0.3s ease;
}
.game-card:hover .game-img-placeholder {
    filter: brightness(1); /* Brighten on hover */
}
.game-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(var(--accent-primary-rgb), 0.4); /* Blue overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.game-card:hover .game-overlay {
    opacity: 1;
}
.game-overlay .play-button {
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-primary));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(var(--accent-neon-rgb), 0.5);
    transition: all 0.3s ease;
}
.game-overlay .play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--accent-neon-rgb), 0.8);
}
.game-title {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    text-shadow: 0 0 5px rgba(var(--accent-neon-rgb), 0.2);
}

/* Promotions Section */
.promotions-section { padding-top: 2rem; }
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.promo-card {
    background: linear-gradient(145deg, var(--bg-secondary), #172a42);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--accent-neon-rgb), 0.4);
}
.promo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(var(--accent-neon-rgb), 0.5);
    transition: all 0.3s ease;
}
.promo-card:hover .promo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(var(--accent-neon-rgb), 0.8);
}
.promo-icon svg {
    fill: white;
    width: 32px;
    height: 32px;
}
.promo-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(var(--accent-neon-rgb), 0.2);
}
.promo-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Trust Badges Section */
.trust-badges-section { padding: 4rem 0; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.trust-item {
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.3);
}
.trust-item svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-neon);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(var(--accent-neon-rgb), 0.5)); /* Neon shadow for icons */
}
.trust-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 5px rgba(var(--accent-neon-rgb), 0.1);
}

/* General Post Grid (for blog posts, if any) */
.posts-grid-wrapper {
    padding-top: 2rem;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem; /* Larger gap */
}
.post-card {
    background: linear-gradient(145deg, var(--bg-secondary), #151e2b); /* Subtle gradient for cards */
    border-radius: 12px; /* More rounded corners */
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-8px) scale(1.02); /* More pronounced lift and slight scale */
    box-shadow: 0 12px 35px rgba(var(--accent-primary-rgb), 0.6), 0 0 20px rgba(var(--accent-neon-rgb), 0.4); /* Stronger blue glow */
}
.post-card-thumbnail img {
    width: 100%;
    height: 220px; /* Slightly taller thumbnails */
    object-fit: cover;
    display: block;
}
.post-card-content {
    padding: 1.8rem; /* More padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card .entry-title {
    font-size: 1.4rem; /* Larger title on cards */
    margin: 0 0 0.8rem;
    text-shadow: 0 0 3px rgba(var(--accent-neon-rgb), 0.2);
}
.post-card .entry-title a { color: white; }
.post-card .entry-summary {
    color: var(--text-secondary);
    flex-grow: 1;
    font-size: 1rem; /* Slightly larger summary text */
}
.post-card .read-more {
    margin-top: 1.5rem;
    font-weight: 700;
    align-self: flex-start;
    color: var(--accent-neon);
    position: relative;
}
.post-card .read-more:hover {
    color: white;
    text-shadow: 0 0 5px var(--accent-neon);
}
.post-card .read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-neon);
    transition: width 0.3s ease;
}
.post-card .read-more:hover::after {
    width: 100%;
}

/* Single Post / Page Content */
.entry-content, .page-content {
    background-color: var(--bg-secondary);
    padding: 2.5rem; /* Larger padding */
    border-radius: 12px; /* More rounded corners */
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3), 0 0 15px rgba(var(--accent-primary-rgb), 0.1); /* Subtle inner glow */
    margin-top: 3rem;
}
.entry-content h1, .page-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
    text-shadow: 0 0 10px rgba(var(--accent-neon-rgb), 0.4);
}
.entry-content h2, .page-content h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    text-shadow: 0 0 8px rgba(var(--accent-primary-rgb), 0.2);
}
.entry-text p, .entry-text ul, .entry-text ol,
.page-content p, .page-content ul, .page-content ol {
    margin-bottom: 1.5em;
    font-size: 1.05rem; /* Slightly larger text for readability */
    color: var(--text-main);
}
.entry-text ul li::before, .page-content ul li::before {
    content: '• ';
    color: var(--accent-neon);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.post-thumbnail img {
    border-radius: 10px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4); /* Stronger shadow for images */
}

/* PAGINATION */
.pagination { margin-top: 4rem; text-align: center; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; }
.nav-links a, .nav-links span {
    display: inline-block;
    padding: 0.7rem 1.3rem; /* Larger buttons */
    margin: 0 0.3rem;
    border-radius: 6px;
    background-color: var(--bg-accent);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    min-width: 44px; /* Ensure clickability */
}
.nav-links a:hover {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0 10px var(--accent-neon);
    border-color: var(--accent-neon);
}
.nav-links .current {
    background-color: var(--accent-primary);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 15px var(--accent-neon);
    border-color: var(--accent-neon);
}

/* --- 404 PAGE --- */
.error-404 { text-align: center; padding: 5rem 0; }
.error-404 .page-title {
    font-size: 3.5rem;
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-neon);
    margin-bottom: 1.5rem;
}
.error-404 .page-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.error-404 .search-form {
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.search-form .search-field {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-main);
    font-size: 1rem;
    flex-grow: 1;
    max-width: 300px;
}
.search-form .search-field::placeholder {
    color: var(--text-secondary);
}
.search-form .search-submit {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background-color: var(--accent-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.search-form .search-submit:hover {
    background-color: #0056b3;
    box-shadow: 0 0 10px var(--accent-neon);
}

/* --- FOOTER --- */
.site-footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #10121a 100%); /* Subtle gradient for footer */
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -3px 15px rgba(var(--accent-primary-rgb), 0.2); /* Upward glow */
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem; /* Larger gap */
    margin-bottom: 3.5rem;
}
.footer-widget .widget-title {
    color: white;
    font-size: 1.3rem; /* Larger footer titles */
    margin-top: 0;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-shadow: 0 0 5px rgba(var(--accent-neon-rgb), 0.2);
}
.footer-widget .widget-title::after {
    content: '';
    display: block; /* Changed from inline-block for proper centering */
    width: 60px; /* Longer accent line */
    height: 3px;
    background: var(--accent-neon);
    margin-left: 0; /* Align left */
    border-radius: 2px;
}
.footer-widget-1 .site-title {
    font-size: 1.6rem;
    letter-spacing: 1.2px;
}
.age-badge {
    display: inline-block;
    background-color: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-neon);
    border-radius: 6px;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 0.6rem;
    vertical-align: middle;
    box-shadow: 0 0 8px rgba(var(--accent-neon-rgb), 0.3);
}
.footer-description, .footer-disclaimer { line-height: 1.7; }
.responsible-gaming a { font-weight: 700; color: var(--accent-neon); }
.responsible-gaming a:hover { text-decoration: underline; }
.footer-widget-2 nav ul { list-style: none; padding: 0; margin: 0; }
.footer-widget-2 nav li { margin-bottom: 0.8rem; }
.footer-widget-2 nav a { color: var(--text-secondary); }
.footer-widget-2 nav a:hover { color: var(--accent-neon); text-shadow: 0 0 5px rgba(var(--accent-neon-rgb), 0.2); }
.footer-buttons { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-button {
    display: block;
    padding: 0.9rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-neon)); /* Gradient button */
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.5), 0 0 10px rgba(var(--accent-neon-rgb), 0.4);
    background: linear-gradient(45deg, #0056b3, #00d2ff); /* Slightly altered gradient on hover */
}
.site-info {
    background-color: var(--bg-main);
    padding: 1.8rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 25px; /* Slightly higher */
    right: 25px; /* Slightly more to the right */
    width: 50px; /* Larger button */
    height: 50px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-neon)); /* Gradient background */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px); /* More pronounced slide-up */
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(var(--accent-primary-rgb), 0.4);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    box-shadow: 0 8px 25px rgba(var(--accent-neon-rgb), 0.6); /* Stronger glow on hover */
    transform: translateY(-2px);
}
.scroll-to-top svg { width: 28px; height: 28px; } /* Larger icon */

/* Keyframe Animations */
@keyframes neonPulse {
    0% { text-shadow: 0 0 15px rgba(var(--accent-neon-rgb), 0.8), 0 0 25px rgba(var(--accent-primary-rgb), 0.6); }
    50% { text-shadow: 0 0 20px rgba(var(--accent-neon-rgb), 1), 0 0 35px rgba(var(--accent-primary-rgb), 0.8); }
    100% { text-shadow: 0 0 15px rgba(var(--accent-neon-rgb), 0.8), 0 0 25px rgba(var(--accent-primary-rgb), 0.6); }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .site-header { padding: 0.8rem 0; }
    .hero-section { padding: 4rem 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1.1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .button { padding: 0.8rem 2rem; font-size: 0.9rem; width: 100%; max-width: 300px; }
    
    .section-title { font-size: 2rem; margin-top: 3rem; margin-bottom: 2rem; }
    .games-grid, .promotions-grid, .trust-grid, .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .game-thumbnail { height: 180px; }
    .post-card-thumbnail img { height: 180px; }

    .entry-content, .page-content { padding: 1.5rem; margin-top: 2rem; }
    .entry-content h1, .page-content h1 { font-size: 2.2rem; margin-bottom: 1rem; }
    .entry-content h2, .page-content h2 { font-size: 1.8rem; margin-top: 2rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-widget .widget-title::after { margin: 0.8rem auto 0; }
    .site-info { margin-top: 2rem; padding: 1rem 0; }
    
    .scroll-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; }
    .scroll-to-top svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 1rem; }
    .button { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
    .section-title { font-size: 1.8rem; }
    .game-title, .promo-card h3 { font-size: 1.3rem; }
    .footer-widget .widget-title { font-size: 1.1rem; }
}