/*
 Theme Name: QUEENSEO
 Theme URI: https://queenseo.pw/
 Author: QUEENSEO Developer
 Author URI: https://queenseo.pw/
 Description: A custom WordPress theme for QUEENSEO, built with AMP support, SEO optimization, and comprehensive UI customization for logo, banners, colors, fonts, and contact links.
 Version: 1.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: queenseo-theme
 Tags: custom-theme, amp, gaming, seo, responsive, customizable
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* CSS Variabel untuk Palet Warna dan Font */
:root {
    --primary-color: #ff6200; /* Oranye dari tema default */
    --secondary-color: #333333;
    --background-color: #ffffff;
    --text-color: #000000;
    --accent-color: #e0e0e0;
    --font-family: 'Roboto', sans-serif;
}

/* Palet Warna */
[data-theme="dark"] {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --background-color: #2c2c2c;
    --text-color: #ffffff;
    --accent-color: #4a4a4a;
}

[data-theme="blue"] {
    --primary-color: #007bff;
    --secondary-color: #003087;
    --background-color: #e7f1ff;
    --text-color: #000000;
    --accent-color: #b3d4ff;
}

[data-theme="red"] {
    --primary-color: #dc3545;
    --secondary-color: #8b0000;
    --background-color: #ffe6e6;
    --text-color: #000000;
    --accent-color: #ff9999;
}

[data-theme="green"] {
    --primary-color: #28a745;
    --secondary-color: #004d00;
    --background-color: #e6ffe6;
    --text-color: #000000;
    --accent-color: #99ff99;
}

/* Font */
[data-font="roboto"] {
    --font-family: 'Roboto', sans-serif;
}

[data-font="open-sans"] {
    --font-family: 'Open Sans', sans-serif;
}

[data-font="lato"] {
    --font-family: 'Lato', sans-serif;
}

[data-font="montserrat"] {
    --font-family: 'Montserrat', sans-serif;
}

[data-font="poppins"] {
    --font-family: 'Poppins', sans-serif;
}

/* CSS Dasar */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Aksesibilitas */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 8px;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}
.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

/* Header */
header {
    background-color: var(--background-color);
    padding: 15px 0;
    position: relative;
}
.logo {
    text-align: center;
}
.site-logo {
    margin: 0 auto;
}
.primary-nav {
    margin-top: 15px;
}
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.nav-menu li {
    margin: 0 15px;
}
.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a:focus {
    color: var(--secondary-color);
}
.nav-menu .svg-menu {
    margin-right: 8px;
}
.auth-links {
    text-align: center;
    margin-top: 10px;
}
.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.auth-links a:hover, .auth-links a:focus {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Hamburger Menu untuk Mobile */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
}
.hamburger amp-img {
    width: 30px;
    height: 30px;
}

/* Mobile Sidebar */
amp-sidebar {
    background-color: var(--background-color);
    width: 250px;
    height: 100%;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}
amp-sidebar[open] {
    transform: translateX(0);
}
.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    margin-bottom: 20px;
}
.close-menu amp-img {
    width: 30px;
    height: 30px;
}
.mobile-nav {
    width: 100%;
}
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu li {
    margin: 10px 0;
}
.mobile-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a:focus {
    background-color: var(--accent-color);
}
.mobile-menu .svg-menu {
    margin-right: 10px;
}

/* Slider */
.slider {
    margin-bottom: 30px;
}
amp-carousel {
    width: 100%;
}
amp-carousel amp-img {
    object-fit: cover;
}

/* Games Section */
.games {
    margin-bottom: 40px;
}
.games h1, .games h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
}
.games .row {
    justify-content: center;
}
.games amp-img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.games .game-title {
    text-align: center;
    font-size: 0.9em;
    margin-top: 10px;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--background-color);
    padding: 20px 0;
}
.provider, .payment {
    margin-bottom: 30px;
}
.footer-title, .col-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}
.col-border {
    border: 1px solid var(--accent-color);
    padding: 15px;
    border-radius: 5px;
}
.provider .row, .payment .row {
    justify-content: center;
}
.provider amp-img, .payment amp-img {
    margin: 10px auto;
    display: block;
}
.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}
.copyright {
    background-color: var(--accent-color);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
}
.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Livechat dan Menu Kontak */
.quick-footer.desktop {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.quick-footer li {
    display: inline-block;
    margin: 0 10px;
}
.quick-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.quick-footer a:hover, .quick-footer a:focus {
    color: var(--secondary-color);
}
.contact-floating.mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--background-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.contact-floating li {
    border-bottom: 1px solid var(--accent-color);
}
.contact-floating li:last-child {
    border-bottom: none;
}
.contact-floating a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 1em;
    transition: background-color 0.3s;
}
.contact-floating a:hover, .contact-floating a:focus {
    background-color: var(--accent-color);
}

/* Ikon SVG */
.svg-menu {
    width: 20px;
    height: 20px;
}

/* Responsivitas */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    .col-sm-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .auth-links a {
        display: inline-block;
        margin: 5px;
    }
    .quick-footer.desktop {
        display: none;
    }
    .contact-floating.mobile {
        display: block;
    }
}

@media (max-width: 576px) {
    .col-sm-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .footer-title, .col-title {
        font-size: 1.2em;
    }
    .games h1, .games h2 {
        font-size: 1.5em;
    }
}

/* AMP Specific */
amp-img {
    max-width: 100%;
}
amp-img img {
    object-fit: contain;
}

/* Page Content */
.entry-header {
    text-align: center;
    margin-bottom: 20px;
}
.entry-title {
    color: var(--primary-color);
    font-size: 2em;
}
.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Aksesibilitas: Kontras dan Fokus */
a:focus, button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}