/**
 * Jiliqq - Design Stylesheet
 * Mobile-first responsive design for gaming platform
 * Color Palette: #1B263B | #FFEF94 | #00695C | #CCCCCC
 * @version 1.0.0
 */

/* CSS Custom Properties */
:root {
    --vc2c-primary: #00695C;
    --vc2c-secondary: #FFEF94;
    --vc2c-bg-dark: #1B263B;
    --vc2c-bg-light: #2d3a52;
    --vc2c-text-light: #CCCCCC;
    --vc2c-text-white: #FFFFFF;
    --vc2c-accent: #FFEF94;
    --vc2c-success: #4CAF50;
    --vc2c-warning: #FF9800;
    --vc2c-error: #F44336;
    --vc2c-border-radius: 8px;
    --vc2c-transition: all 0.3s ease;
    --vc2c-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --vc2c-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--vc2c-bg-dark);
    color: var(--vc2c-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container and Layout */
.vc2c-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.vc2c-wrapper {
    padding-top: 6.4rem;
    padding-bottom: 8rem;
}

@media (min-width: 769px) {
    .vc2c-container {
        max-width: 1200px;
    }

    .vc2c-wrapper {
        padding-bottom: 2rem;
    }
}

/* Header Styles */
.vc2c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--vc2c-bg-dark) 0%, rgba(27, 38, 59, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 239, 148, 0.1);
}

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

@media (min-width: 769px) {
    .vc2c-header-inner {
        max-width: 1200px;
    }
}

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

.vc2c-logo img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
}

.vc2c-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vc2c-secondary);
    letter-spacing: 0.5px;
}

.vc2c-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc2c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--vc2c-border-radius);
    cursor: pointer;
    transition: var(--vc2c-transition);
    border: none;
    min-height: 4.4rem;
}

.vc2c-btn-primary {
    background: linear-gradient(135deg, var(--vc2c-primary) 0%, #00897B 100%);
    color: var(--vc2c-text-white);
}

.vc2c-btn-primary:hover {
    background: linear-gradient(135deg, #00897B 0%, var(--vc2c-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--vc2c-shadow);
}

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

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

.vc2c-btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    min-height: 3.6rem;
}

/* Hamburger Menu */
.vc2c-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2.8rem;
    height: 2.4rem;
    cursor: pointer;
    z-index: 10001;
}

.vc2c-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--vc2c-secondary);
    border-radius: 2px;
    transition: var(--vc2c-transition);
}

.vc2c-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.vc2c-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.vc2c-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.vc2c-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--vc2c-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 239, 148, 0.1);
}

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

.vc2c-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: var(--vc2c-transition);
}

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

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

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

.vc2c-nav-link {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--vc2c-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: var(--vc2c-border-radius);
    transition: var(--vc2c-transition);
}

.vc2c-nav-link:hover {
    background: var(--vc2c-bg-light);
    color: var(--vc2c-secondary);
}

/* Carousel/Slider Styles */
.vc2c-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--vc2c-border-radius);
    margin-bottom: 2rem;
}

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

.vc2c-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.vc2c-slide-active {
    opacity: 1;
    position: relative;
}

.vc2c-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}

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

.vc2c-slide-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--vc2c-transition);
}

.vc2c-dot-active {
    background: var(--vc2c-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.vc2c-section {
    margin-bottom: 3rem;
}

.vc2c-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--vc2c-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--vc2c-primary);
}

.vc2c-section-subtitle {
    font-size: 1.6rem;
    color: var(--vc2c-text-light);
    margin-bottom: 1rem;
}

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

@media (min-width: 769px) {
    .vc2c-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.vc2c-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--vc2c-bg-light);
    border-radius: var(--vc2c-border-radius);
    cursor: pointer;
    transition: var(--vc2c-transition);
    text-decoration: none;
}

.vc2c-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vc2c-shadow);
    background: linear-gradient(135deg, var(--vc2c-bg-light) 0%, var(--vc2c-primary) 100%);
}

.vc2c-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.vc2c-game-name {
    font-size: 1.1rem;
    color: var(--vc2c-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Category Tabs */
.vc2c-category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--vc2c-secondary);
    margin-bottom: 1.2rem;
    margin-top: 2rem;
}

.vc2c-category-title i {
    font-size: 2rem;
    color: var(--vc2c-primary);
}

/* Content Cards */
.vc2c-card {
    background: var(--vc2c-bg-light);
    border-radius: var(--vc2c-border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 239, 148, 0.1);
}

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

.vc2c-card-text {
    font-size: 1.4rem;
    color: var(--vc2c-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vc2c-card-text:last-child {
    margin-bottom: 0;
}

/* Features List */
.vc2c-features {
    display: grid;
    gap: 1.5rem;
}

.vc2c-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.vc2c-feature-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vc2c-primary) 0%, #00897B 100%);
    border-radius: 50%;
    color: var(--vc2c-text-white);
    font-size: 2rem;
}

.vc2c-feature-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vc2c-secondary);
    margin-bottom: 0.5rem;
}

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

/* Footer Styles */
.vc2c-footer {
    background: linear-gradient(180deg, var(--vc2c-bg-light) 0%, var(--vc2c-bg-dark) 100%);
    padding: 3rem 1.6rem 2rem;
    border-top: 1px solid rgba(255, 239, 148, 0.1);
}

.vc2c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vc2c-footer-link {
    color: var(--vc2c-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--vc2c-transition);
}

.vc2c-footer-link:hover {
    color: var(--vc2c-secondary);
}

.vc2c-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.vc2c-partner-logo {
    height: 2.4rem;
    opacity: 0.7;
    transition: var(--vc2c-transition);
}

.vc2c-partner-logo:hover {
    opacity: 1;
}

.vc2c-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vc2c-text-light);
    opacity: 0.7;
}

/* Mobile Bottom Navigation */
.vc2c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6.4rem;
    background: linear-gradient(180deg, rgba(45, 58, 82, 0.98) 0%, rgba(27, 38, 59, 0.99) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 239, 148, 0.15);
    padding-bottom: env(safe-area-inset-bottom);
}

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

.vc2c-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 6rem;
    padding: 0.8rem;
    color: var(--vc2c-text-light);
    text-decoration: none;
    transition: var(--vc2c-transition);
    border-radius: 1.2rem;
    cursor: pointer;
}

.vc2c-nav-btn:hover,
.vc2c-nav-btn-active {
    color: var(--vc2c-secondary);
    background: rgba(255, 239, 148, 0.1);
}

.vc2c-nav-btn:active {
    transform: scale(0.95);
}

.vc2c-nav-btn i,
.vc2c-nav-btn .material-icons-outlined {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.vc2c-nav-btn ion-icon {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

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

/* Promo Links */
.vc2c-promo-link {
    color: var(--vc2c-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--vc2c-transition);
}

.vc2c-promo-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* RTP Section */
.vc2c-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vc2c-rtp-item {
    background: var(--vc2c-bg-light);
    border-radius: var(--vc2c-border-radius);
    padding: 1.2rem;
    text-align: center;
}

.vc2c-rtp-game {
    font-size: 1.2rem;
    color: var(--vc2c-text-light);
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc2c-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vc2c-success);
}

/* Toast Notifications */
.vc2c-toast {
    position: fixed;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1.2rem 2rem;
    border-radius: var(--vc2c-border-radius);
    font-size: 1.4rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.vc2c-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.vc2c-toast-success {
    background: var(--vc2c-success);
    color: white;
}

.vc2c-toast-error {
    background: var(--vc2c-error);
    color: white;
}

.vc2c-toast-info {
    background: var(--vc2c-primary);
    color: white;
}

/* FAQ Accordion */
.vc2c-faq-item {
    background: var(--vc2c-bg-light);
    border-radius: var(--vc2c-border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.vc2c-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vc2c-secondary);
}

.vc2c-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--vc2c-text-light);
    line-height: 1.6;
}

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

.vc2c-text-primary {
    color: var(--vc2c-primary);
}

.vc2c-text-secondary {
    color: var(--vc2c-secondary);
}

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

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

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

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

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

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

    .vc2c-hidden-desktop {
        display: none;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .vc2c-hamburger {
        display: none;
    }

    .vc2c-desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .vc2c-desktop-nav .vc2c-nav-link {
        padding: 0.8rem 1.2rem;
        font-size: 1.4rem;
    }

    .vc2c-mobile-menu {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vc2c-desktop-nav {
        display: none;
    }

    main {
        padding-bottom: 8rem;
    }
}
