/**
 * Nino Gaming PH - Main Stylesheet
 * Version: 1.0.0
 * Prefix: s5ef-
 * Colors: #212F3D | #FFFFFF | #FFA500 | #ADD8E6 | #FFB74D | #FFD700
 */

/* CSS Variables */
:root {
    --s5ef-bg-dark: #212F3D;
    --s5ef-bg-light: #1a252f;
    --s5ef-text: #FFFFFF;
    --s5ef-text-muted: #ADD8E6;
    --s5ef-accent: #FFA500;
    --s5ef-accent-hover: #FFB74D;
    --s5ef-gold: #FFD700;
    --s5ef-gradient: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    --s5ef-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s5ef-radius: 8px;
    --s5ef-radius-lg: 12px;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--s5ef-bg-dark);
    color: var(--s5ef-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--s5ef-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s5ef-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.s5ef-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.s5ef-wrapper {
    padding: 1rem 0;
}

/* Header */
.s5ef-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--s5ef-bg-dark);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    z-index: 1000;
    padding: 0.8rem 1rem;
}

.s5ef-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.s5ef-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s5ef-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.s5ef-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--s5ef-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s5ef-header-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.s5ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--s5ef-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.s5ef-btn-primary {
    background: var(--s5ef-gradient);
    color: var(--s5ef-bg-dark);
}

.s5ef-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--s5ef-shadow);
}

.s5ef-btn-outline {
    background: transparent;
    border: 2px solid var(--s5ef-accent);
    color: var(--s5ef-accent);
}

.s5ef-btn-outline:hover {
    background: var(--s5ef-accent);
    color: var(--s5ef-bg-dark);
}

.s5ef-menu-toggle {
    background: none;
    border: none;
    color: var(--s5ef-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.s5ef-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s5ef-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.s5ef-menu-active {
    right: 0;
}

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

.s5ef-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s5ef-mobile-menu .s5ef-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--s5ef-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.s5ef-mobile-menu ul {
    list-style: none;
}

.s5ef-mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.s5ef-mobile-menu a {
    display: block;
    padding: 1.2rem 0;
    color: var(--s5ef-text);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.s5ef-mobile-menu a:hover {
    color: var(--s5ef-accent);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.s5ef-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--s5ef-radius-lg);
    margin: 1rem 0;
}

.s5ef-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.s5ef-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.s5ef-slide-active {
    opacity: 1;
    position: relative;
}

.s5ef-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--s5ef-radius-lg);
}

/* Section Titles */
.s5ef-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s5ef-gold);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s5ef-accent);
}

.s5ef-section-subtitle {
    font-size: 1.4rem;
    color: var(--s5ef-text-muted);
    margin-bottom: 1.5rem;
}

/* Game Grid */
.s5ef-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.s5ef-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s5ef-game-item:hover {
    transform: scale(1.05);
}

.s5ef-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--s5ef-radius);
    overflow: hidden;
    margin-bottom: 0.4rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.s5ef-game-item:hover .s5ef-game-icon {
    border-color: var(--s5ef-accent);
}

.s5ef-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s5ef-game-name {
    font-size: 1.1rem;
    color: var(--s5ef-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards */
.s5ef-card {
    background: var(--s5ef-bg-light);
    border-radius: var(--s5ef-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.s5ef-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s5ef-gold);
    margin-bottom: 1rem;
}

.s5ef-card-text {
    color: var(--s5ef-text-muted);
    line-height: 1.6;
}

/* Features Grid */
.s5ef-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s5ef-feature-item {
    background: var(--s5ef-bg-light);
    padding: 1rem;
    border-radius: var(--s5ef-radius);
    text-align: center;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.s5ef-feature-icon {
    font-size: 2.4rem;
    color: var(--s5ef-accent);
    margin-bottom: 0.5rem;
}

.s5ef-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--s5ef-text);
    margin-bottom: 0.3rem;
}

.s5ef-feature-text {
    font-size: 1.1rem;
    color: var(--s5ef-text-muted);
}

/* CTA Button */
.s5ef-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--s5ef-gradient);
    color: var(--s5ef-bg-dark);
    padding: 1.2rem 2.4rem;
    border-radius: var(--s5ef-radius-lg);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    margin: 1rem 0;
}

.s5ef-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

/* Footer */
.s5ef-footer {
    background: var(--s5ef-bg-light);
    padding: 2rem 1rem 1rem;
    border-top: 1px solid rgba(255, 165, 0, 0.3);
}

.s5ef-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.s5ef-footer-desc {
    color: var(--s5ef-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.s5ef-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.s5ef-footer-links a {
    background: rgba(255, 165, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--s5ef-radius);
    font-size: 1.1rem;
    color: var(--s5ef-text);
    transition: all 0.3s ease;
}

.s5ef-footer-links a:hover {
    background: var(--s5ef-accent);
    color: var(--s5ef-bg-dark);
}

.s5ef-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.s5ef-footer-nav a {
    color: var(--s5ef-text-muted);
    font-size: 1.2rem;
}

.s5ef-footer-nav a:hover {
    color: var(--s5ef-accent);
}

.s5ef-copyright {
    text-align: center;
    color: var(--s5ef-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
}

/* Bottom Navigation */
.s5ef-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--s5ef-bg-dark) 0%, var(--s5ef-bg-light) 100%);
    border-top: 2px solid var(--s5ef-accent);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    height: 60px;
}

@media (min-width: 769px) {
    .s5ef-bottom-nav {
        display: none;
    }
}

.s5ef-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--s5ef-radius);
    padding: 0.3rem;
}

.s5ef-nav-item:hover {
    background: rgba(255, 165, 0, 0.1);
}

.s5ef-nav-item.active {
    color: var(--s5ef-accent);
}

.s5ef-nav-item i,
.s5ef-nav-item .material-icons-outlined {
    font-size: 22px;
    margin-bottom: 2px;
}

.s5ef-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.s5ef-nav-text {
    font-size: 10px;
    color: var(--s5ef-text-muted);
}

.s5ef-nav-item.active .s5ef-nav-text {
    color: var(--s5ef-accent);
}

/* Testimonials */
.s5ef-testimonial {
    background: var(--s5ef-bg-light);
    padding: 1.2rem;
    border-radius: var(--s5ef-radius);
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--s5ef-accent);
}

.s5ef-testimonial-author {
    font-weight: 600;
    color: var(--s5ef-gold);
    margin-bottom: 0.3rem;
}

.s5ef-testimonial-text {
    font-size: 1.2rem;
    color: var(--s5ef-text-muted);
}

/* Payment Methods */
.s5ef-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.s5ef-payment-item {
    background: var(--s5ef-bg-light);
    padding: 0.8rem 1.2rem;
    border-radius: var(--s5ef-radius);
    font-size: 1.2rem;
    color: var(--s5ef-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats */
.s5ef-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    text-align: center;
}

.s5ef-stat-item {
    background: var(--s5ef-bg-light);
    padding: 1rem;
    border-radius: var(--s5ef-radius);
}

.s5ef-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s5ef-gold);
}

.s5ef-stat-label {
    font-size: 1.1rem;
    color: var(--s5ef-text-muted);
}

/* FAQ */
.s5ef-faq-item {
    margin-bottom: 0.8rem;
}

.s5ef-faq-q {
    font-weight: 600;
    color: var(--s5ef-accent);
    margin-bottom: 0.3rem;
}

.s5ef-faq-a {
    color: var(--s5ef-text-muted);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 430px) {
    .s5ef-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .s5ef-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
}

/* Utility Classes */
.s5ef-text-center {
    text-align: center;
}

.s5ef-mt-1 {
    margin-top: 1rem;
}

.s5ef-mb-1 {
    margin-bottom: 1rem;
}

.s5ef-mt-2 {
    margin-top: 2rem;
}

.s5ef-mb-2 {
    margin-bottom: 2rem;
}

.s5ef-hidden {
    display: none;
}

/* Partners */
.s5ef-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.s5ef-partner-logo {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s5ef-partner-logo:hover {
    opacity: 1;
}

/* RTP Display */
.s5ef-rtp-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.s5ef-rtp-fill {
    background: var(--s5ef-gradient);
    height: 100%;
    border-radius: 4px;
}

/* Winner List */
.s5ef-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--s5ef-bg-light);
    border-radius: var(--s5ef-radius);
    margin-bottom: 0.5rem;
}

.s5ef-winner-name {
    color: var(--s5ef-text);
    font-size: 1.2rem;
}

.s5ef-winner-amount {
    color: var(--s5ef-gold);
    font-weight: 700;
    font-size: 1.3rem;
}
