/**
 * PhoneJoy Casino - Design Stylesheet
 * Prefix: vfce-
 * Colors: #7B68EE | #9932CC | #66CDAA | #1C2833 | #8B008B
 */

:root {
    --vfce-primary: #9932CC;
    --vfce-secondary: #7B68EE;
    --vfce-accent: #66CDAA;
    --vfce-bg-dark: #1C2833;
    --vfce-bg-darker: #0D1117;
    --vfce-text-light: #FFFFFF;
    --vfce-text-muted: #B0B0B0;
    --vfce-gradient-start: #9932CC;
    --vfce-gradient-end: #8B008B;
    --vfce-success: #66CDAA;
    --vfce-warning: #FFD700;
    --vfce-border-radius: 12px;
    --vfce-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, var(--vfce-bg-darker) 0%, var(--vfce-bg-dark) 100%);
    color: var(--vfce-text-light);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* Header */
.vfce-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 40, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 104, 238, 0.3);
}

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

.vfce-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.vfce-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--vfce-secondary), var(--vfce-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vfce-header-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.vfce-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vfce-btn-primary {
    background: linear-gradient(135deg, var(--vfce-gradient-start), var(--vfce-gradient-end));
    color: var(--vfce-text-light);
    box-shadow: 0 4px 15px rgba(153, 50, 204, 0.4);
}

.vfce-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 50, 204, 0.6);
}

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

.vfce-btn-outline:hover {
    background: var(--vfce-secondary);
    color: var(--vfce-text-light);
}

/* Main Content */
.vfce-main {
    padding-top: 70px;
    padding-bottom: 20px;
    max-width: 430px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Carousel */
.vfce-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--vfce-border-radius);
    margin-bottom: 16px;
    box-shadow: var(--vfce-shadow);
}

.vfce-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.vfce-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.vfce-slide.vfce-active {
    opacity: 1;
}

.vfce-slide img {
    width: 100%;
    border-radius: var(--vfce-border-radius);
    display: block;
}

.vfce-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

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

/* Section Title */
.vfce-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 24px 0 16px;
    text-align: center;
    background: linear-gradient(90deg, var(--vfce-secondary), var(--vfce-primary), var(--vfce-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vfce-section-title i {
    margin-right: 8px;
}

/* CTA Banner */
.vfce-cta-banner {
    background: linear-gradient(135deg, var(--vfce-gradient-start), var(--vfce-gradient-end));
    border-radius: var(--vfce-border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--vfce-shadow);
}

.vfce-cta-banner h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.vfce-cta-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

/* Content Section */
.vfce-content-section {
    background: rgba(28, 40, 51, 0.6);
    border-radius: var(--vfce-border-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.vfce-content-section h2 {
    font-size: 18px;
    color: var(--vfce-secondary);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--vfce-primary);
    padding-bottom: 8px;
}

.vfce-content-section p {
    font-size: 14px;
    color: var(--vfce-text-muted);
    margin-bottom: 12px;
}

.vfce-content-section ul {
    list-style: none;
    padding-left: 0;
}

.vfce-content-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--vfce-text-muted);
}

.vfce-content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--vfce-accent);
    font-weight: bold;
}

/* Features Grid */
.vfce-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.vfce-feature-item {
    background: rgba(28, 40, 51, 0.6);
    border-radius: var(--vfce-border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.vfce-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--vfce-primary);
    box-shadow: 0 6px 20px rgba(153, 50, 204, 0.3);
}

.vfce-feature-item i {
    font-size: 28px;
    color: var(--vfce-secondary);
    margin-bottom: 8px;
    display: block;
}

.vfce-feature-item h3 {
    font-size: 14px;
    color: var(--vfce-text-light);
    margin-bottom: 4px;
}

.vfce-feature-item p {
    font-size: 12px;
    color: var(--vfce-text-muted);
}

/* Game Grid */
.vfce-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.vfce-game-card {
    background: rgba(28, 40, 51, 0.6);
    border-radius: var(--vfce-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.vfce-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(153, 50, 204, 0.4);
    border-color: var(--vfce-primary);
}

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

.vfce-game-name {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--vfce-text-light);
    background: rgba(28, 40, 51, 0.8);
}

/* Footer */
.vfce-footer {
    background: rgba(13, 17, 23, 0.95);
    padding: 30px 16px;
    text-align: center;
    border-top: 1px solid rgba(123, 104, 238, 0.2);
}

.vfce-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.vfce-footer-brand {
    margin-bottom: 16px;
}

.vfce-footer-brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.vfce-footer-brand p {
    font-size: 14px;
    color: var(--vfce-secondary);
}

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

.vfce-footer-links a {
    color: var(--vfce-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.vfce-footer-links a:hover {
    color: var(--vfce-accent);
}

.vfce-footer-copyright {
    font-size: 12px;
    color: var(--vfce-text-muted);
    opacity: 0.7;
}

/* Bottom Navigation */
.vfce-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid rgba(123, 104, 238, 0.3);
    z-index: 1000;
}

.vfce-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    color: var(--vfce-text-muted);
    text-decoration: none;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfce-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.vfce-nav-item:hover,
.vfce-nav-item.vfce-active {
    color: var(--vfce-accent);
}

.vfce-nav-item.vfce-active i {
    color: var(--vfce-primary);
}

/* Animations */
@keyframes vfce-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.vfce-pulse {
    animation: vfce-pulse 2s infinite;
}

@keyframes vfce-glow {
    0%, 100% { box-shadow: 0 0 5px var(--vfce-primary); }
    50% { box-shadow: 0 0 20px var(--vfce-primary), 0 0 30px var(--vfce-secondary); }
}

.vfce-glow {
    animation: vfce-glow 2s infinite;
}

/* Responsive */
@media (max-width: 430px) {
    .vfce-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .vfce-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .vfce-features-grid {
        gap: 8px;
    }
}

/* Schema.org styling */
.vfce-schema {
    display: none;
}
