/**
 * Dairy Queen PH - Core Stylesheet
 * Website: dairyqueenph.sbs
 * Prefix: w47f3-
 * Colors: #0C0C0C (dark) | #F0E68C (accent) | #FFEBCD (light)
 */

/* CSS Variables */
:root {
    --w47f3-bg-primary: #0C0C0C;
    --w47f3-bg-secondary: #1a1a1a;
    --w47f3-bg-card: #222222;
    --w47f3-accent: #F0E68C;
    --w47f3-accent-hover: #dace6b;
    --w47f3-text-primary: #FFEBCD;
    --w47f3-text-secondary: #b8a98a;
    --w47f3-text-muted: #8a7d60;
    --w47f3-border: #333333;
    --w47f3-shadow: rgba(240, 230, 140, 0.15);
    --w47f3-gradient: linear-gradient(135deg, #F0E68C 0%, #FFEBCD 100%);
}

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

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

/* Header Styles */
.w47f3-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0C0C0C 0%, #1a1a1a 100%);
    border-bottom: 1px solid var(--w47f3-border);
    z-index: 1000;
    padding: 0.8rem 0;
}

.w47f3-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.w47f3-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

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

.w47f3-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w47f3-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.w47f3-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--w47f3-shadow);
}

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

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

.w47f3-menu-toggle {
    background: transparent;
    border: none;
    color: var(--w47f3-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

.w47f3-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

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

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

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

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

.w47f3-nav-link {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--w47f3-text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.4rem;
}

.w47f3-nav-link:hover {
    background: var(--w47f3-bg-card);
    color: var(--w47f3-accent);
}

/* Main Content */
.w47f3-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel/Slider */
.w47f3-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.w47f3-slide {
    display: none;
    cursor: pointer;
}

.w47f3-slide:first-child {
    display: block;
}

.w47f3-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

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

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

.w47f3-dot-active {
    background: var(--w47f3-accent);
    width: 20px;
    border-radius: 4px;
}

/* Section Styles */
.w47f3-section {
    padding: 2rem 0;
}

.w47f3-section-title {
    font-size: 1.8rem;
    color: var(--w47f3-accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.w47f3-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--w47f3-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

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

.w47f3-game-card {
    background: var(--w47f3-bg-card);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--w47f3-border);
}

.w47f3-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--w47f3-accent);
    box-shadow: 0 6px 20px var(--w47f3-shadow);
}

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

.w47f3-game-name {
    font-size: 1rem;
    color: var(--w47f3-text-primary);
    text-align: center;
    padding: 0.5rem 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Label */
.w47f3-category-label {
    display: inline-block;
    background: var(--w47f3-bg-card);
    color: var(--w47f3-accent);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--w47f3-border);
}

/* Info Cards */
.w47f3-info-card {
    background: var(--w47f3-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--w47f3-border);
}

.w47f3-info-card h3 {
    color: var(--w47f3-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.w47f3-info-card p {
    color: var(--w47f3-text-secondary);
    font-size: 1.3rem;
    line-height: 1.6;
}

.w47f3-info-card a {
    color: var(--w47f3-accent);
    text-decoration: none;
    font-weight: 600;
}

.w47f3-info-card a:hover {
    text-decoration: underline;
}

/* Feature List */
.w47f3-feature-list {
    list-style: none;
}

.w47f3-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--w47f3-border);
}

.w47f3-feature-item:last-child {
    border-bottom: none;
}

.w47f3-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--w47f3-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.w47f3-feature-icon i {
    color: var(--w47f3-bg-primary);
    font-size: 1.6rem;
}

/* Testimonials */
.w47f3-testimonial {
    background: var(--w47f3-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--w47f3-accent);
}

.w47f3-testimonial-text {
    color: var(--w47f3-text-primary);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

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

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

.w47f3-payment-item {
    background: var(--w47f3-bg-card);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--w47f3-border);
    font-size: 1.2rem;
    color: var(--w47f3-text-primary);
}

/* Footer */
.w47f3-footer {
    background: var(--w47f3-bg-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--w47f3-border);
}

.w47f3-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

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

.w47f3-footer-desc {
    color: var(--w47f3-text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.w47f3-footer-link {
    color: var(--w47f3-accent);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background: var(--w47f3-bg-card);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.w47f3-footer-link:hover {
    background: var(--w47f3-accent);
    color: var(--w47f3-bg-primary);
}

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

.w47f3-footer-promo .w47f3-btn {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

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

/* Bottom Navigation */
.w47f3-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
    border-top: 1px solid var(--w47f3-border);
    z-index: 1000;
    padding: 0.5rem 0;
}

.w47f3-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.w47f3-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--w47f3-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 60px;
    min-height: 56px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.w47f3-nav-btn:hover,
.w47f3-nav-btn.active {
    color: var(--w47f3-accent);
}

.w47f3-nav-btn i {
    font-size: 22px;
    margin-bottom: 0.3rem;
}

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

/* Promo Banner */
.w47f3-promo-banner {
    background: var(--w47f3-gradient);
    color: var(--w47f3-bg-primary);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.w47f3-promo-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.w47f3-promo-banner p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Winner Showcase */
.w47f3-winner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--w47f3-bg-card);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    border: 1px solid var(--w47f3-border);
}

.w47f3-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--w47f3-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--w47f3-bg-primary);
}

.w47f3-winner-info {
    flex: 1;
}

.w47f3-winner-name {
    color: var(--w47f3-text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.w47f3-winner-game {
    color: var(--w47f3-text-muted);
    font-size: 1rem;
}

.w47f3-winner-amount {
    color: var(--w47f3-accent);
    font-size: 1.4rem;
    font-weight: 700;
}

/* App Download CTA */
.w47f3-app-cta {
    background: var(--w47f3-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--w47f3-accent);
}

.w47f3-app-cta h3 {
    color: var(--w47f3-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.w47f3-app-cta p {
    color: var(--w47f3-text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (min-width: 769px) {
    .w47f3-bottom-nav {
        display: none;
    }

    .w47f3-main {
        padding-bottom: 2rem;
    }

    .w47f3-container {
        max-width: 768px;
    }

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

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

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

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

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

.w47f3-highlight {
    color: var(--w47f3-accent);
    font-weight: 600;
}
