/**
 * SportsPlus PH - Core Stylesheet
 * Version: 1.0.0
 * All classes use sd12- prefix for namespace isolation
 * Color Palette: #FFEF94 | #2C3E50 | #495057 | #00FF00 | #CD853F | #B8860B
 */

/* CSS Variables */
:root {
    --sd12-primary: #CD853F;
    --sd12-secondary: #B8860B;
    --sd12-accent: #00FF00;
    --sd12-bg-dark: #2C3E50;
    --sd12-bg-medium: #495057;
    --sd12-text-light: #FFEF94;
    --sd12-text-white: #FFFFFF;
    --sd12-gold: #FFEF94;
    --sd12-header-height: 60px;
    --sd12-nav-height: 60px;
    --sd12-border-radius: 8px;
    --sd12-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 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(--sd12-bg-dark);
    color: var(--sd12-text-white);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

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

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

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

.sd12-wrapper {
    padding: 1rem;
}

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

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

.sd12-logo img {
    width: 32px;
    height: 32px;
}

.sd12-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sd12-gold);
    letter-spacing: 0.5px;
}

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

.sd12-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--sd12-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
    min-width: 44px;
}

.sd12-btn-primary {
    background: linear-gradient(135deg, var(--sd12-primary) 0%, var(--sd12-secondary) 100%);
    color: var(--sd12-text-white);
}

.sd12-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

.sd12-btn-secondary {
    background: transparent;
    color: var(--sd12-gold);
    border: 2px solid var(--sd12-gold);
}

.sd12-btn-secondary:hover {
    background: var(--sd12-gold);
    color: var(--sd12-bg-dark);
}

.sd12-menu-btn {
    background: transparent;
    border: none;
    color: var(--sd12-gold);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.sd12-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sd12-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 2px solid var(--sd12-primary);
}

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

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

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

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

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

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

.sd12-nav-item {
    margin-bottom: 1rem;
}

.sd12-nav-link {
    display: block;
    padding: 1rem;
    color: var(--sd12-text-light);
    font-size: 1.6rem;
    border-radius: var(--sd12-border-radius);
    transition: all 0.3s ease;
}

.sd12-nav-link:hover {
    background: var(--sd12-bg-medium);
    color: var(--sd12-gold);
}

/* Main Content */
.sd12-main {
    padding-top: var(--sd12-header-height);
    min-height: 100vh;
}

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

/* Carousel */
.sd12-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sd12-slides {
    position: relative;
    width: 100%;
}

.sd12-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.sd12-slide img {
    width: 100%;
    border-radius: 0;
}

.sd12-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.sd12-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro7a6-dot-active,
.sd12-dot:hover {
    background: var(--sd12-gold);
}

/* Section Titles */
.sd12-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sd12-gold);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.sd12-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--sd12-primary);
}

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

.sd12-game-card {
    background: var(--sd12-bg-medium);
    border-radius: var(--sd12-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.sd12-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sd12-shadow);
}

.sd12-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.sd12-game-name {
    font-size: 1.2rem;
    color: var(--sd12-text-light);
    padding: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Section */
.sd12-category-section {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.sd12-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--sd12-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sd12-category-title i {
    font-size: 2rem;
}

/* Cards */
.sd12-card {
    background: var(--sd12-bg-medium);
    border-radius: var(--sd12-border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(205, 133, 63, 0.3);
}

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

.sd12-card-content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--sd12-text-light);
}

/* Footer */
.sd12-footer {
    background: linear-gradient(135deg, var(--sd12-bg-dark) 0%, #1a252f 100%);
    padding: 3rem 1rem 2rem;
    border-top: 2px solid var(--sd12-primary);
}

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

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

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

.sd12-footer-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--sd12-bg-medium);
    color: var(--sd12-gold);
    border-radius: var(--sd12-border-radius);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.sd12-footer-link:hover {
    background: var(--sd12-primary);
    color: var(--sd12-text-white);
}

.sd12-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--sd12-text-light);
    opacity: 0.8;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sd12-bg-medium);
}

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

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

.sd12-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(--sd12-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.sd12-nav-btn:hover,
.sd12-nav-btn.sd12-active {
    color: var(--sd12-gold);
    transform: scale(1.1);
}

.sd12-nav-btn i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.sd12-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

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

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

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

.sd12-mb-3 {
    margin-bottom: 3rem;
}

.sd12-highlight {
    color: var(--sd12-gold);
    font-weight: 600;
}

.sd12-promo-link {
    color: var(--sd12-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sd12-promo-link:hover {
    color: var(--sd12-gold);
    text-decoration: underline;
}

/* Promo CTA Section */
.sd12-cta-section {
    background: linear-gradient(135deg, var(--sd12-primary) 0%, var(--sd12-secondary) 100%);
    padding: 2rem;
    text-align: center;
    border-radius: var(--sd12-border-radius);
    margin: 2rem 1rem;
}

.sd12-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sd12-text-white);
    margin-bottom: 1rem;
}

.sd12-cta-text {
    font-size: 1.4rem;
    color: var(--sd12-text-light);
    margin-bottom: 1.5rem;
}

.sd12-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--sd12-accent);
    color: var(--sd12-bg-dark);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd12-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.4);
}

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

.sd12-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--sd12-bg-medium);
    border-radius: var(--sd12-border-radius);
}

.sd12-feature-item i {
    font-size: 2rem;
    color: var(--sd12-gold);
}

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

/* Testimonials */
.sd12-testimonials {
    padding: 1rem;
}

.sd12-testimonial {
    background: var(--sd12-bg-medium);
    border-radius: var(--sd12-border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--sd12-primary);
}

.sd12-testimonial-text {
    font-size: 1.4rem;
    color: var(--sd12-text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.sd12-testimonial-author {
    font-size: 1.2rem;
    color: var(--sd12-gold);
    font-weight: 600;
}

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

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

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

    .sd12-features {
        grid-template-columns: 1fr;
    }

    .sd12-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .sd12-container {
        max-width: 768px;
    }

    .sd12-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

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