/**
 * Nustar PH Login - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: s236-
 * Color Palette: #ADB5BD | #2E4057 | #DAA520 | #FFEF94 | #20B2AA
 */

/* CSS Variables */
:root {
    --s236-primary: #DAA520;
    --s236-secondary: #20B2AA;
    --s236-bg-dark: #2E4057;
    --s236-bg-darker: #1a2838;
    --s236-text-light: #FFEF94;
    --s236-text-gray: #ADB5BD;
    --s236-white: #ffffff;
    --s236-black: #000000;
    --s236-gradient: linear-gradient(135deg, #2E4057 0%, #1a2838 100%);
    --s236-golden-gradient: linear-gradient(135deg, #DAA520 0%, #f4c430 100%);
    --s236-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s236-radius: 8px;
    --s236-radius-lg: 16px;
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--s236-gradient);
    color: var(--s236-white);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.s236-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.s236-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--s236-bg-darker);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: var(--s236-shadow);
}

.s236-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s236-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s236-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.s236-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--s236-primary);
    letter-spacing: 0.5px;
}

.s236-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.s236-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: var(--s236-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.s236-btn-primary {
    background: var(--s236-golden-gradient);
    color: var(--s236-bg-dark);
}

.s236-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.5);
}

.s236-btn-outline {
    background: transparent;
    color: var(--s236-primary);
    border: 2px solid var(--s236-primary);
}

.s236-btn-outline:hover {
    background: var(--s236-primary);
    color: var(--s236-bg-dark);
}

.s236-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--s236-text-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu */
.s236-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s236-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.s236-mobile-menu.s236-menu-active {
    right: 0;
}

.s236-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.s236-menu-overlay.s236-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s236-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--s236-text-gray);
    font-size: 2rem;
    cursor: pointer;
}

.s236-menu-nav {
    margin-top: 3rem;
}

.s236-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s236-white);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.s236-menu-nav a:hover {
    color: var(--s236-primary);
    padding-left: 1.5rem;
}

/* Main Content */
.s236-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.s236-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--s236-radius-lg);
    margin-bottom: 2rem;
}

.s236-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.s236-slide:first-child {
    display: block;
}

.s236-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--s236-radius-lg);
}

/* Section Titles */
.s236-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s236-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s236-primary);
}

/* Game Grid */
.s236-game-section {
    margin-bottom: 2.5rem;
}

.s236-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--s236-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s236-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.s236-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s236-game-item:hover {
    transform: scale(1.05);
}

.s236-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--s236-radius);
    object-fit: cover;
    margin-bottom: 0.3rem;
}

.s236-game-name {
    font-size: 1rem;
    color: var(--s236-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.s236-content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--s236-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.s236-content-section h2 {
    font-size: 1.6rem;
    color: var(--s236-primary);
    margin-bottom: 1rem;
}

.s236-content-section p {
    font-size: 1.3rem;
    color: var(--s236-text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.s236-content-section ul {
    list-style: none;
    padding-left: 0;
}

.s236-content-section li {
    font-size: 1.3rem;
    color: var(--s236-text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.s236-content-section li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--s236-primary);
}

/* Promotional Link */
.s236-promo-link {
    color: var(--s236-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.s236-promo-link:hover {
    color: var(--s236-text-light);
    text-decoration: underline;
}

/* Footer */
.s236-footer {
    background: var(--s236-bg-darker);
    padding: 2rem 0;
    margin-top: 2rem;
}

.s236-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s236-footer-links a {
    color: var(--s236-text-gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.s236-footer-links a:hover {
    color: var(--s236-primary);
}

.s236-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.s236-partners img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s236-partners img:hover {
    opacity: 1;
}

.s236-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--s236-text-gray);
}

/* Bottom Navigation */
.s236-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--s236-bg-darker);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.s236-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--s236-text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.s236-nav-btn:hover,
.s236-nav-btn.s236-active {
    color: var(--s236-primary);
    transform: scale(1.1);
}

.s236-nav-btn i,
.s236-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s236-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* RTP Table */
.s236-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.s236-rtp-table th,
.s236-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.s236-rtp-table th {
    color: var(--s236-primary);
    font-weight: 600;
}

.s236-rtp-table td {
    color: var(--s236-text-gray);
}

/* FAQ Accordion */
.s236-faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--s236-radius);
    overflow: hidden;
}

.s236-faq-question {
    width: 100%;
    padding: 1.2rem;
    background: transparent;
    border: none;
    color: var(--s236-white);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s236-faq-question:hover {
    color: var(--s236-primary);
}

.s236-faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--s236-text-gray);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .s236-bottom-nav {
        display: none;
    }

    .s236-menu-toggle {
        display: none;
    }

    .s236-main {
        padding-bottom: 2rem;
    }

    .s236-container {
        max-width: 768px;
    }
}

/* Utility Classes */
.s236-text-center { text-align: center; }
.s236-mt-1 { margin-top: 1rem; }
.s236-mt-2 { margin-top: 2rem; }
.s236-mb-1 { margin-bottom: 1rem; }
.s236-mb-2 { margin-bottom: 2rem; }
.s236-hidden { display: none; }
