/**
 * ArionPlay GCash PH - Layout Stylesheet
 * Prefix: s70e- - All classes use this namespace
 * Color Palette: #3A3A3A | #B03060 | #E8F5E8 | #C71585 | #F08080
 */

/* ============================================
   CSS Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5rem;
    color: #3A3A3A;
    background-color: #1a1a2e;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   CSS Variables (Color Palette)
   ============================================ */
:root {
    --s70e-dark: #3A3A3A;
    --s70e-primary: #B03060;
    --s70e-light-bg: #E8F5E8;
    --s70e-accent: #C71585;
    --s70e-warm: #F08080;
    --s70e-deep-bg: #16213e;
    --s70e-card-bg: #1f2940;
    --s70e-text-primary: #f0f0f0;
    --s70e-text-secondary: #b0b0c0;
    --s70e-border-color: #2a2a4a;
    --s70e-gradient-start: #B03060;
    --s70e-gradient-end: #C71585;
    --s70e-shadow: 0 4px 16px rgba(176, 48, 96, 0.25);
    --s70e-radius: 12px;
    --s70e-radius-sm: 8px;
    --s70e-header-height: 56px;
    --s70e-bottom-nav-height: 64px;
}

/* ============================================
   Header Component
   ============================================ */
.s70e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--s70e-header-height);
    background: linear-gradient(135deg, var(--s70e-deep-bg) 0%, var(--s70e-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 48, 96, 0.2);
    transition: box-shadow 0.3s ease;
}

.s70e-header.s70e-header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.s70e-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s70e-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.s70e-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--s70e-primary);
    letter-spacing: -0.5px;
}

.s70e-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s70e-btn-register,
.s70e-btn-login {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.s70e-btn-register {
    background: linear-gradient(135deg, var(--s70e-primary), var(--s70e-accent));
    color: #fff;
    box-shadow: 0 2px 10px rgba(176, 48, 96, 0.4);
}

.s70e-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(176, 48, 96, 0.55);
}

.s70e-btn-login {
    background: transparent;
    color: var(--s70e-warm);
    border: 1.5px solid var(--s70e-warm);
}

.s70e-btn-login:hover {
    background: rgba(240, 128, 128, 0.12);
    transform: translateY(-1px);
}

.s70e-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--s70e-text-primary);
    cursor: pointer;
    padding: 6px;
    font-size: 22px;
}

/* ============================================
   Mobile Menu Overlay
   ============================================ */
.s70e-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 30, 0.96);
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 72px 24px 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.s70e-mobile-menu.s70e-menu-open {
    opacity: 1;
}

.s70e-menu-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--s70e-text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
}

.s70e-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s70e-menu-item {
    display: block;
    padding: 16px 18px;
    color: var(--s70e-text-primary);
    font-size: 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    border-radius: var(--s70e-radius-sm);
}

.s70e-menu-item:hover,
.s70e-menu-item:active {
    background: rgba(176, 48, 96, 0.15);
    color: var(--s70e-primary);
    padding-left: 24px;
}

.s70e-menu-item i {
    margin-right: 12px;
    width: 22px;
    text-align: center;
    color: var(--s70e-accent);
}

/* ============================================
   Main Content Area
   ============================================ */
.s70e-main {
    padding-top: calc(var(--s70e-header-height) + 16px);
    padding-bottom: calc(var(--s70e-bottom-nav-height) + 24px);
    min-height: 100vh;
}

@media (min-width: 769px) {
    .s70e-main {
        padding-bottom: 40px;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.s70e-hero {
    padding: 28px 16px 36px;
    text-align: center;
    background: linear-gradient(180deg, var(--s70e-deep-bg) 0%, transparent 100%);
}

.s70e-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.s70e-hero-title span {
    background: linear-gradient(135deg, var(--s70e-primary), var(--s70e-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s70e-hero-subtitle {
    font-size: 1.3rem;
    color: var(--s70e-text-secondary);
    margin-bottom: 22px;
    line-height: 1.5;
}

.s70e-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: linear-gradient(135deg, var(--s70e-primary), var(--s70e-accent));
    color: #fff;
    border-radius: 28px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(176, 48, 96, 0.45);
    border: none;
}

.s70e-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(176, 48, 96, 0.6);
}

.s70e-hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.s70e-stat-item {
    text-align: center;
}

.s70e-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--s70e-warm);
}

.s70e-stat-label {
    font-size: 1.05rem;
    color: var(--s70e-text-secondary);
    margin-top: 2px;
}

/* ============================================
   Category Tabs
   ============================================ */
.s70e-section {
    padding: 0 16px 24px;
}

.s70e-section-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s70e-section-title i {
    color: var(--s70e-accent);
    font-size: 1.85rem;
}

.s70e-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.s70e-cat-tabs::-webkit-scrollbar {
    display: none;
}

.s70e-cat-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    background: var(--s70e-card-bg);
    color: var(--s70e-text-secondary);
    border: 1px solid var(--s70e-border-color);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.s70e-cat-btn:hover {
    border-color: var(--s70e-primary);
    color: var(--s70e-primary);
}

.s70e-cat-btn.s70e-active {
    background: linear-gradient(135deg, var(--s70e-primary), var(--s70e-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(176, 48, 96, 0.35);
}

/* ============================================
   Game Grid
   ============================================ */
.s70e-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.s70e-game-item {
    position: relative;
    border-radius: var(--s70e-radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: var(--s70e-card-bg);
    border: 1px solid var(--s70e-border-color);
    transition: all 0.3s ease;
}

.s70e-game-item:hover,
.s70e-game-item:active {
    transform: scale(1.04);
    border-color: var(--s70e-primary);
    box-shadow: var(--s70e-shadow);
    z-index: 2;
}

.s70e-game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.s70e-game-item:hover img {
    transform: scale(1.08);
}

.s70e-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 6px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Feature Cards
   ============================================ */
.s70e-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 24px;
}

.s70e-feature-card {
    background: var(--s70e-card-bg);
    border: 1px solid var(--s70e-border-color);
    border-radius: var(--s70e-radius);
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.s70e-feature-card:hover {
    border-color: var(--s70e-primary);
    transform: translateY(-3px);
    box-shadow: var(--s70e-shadow);
}

.s70e-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
    display: block;
}

.s70e-feature-icon.pink { color: var(--s70e-primary); }
.s70e-feature-icon.coral { color: var(--s70e-warm); }
.s70e-feature-icon.magenta { color: var(--s70e-accent); }
.s70e-feature-icon.green { color: #4ecdc4; }

.s70e-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.s70e-feature-desc {
    font-size: 1.05rem;
    color: var(--s70e-text-secondary);
    line-height: 1.45;
}

/* ============================================
   Content Sections (Help Pages)
   ============================================ */
.s70e-content-page {
    padding: 0 16px 24px;
}

.s70e-article {
    background: var(--s70e-card-bg);
    border: 1px solid var(--s70e-border-color);
    border-radius: var(--s70e-radius);
    padding: 22px 18px;
    margin-bottom: 18px;
}

.s70e-article h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--s70e-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.s70e-article h2 i {
    color: var(--s70e-accent);
}

.s70e-article h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin: 18px 0 10px;
}

.s70e-article p {
    font-size: 1.2rem;
    color: var(--s70e-text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.s70e-article ul,
.s70e-article ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.s70e-article li {
    font-size: 1.2rem;
    color: var(--s70e-text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
    list-style: disc;
}

.s70e-article ol li {
    list-style: decimal;
}

.s70e-article strong {
    color: var(--s70e-warm);
    font-weight: 600;
}

.s70e-article a {
    color: var(--s70e-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.s70e-article a:hover {
    color: var(--s70e-accent);
}

/* FAQ Accordion Style */
.s70e-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--s70e-border-color);
    border-radius: var(--s70e-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.s70e-faq-question {
    padding: 16px 18px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.s70e-faq-question:hover {
    background: rgba(176, 48, 96, 0.08);
}

.s70e-faq-question i {
    color: var(--s70e-accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.s70e-faq-answer {
    padding: 0 18px 16px 46px;
    font-size: 1.15rem;
    color: var(--s70e-text-secondary);
    line-height: 1.6;
}

/* ============================================
   Promo Banner
   ============================================ */
.s70e-promo-banner {
    margin: 20px 16px;
    padding: 22px 18px;
    background: linear-gradient(135deg, rgba(176, 48, 96, 0.15), rgba(199, 21, 133, 0.1));
    border: 1px solid rgba(176, 48, 96, 0.3);
    border-radius: var(--s70e-radius);
    text-align: center;
}

.s70e-promo-banner h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--s70e-warm);
    margin-bottom: 8px;
}

.s70e-promo-banner p {
    font-size: 1.15rem;
    color: var(--s70e-text-secondary);
    margin-bottom: 14px;
}

.s70e-promo-btn {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--s70e-primary), var(--s70e-accent));
    color: #fff;
    border-radius: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.s70e-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(176, 48, 96, 0.5);
}

/* ============================================
   Mobile Bottom Navigation
   ============================================ */
.s70e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--s70e-bottom-nav-height);
    background: linear-gradient(180deg, var(--s70e-deep-bg) 0%, #0d1127 100%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    border-top: 1px solid rgba(176, 48, 96, 0.2);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.s70e-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 60px;
    min-height: 58px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 4px 6px;
    border-radius: 12px;
    position: relative;
}

.s70e-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--s70e-primary), var(--s70e-accent));
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.s70e-nav-btn.s70e-active::after,
.s70e-nav-btn:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.s70e-nav-btn:hover {
    background: rgba(176, 48, 96, 0.1);
}

.s70e-nav-btn i {
    font-size: 22px;
    color: var(--s70e-text-secondary);
    transition: all 0.25s ease;
}

.s70e-nav-btn span {
    font-size: 0.7rem;
    color: var(--s70e-text-secondary);
    font-weight: 500;
    transition: color 0.25s ease;
}

.s70e-nav-btn.s70e-active i,
.s70e-nav-btn:hover i {
    color: var(--s70e-primary);
}

.s70e-nav-btn.s70e-active span,
.s70e-nav-btn:hover span {
    color: var(--s70e-primary);
    font-weight: 600;
}

/* Hide on desktop */
@media (min-width: 769px) {
    .s70e-bottom-nav {
        display: none !important;
    }
    .s70e-main {
        padding-bottom: 40px;
    }
}

/* Show menu toggle on mobile only */
@media (max-width: 768px) {
    .s70e-menu-toggle {
        display: block;
    }
    .s70e-btn-register {
        padding: 6px 12px;
        font-size: 1.1rem;
    }
    .s70e-btn-login {
        padding: 6px 12px;
        font-size: 1.1rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.s70e-footer {
    background: var(--s70e-deep-bg);
    border-top: 1px solid var(--s70e-border-color);
    padding: 32px 16px 80px;
    text-align: center;
}

.s70e-footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--s70e-primary);
    margin-bottom: 12px;
}

.s70e-footer-desc {
    font-size: 1.1rem;
    color: var(--s70e-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.s70e-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.s70e-footer-link {
    font-size: 1.1rem;
    color: var(--s70e-text-secondary);
    padding: 6px 14px;
    border: 1px solid var(--s70e-border-color);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.s70e-footer-link:hover {
    color: var(--s70e-primary);
    border-color: var(--s70e-primary);
    background: rgba(176, 48, 96, 0.08);
}

.s70e-footer-copy {
    font-size: 1rem;
    color: var(--s70e-text-secondary);
    opacity: 0.6;
}

/* ============================================
   Utility Classes
   ============================================ */
.s70e-text-center { text-align: center; }
.s70e-mt-1 { margin-top: 10px; }
.s70e-mt-2 { margin-top: 18px; }
.s70e-mb-1 { margin-bottom: 10px; }
.s70e-mb-2 { margin-bottom: 18px; }
.s70e-hidden { display: none; }

/* ============================================
   Animations
   ============================================ */
@keyframes s70e-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes s70e-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.s70e-animate-in {
    animation: s70e-fadeInUp 0.5s ease forwards;
}

/* ============================================
   Desktop Adjustments
   ============================================ */
@media (min-width: 769px) {
    .s70e-game-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }

    .s70e-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .s70e-hero {
        padding: 48px 40px 52px;
    }

    .s70e-hero-title {
        font-size: 2.8rem;
    }

    .s70e-section {
        padding: 0 32px 32px;
    }

    .s70e-content-page {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 24px 32px;
    }

    .s70e-footer {
        padding: 40px 24px 32px;
    }
}
