/**
 * PinoyTime - Main Stylesheet
 * CSS class prefix: s0af-
 * Website: pinoytime.sbs
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --s0af-bg-primary: #273746;
    --s0af-bg-secondary: #1a252f;
    --s0af-accent-orange: #E65100;
    --s0af-accent-coral: #FF5722;
    --s0af-text-light: #CCCCCC;
    --s0af-accent-pink: #B03060;
    --s0af-accent-green: #006400;
    --s0af-white: #ffffff;
    --s0af-border-radius: 8px;
    --s0af-transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--s0af-bg-primary);
    color: var(--s0af-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.s0af-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.s0af-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--s0af-bg-secondary) 0%, var(--s0af-bg-primary) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--s0af-accent-orange);
    transition: var(--s0af-transition);
}

.s0af-header-scrolled {
    background: rgba(39, 55, 70, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.s0af-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s0af-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s0af-accent-coral);
}

.s0af-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.s0af-btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--s0af-border-radius);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--s0af-transition);
    border: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.s0af-btn-primary {
    background: linear-gradient(135deg, var(--s0af-accent-orange) 0%, var(--s0af-accent-coral) 100%);
    color: var(--s0af-white);
}

.s0af-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
}

.s0af-btn-secondary {
    background: transparent;
    border: 2px solid var(--s0af-accent-coral);
    color: var(--s0af-accent-coral);
}

.s0af-btn-secondary:hover {
    background: var(--s0af-accent-coral);
    color: var(--s0af-white);
}

.s0af-menu-toggle {
    background: none;
    border: none;
    color: var(--s0af-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.s0af-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: var(--s0af-transition);
}

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

.s0af-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s0af-accent-orange);
}

.s0af-menu-title {
    font-size: 1.8rem;
    color: var(--s0af-accent-coral);
    font-weight: 700;
}

.s0af-menu-close {
    background: none;
    border: none;
    color: var(--s0af-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.s0af-nav-list {
    list-style: none;
}

.s0af-nav-item {
    margin-bottom: 0.5rem;
}

.s0af-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s0af-text-light);
    font-size: 1.4rem;
    border-radius: var(--s0af-border-radius);
    transition: var(--s0af-transition);
}

.s0af-nav-link:hover {
    background: var(--s0af-accent-orange);
    color: var(--s0af-white);
}

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

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

/* Carousel/Slider */
.s0af-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 var(--s0af-border-radius) var(--s0af-border-radius);
}

.s0af-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.sitef71-slide-active {
    opacity: 1;
}

.s0af-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.s0af-section {
    padding: 2rem 1.5rem;
}

.s0af-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s0af-accent-coral);
    margin-bottom: 1.5rem;
    text-align: center;
}

.s0af-section-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s0af-accent-orange);
    margin-bottom: 1rem;
}

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

.s0af-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--s0af-transition);
}

.s0af-game-item:hover {
    transform: translateY(-3px);
}

.s0af-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 2px solid var(--s0af-accent-orange);
}

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

/* Category Section */
.s0af-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s0af-accent-orange);
}

.s0af-category-icon {
    font-size: 2rem;
    color: var(--s0af-accent-coral);
}

.s0af-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s0af-accent-orange);
}

/* Cards */
.s0af-card {
    background: var(--s0af-bg-secondary);
    border-radius: var(--s0af-border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 81, 0, 0.3);
}

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

.s0af-card-text {
    font-size: 1.3rem;
    color: var(--s0af-text-light);
    line-height: 1.6;
}

/* Features List */
.s0af-features-list {
    list-style: none;
}

.s0af-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(230, 81, 0, 0.1);
    border-radius: var(--s0af-border-radius);
}

.s0af-feature-icon {
    font-size: 2rem;
    color: var(--s0af-accent-coral);
    flex-shrink: 0;
}

.s0af-feature-text {
    font-size: 1.3rem;
    color: var(--s0af-text-light);
}

/* Promo Link Styles */
.s0af-promo-link {
    color: var(--s0af-accent-coral);
    font-weight: 600;
    cursor: pointer;
    transition: var(--s0af-transition);
}

.s0af-promo-link:hover {
    color: var(--s0af-accent-orange);
    text-decoration: underline;
}

.s0af-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--s0af-accent-orange) 0%, var(--s0af-accent-coral) 100%);
    color: var(--s0af-white);
    padding: 1rem 2rem;
    border-radius: var(--s0af-border-radius);
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--s0af-transition);
    text-align: center;
}

.s0af-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(230, 81, 0, 0.4);
}

/* Footer */
.s0af-footer {
    background: var(--s0af-bg-secondary);
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--s0af-accent-orange);
}

.s0af-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.s0af-footer-desc {
    font-size: 1.3rem;
    color: var(--s0af-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.s0af-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.s0af-footer-link {
    background: rgba(230, 81, 0, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: var(--s0af-border-radius);
    font-size: 1.2rem;
    color: var(--s0af-text-light);
    transition: var(--s0af-transition);
}

.s0af-footer-link:hover {
    background: var(--s0af-accent-orange);
    color: var(--s0af-white);
}

.s0af-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s0af-text-light);
    opacity: 0.8;
}

/* Mobile Bottom Navigation */
.s0af-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--s0af-bg-secondary) 0%, #0d1419 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--s0af-accent-orange);
}

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

.s0af-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--s0af-text-light);
    cursor: pointer;
    transition: var(--s0af-transition);
    border-radius: 12px;
}

.s0af-nav-btn:hover,
.s0af-nav-btn.active {
    color: var(--s0af-accent-coral);
    background: rgba(230, 81, 0, 0.15);
}

.s0af-nav-btn-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.s0af-nav-btn-text {
    font-size: 10px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .s0af-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s0af-btn {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }
}

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

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

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

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

.s0af-hidden {
    display: none;
}

/* Animation */
@keyframes s0af-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.s0af-animate-pulse {
    animation: s0af-pulse 2s infinite;
}
