/**
 * Playtime Login - Theme Stylesheet
 * @prefix v4c4-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v4c4-primary: #FFA500;
    --v4c4-secondary: #FF8C00;
    --v4c4-bg-dark: #3A3A3A;
    --v4c4-bg-darker: #2A2A2A;
    --v4c4-bg-card: #4A4A4A;
    --v4c4-text-light: #FFFFFF;
    --v4c4-text-muted: #B0B0B0;
    --v4c4-border: #555555;
    --v4c4-success: #28A745;
    --v4c4-gradient: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    --v4c4-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v4c4-radius: 8px;
    --v4c4-radius-lg: 12px;
}

/* Base Styles */
* {
    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(--v4c4-bg-dark);
    color: var(--v4c4-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--v4c4-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v4c4-text-light);
}

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

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

.v4c4-wrapper {
    padding: 2rem 0;
}

/* Header */
.v4c4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--v4c4-bg-darker);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: var(--v4c4-shadow);
    transition: all 0.3s ease;
}

.v4c4-header-scrolled {
    background: rgba(42, 42, 42, 0.98);
    padding: 0.8rem 0;
}

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

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

.v4c4-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

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

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

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

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

.v4c4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.v4c4-btn-outline {
    background: transparent;
    color: var(--v4c4-primary);
    border: 2px solid var(--v4c4-primary);
}

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

.v4c4-menu-toggle {
    background: none;
    border: none;
    color: var(--v4c4-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.v4c4-menu-open {
    right: 0;
}

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

.v4c4-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.v4c4-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--v4c4-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

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

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

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

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

@media (min-width: 769px) {
    .v4c4-main {
        padding-bottom: 2rem;
    }
}

/* Hero Carousel */
.v4c4-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--v4c4-radius-lg) var(--v4c4-radius-lg);
}

.v4c4-slides {
    position: relative;
}

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

.v4c4-slide.v4c4-active {
    display: block;
}

.v4c4-slide img {
    width: 100%;
    height: auto;
}

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

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

.v4c4-dot-active {
    background: var(--v4c4-primary);
    transform: scale(1.2);
}

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

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

.v4c4-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--v4c4-gradient);
    border-radius: 2px;
}

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

.v4c4-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v4c4-game-item:hover {
    transform: scale(1.05);
}

.v4c4-game-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    border-radius: var(--v4c4-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.v4c4-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4c4-game-name {
    font-size: 1.1rem;
    color: var(--v4c4-text-light);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.v4c4-category {
    margin-bottom: 2.5rem;
}

.v4c4-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v4c4-primary);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--v4c4-primary);
}

/* Cards */
.v4c4-card {
    background: var(--v4c4-bg-card);
    border-radius: var(--v4c4-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--v4c4-shadow);
}

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

.v4c4-card-text {
    color: var(--v4c4-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.v4c4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--v4c4-bg-darker);
    border-radius: var(--v4c4-radius);
}

.v4c4-feature-icon {
    color: var(--v4c4-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

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

/* Promo Banner */
.v4c4-promo-banner {
    background: var(--v4c4-gradient);
    border-radius: var(--v4c4-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.v4c4-promo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v4c4-bg-darker);
    margin-bottom: 1rem;
}

.v4c4-promo-text {
    color: var(--v4c4-bg-dark);
    margin-bottom: 1.5rem;
}

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

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

.v4c4-footer-desc {
    color: var(--v4c4-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.v4c4-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--v4c4-bg-card);
    border-radius: var(--v4c4-radius);
    font-size: 1.2rem;
    color: var(--v4c4-text-light);
    transition: all 0.3s ease;
}

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

.v4c4-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--v4c4-border);
}

.v4c4-footer-nav a {
    font-size: 1.2rem;
    color: var(--v4c4-text-muted);
}

.v4c4-footer-nav a:hover {
    color: var(--v4c4-primary);
}

.v4c4-copyright {
    text-align: center;
    color: var(--v4c4-text-muted);
    font-size: 1.1rem;
}

/* Mobile Bottom Navigation */
.v4c4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--v4c4-bg-darker);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--v4c4-border);
}

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

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

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

.v4c4-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

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

/* Mobile: Add bottom padding */
@media (max-width: 768px) {
    .v4c4-main {
        padding-bottom: 80px;
    }
}

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

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

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

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

.v4c4-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .v4c4-hidden-mobile {
        display: block;
    }
}

/* Testimonials */
.v4c4-testimonial {
    background: var(--v4c4-bg-card);
    border-radius: var(--v4c4-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.v4c4-testimonial-text {
    font-style: italic;
    color: var(--v4c4-text-muted);
    margin-bottom: 1rem;
}

.v4c4-testimonial-author {
    color: var(--v4c4-primary);
    font-weight: 600;
}

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

.v4c4-payment-item {
    background: var(--v4c4-bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--v4c4-radius);
    font-size: 1.2rem;
    color: var(--v4c4-text-light);
}

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

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

.v4c4-winner-name {
    font-weight: 600;
    color: var(--v4c4-text-light);
}

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

.v4c4-winner-amount {
    font-weight: 700;
    color: var(--v4c4-success);
}

/* RTP Table */
.v4c4-rtp-table {
    width: 100%;
    border-collapse: collapse;
}

.v4c4-rtp-table th,
.v4c4-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--v4c4-border);
}

.v4c4-rtp-table th {
    color: var(--v4c4-primary);
    font-weight: 600;
}

/* FAQ Accordion */
.v4c4-faq-item {
    margin-bottom: 0.8rem;
}

.v4c4-faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    background: var(--v4c4-bg-card);
    border: none;
    border-radius: var(--v4c4-radius);
    color: var(--v4c4-text-light);
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v4c4-faq-question:hover {
    background: var(--v4c4-bg-darker);
}

.v4c4-faq-answer {
    padding: 1rem 1.5rem;
    background: var(--v4c4-bg-darker);
    color: var(--v4c4-text-muted);
    line-height: 1.6;
    border-radius: 0 0 var(--v4c4-radius) var(--v4c4-radius);
}

/* App Download CTA */
.v4c4-app-cta {
    background: var(--v4c4-gradient);
    border-radius: var(--v4c4-radius-lg);
    padding: 2rem;
    text-align: center;
}

.v4c4-app-cta h3 {
    color: var(--v4c4-bg-darker);
    margin-bottom: 0.5rem;
}

.v4c4-app-cta p {
    color: var(--v4c4-bg-dark);
    margin-bottom: 1rem;
}

.v4c4-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--v4c4-bg-darker);
    color: var(--v4c4-text-light);
    border-radius: var(--v4c4-radius);
    font-weight: 600;
}

/* Security Badge */
.v4c4-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--v4c4-bg-card);
    border-radius: var(--v4c4-radius-lg);
    margin: 1.5rem 0;
}

.v4c4-security-item {
    text-align: center;
}

.v4c4-security-item i {
    font-size: 2.4rem;
    color: var(--v4c4-success);
    margin-bottom: 0.5rem;
}

.v4c4-security-item span {
    font-size: 1.1rem;
    color: var(--v4c4-text-muted);
}
