/**
 * DairyQueenPH - Theme Stylesheet
 * @description Main CSS theme for DairyQueenPH gaming platform
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v44e-primary: #DA70D6;
    --v44e-bg: #0C0C0C;
    --v44e-text: #C0C0C0;
    --v44e-white: #ffffff;
    --v44e-black: #000000;
    --v44e-gray-dark: #1a1a1a;
    --v44e-gray-light: #2a2a2a;
    --v44e-accent: #e91e63;
    --v44e-success: #4caf50;
    --v44e-warning: #ff9800;
    --v44e-gradient: linear-gradient(135deg, var(--v44e-primary) 0%, var(--v44e-accent) 100%);
    --v44e-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --v44e-radius: 8px;
    --v44e-radius-lg: 12px;
    --v44e-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--v44e-bg);
    color: var(--v44e-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--v44e-primary);
    text-decoration: none;
    transition: var(--v44e-transition);
}

a:hover {
    color: var(--v44e-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.v44e-container {
    width: 100%;
    padding: 0 1.2rem;
    margin: 0 auto;
}

.v44e-wrapper {
    padding: 1.5rem 0;
}

/* Header */
.v44e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(218, 112, 214, 0.2);
}

.v44e-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    height: 56px;
}

.v44e-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v44e-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.v44e-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v44e-white);
    background: var(--v44e-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v44e-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v44e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--v44e-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v44e-transition);
    border: none;
    min-height: 36px;
    min-width: 60px;
}

.v44e-btn-primary {
    background: var(--v44e-gradient);
    color: var(--v44e-white);
}

.v44e-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 112, 214, 0.4);
}

.v44e-btn-outline {
    background: transparent;
    border: 1px solid var(--v44e-primary);
    color: var(--v44e-primary);
}

.v44e-btn-outline:hover {
    background: var(--v44e-primary);
    color: var(--v44e-white);
}

/* Hamburger Menu */
.v44e-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.v44e-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--v44e-primary);
    transition: var(--v44e-transition);
}

.v44e-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.v44e-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.v44e-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.v44e-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: var(--v44e-transition);
    z-index: 999;
}

.v44e-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.v44e-nav-menu {
    position: fixed;
    top: 56px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 56px);
    background: var(--v44e-gray-dark);
    transition: var(--v44e-transition);
    z-index: 1000;
    overflow-y: auto;
    padding: 1.5rem 0;
}

.v44e-nav-open {
    right: 0;
}

.v44e-nav-list {
    list-style: none;
}

.v44e-nav-item {
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.v44e-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--v44e-text);
    font-size: 1.4rem;
    transition: var(--v44e-transition);
}

.v44e-nav-link:hover {
    background: rgba(218, 112, 214, 0.1);
    color: var(--v44e-primary);
}

.v44e-nav-link i {
    margin-right: 0.8rem;
    width: 20px;
}

/* Main Content */
.v44e-main {
    padding-top: 56px;
    padding-bottom: 70px;
}

/* Carousel/Slider */
.v44e-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--v44e-radius-lg);
    margin: 1.2rem;
}

.v44e-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v44e-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.v44e-slide-active {
    opacity: 1;
    position: relative;
}

.v44e-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--v44e-radius-lg);
}

.v44e-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 0;
}

.v44e-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v44e-gray-light);
    cursor: pointer;
    transition: var(--v44e-transition);
}

.v44e-dot-active {
    background: var(--v44e-primary);
    transform: scale(1.2);
}

/* Section Titles */
.v44e-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v44e-white);
    margin-bottom: 1.2rem;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v44e-section-title::before {
    content: '';
    width: 4px;
    height: 1.8rem;
    background: var(--v44e-gradient);
    border-radius: 2px;
}

/* Game Grid */
.v44e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 0 1.2rem;
}

.v44e-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem;
    background: var(--v44e-gray-dark);
    border-radius: var(--v44e-radius);
    transition: var(--v44e-transition);
    cursor: pointer;
}

.v44e-game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(218, 112, 214, 0.2);
}

.v44e-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--v44e-radius);
}

.v44e-game-name {
    font-size: 1rem;
    color: var(--v44e-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Cards */
.v44e-card {
    background: var(--v44e-gray-dark);
    border-radius: var(--v44e-radius-lg);
    padding: 1.5rem;
    margin: 1.2rem;
    border: 1px solid rgba(218, 112, 214, 0.1);
}

.v44e-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v44e-white);
    margin-bottom: 1rem;
}

.v44e-card-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--v44e-text);
}

/* Content Sections */
.v44e-content-section {
    padding: 1.5rem 1.2rem;
}

.v44e-content-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v44e-white);
    margin-bottom: 1rem;
}

.v44e-content-section p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--v44e-text);
}

.v44e-content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.v44e-content-section li {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--v44e-text);
    margin-bottom: 0.5rem;
}

/* Footer */
.v44e-footer {
    background: var(--v44e-gray-dark);
    padding: 1.5rem 1.2rem 2rem;
    margin-bottom: 64px;
}

.v44e-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v44e-footer-link {
    font-size: 1.2rem;
    color: var(--v44e-text);
    padding: 0.4rem 0.8rem;
    background: var(--v44e-gray-light);
    border-radius: var(--v44e-radius);
    transition: var(--v44e-transition);
}

.v44e-footer-link:hover {
    color: var(--v44e-primary);
    background: rgba(218, 112, 214, 0.1);
}

.v44e-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v44e-partners img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: var(--v44e-transition);
}

.v44e-partners img:hover {
    opacity: 1;
}

.v44e-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--v44e-text);
    opacity: 0.7;
}

/* Bottom Navigation */
.v44e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v44e-gray-dark);
    border-top: 1px solid rgba(218, 112, 214, 0.2);
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
    height: 64px;
}

.v44e-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 0.5rem;
}

.v44e-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    color: var(--v44e-text);
    transition: var(--v44e-transition);
    min-width: 44px;
    min-height: 44px;
}

.v44e-bottom-item:hover,
.v44e-bottom-item.v44e-active {
    color: var(--v44e-primary);
}

.v44e-bottom-item i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.v44e-bottom-item span {
    font-size: 1rem;
}

/* Affiliate Links */
.v44e-aff-link {
    color: var(--v44e-primary);
    font-weight: 600;
    cursor: pointer;
}

.v44e-aff-link:hover {
    color: var(--v44e-white);
    text-decoration: underline;
}

.v44e-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--v44e-gradient);
    color: var(--v44e-white);
    border-radius: var(--v44e-radius-lg);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--v44e-transition);
    border: none;
    margin: 1rem 0;
}

.v44e-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(218, 112, 214, 0.4);
}

/* Features List */
.v44e-features {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.2rem;
}

.v44e-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--v44e-gray-dark);
    border-radius: var(--v44e-radius);
}

.v44e-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v44e-gradient);
    border-radius: 50%;
    color: var(--v44e-white);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.v44e-feature-content h3 {
    font-size: 1.4rem;
    color: var(--v44e-white);
    margin-bottom: 0.4rem;
}

.v44e-feature-content p {
    font-size: 1.2rem;
    color: var(--v44e-text);
    line-height: 1.4;
}

/* FAQ Section */
.v44e-faq-item {
    margin-bottom: 0.8rem;
    background: var(--v44e-gray-dark);
    border-radius: var(--v44e-radius);
    overflow: hidden;
}

.v44e-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v44e-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v44e-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--v44e-text);
    line-height: 1.5;
}

/* Promo Banner */
.v44e-promo-banner {
    background: var(--v44e-gradient);
    padding: 1.5rem;
    margin: 1.2rem;
    border-radius: var(--v44e-radius-lg);
    text-align: center;
}

.v44e-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--v44e-white);
    margin-bottom: 0.5rem;
}

.v44e-promo-banner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* RTP Stats */
.v44e-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem 1.2rem;
}

.v44e-rtp-item {
    background: var(--v44e-gray-dark);
    padding: 1rem;
    border-radius: var(--v44e-radius);
    text-align: center;
}

.v44e-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v44e-primary);
}

.v44e-rtp-label {
    font-size: 1.1rem;
    color: var(--v44e-text);
    margin-top: 0.4rem;
}

/* Responsive adjustments */
@media (max-width: 360px) {
    html {
        font-size: 55%;
    }

    .v44e-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 380px) {
    .v44e-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
