/**
 * ta77.club - Main Stylesheet
 * All classes use prefix "gdcf-" for namespace isolation
 * Color Palette: #9966CC | #CC99FF | #E0E0E0 | #0F0F23 | #40E0D0 | #7B68EE
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --gdcf-primary: #9966CC;
    --gdcf-secondary: #CC99FF;
    --gdcf-accent: #40E0D0;
    --gdcf-bg-dark: #0F0F23;
    --gdcf-bg-light: #1a1a3e;
    --gdcf-text-light: #E0E0E0;
    --gdcf-text-muted: #a0a0c0;
    --gdcf-purple: #7B68EE;
    --gdcf-gradient: linear-gradient(135deg, #9966CC 0%, #7B68EE 100%);
    --gdcf-shadow: 0 4px 15px rgba(153, 102, 204, 0.3);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gdcf-bg-dark);
    color: var(--gdcf-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.gdcf-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gdcf-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Header Styles */
.gdcf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--gdcf-bg-dark) 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.gdcf-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gdcf-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.gdcf-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gdcf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gdcf-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gdcf-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.gdcf-btn-login {
    background: transparent;
    border: 2px solid var(--gdcf-primary);
    color: var(--gdcf-primary);
}

.gdcf-btn-login:hover {
    background: var(--gdcf-primary);
    color: var(--gdcf-bg-dark);
}

.gdcf-btn-register {
    background: var(--gdcf-gradient);
    color: #fff;
    box-shadow: var(--gdcf-shadow);
}

.gdcf-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 102, 204, 0.4);
}

.gdcf-menu-toggle {
    background: transparent;
    border: none;
    color: var(--gdcf-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.gdcf-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gdcf-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid rgba(153, 102, 204, 0.3);
}

.gdcf-menu-active {
    right: 0;
}

.gdcf-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-menu-close {
    background: transparent;
    border: none;
    color: var(--gdcf-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.gdcf-nav-list {
    list-style: none;
}

.gdcf-nav-item {
    margin-bottom: 1.5rem;
}

.gdcf-nav-link {
    display: block;
    padding: 1rem;
    color: var(--gdcf-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gdcf-nav-link:hover {
    background: rgba(153, 102, 204, 0.2);
    color: var(--gdcf-secondary);
}

.gdcf-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;
}

.gdcf-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.gdcf-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .gdcf-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.gdcf-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.gdcf-slides {
    position: relative;
}

.gdcf-slide {
    display: none;
    cursor: pointer;
}

.gdcf-slide-active {
    display: block;
}

.gdcf-slide img {
    width: 100%;
    border-radius: 12px;
}

.gdcf-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.gdcf-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gdcf-dot-active {
    background: var(--gdcf-accent);
    transform: scale(1.2);
}

/* Section Styles */
.gdcf-section {
    padding: 2rem 1.5rem;
}

.gdcf-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gdcf-secondary);
    text-align: center;
}

.gdcf-section-subtitle {
    font-size: 1.4rem;
    color: var(--gdcf-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.gdcf-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gdcf-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gdcf-game-card:hover {
    transform: translateY(-5px);
}

.gdcf-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(153, 102, 204, 0.3);
}

.gdcf-game-name {
    font-size: 1.1rem;
    color: var(--gdcf-text-light);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.gdcf-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gdcf-accent);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gdcf-primary);
}

/* Content Card */
.gdcf-content-card {
    background: var(--gdcf-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-content-card h3 {
    font-size: 1.6rem;
    color: var(--gdcf-secondary);
    margin-bottom: 1rem;
}

.gdcf-content-card p {
    font-size: 1.3rem;
    color: var(--gdcf-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Promo Link Style */
.gdcf-promo-text {
    color: var(--gdcf-accent);
    font-weight: 600;
    cursor: pointer;
}

.gdcf-promo-text:hover {
    text-decoration: underline;
}

/* Footer */
.gdcf-footer {
    background: var(--gdcf-bg-light);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gdcf-footer-link {
    font-size: 1.2rem;
    color: var(--gdcf-text-muted);
    transition: color 0.3s ease;
}

.gdcf-footer-link:hover {
    color: var(--gdcf-secondary);
}

.gdcf-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gdcf-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gdcf-partner-logo:hover {
    opacity: 1;
}

.gdcf-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gdcf-text-muted);
}

/* Bottom Navigation */
.gdcf-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 62, 0.98) 0%, var(--gdcf-bg-dark) 100%);
    border-top: 1px solid rgba(153, 102, 204, 0.3);
    padding: 0.5rem 0;
}

.gdcf-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.gdcf-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--gdcf-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
}

.gdcf-nav-btn:hover {
    color: var(--gdcf-accent);
    background: rgba(64, 224, 208, 0.1);
}

.gdcf-nav-btn.active {
    color: var(--gdcf-accent);
}

.gdcf-nav-btn i,
.gdcf-nav-btn span.iconify {
    font-size: 24px;
    margin-bottom: 4px;
}

.gdcf-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .gdcf-bottom-nav {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .gdcf-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gdcf-header-inner {
        padding: 0.8rem 1rem;
    }

    .gdcf-btn {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.gdcf-text-center {
    text-align: center;
}

.gdcf-mb-1 {
    margin-bottom: 1rem;
}

.gdcf-mb-2 {
    margin-bottom: 2rem;
}

.gdcf-mt-2 {
    margin-top: 2rem;
}

.gdcf-hidden {
    display: none;
}

/* Animation */
@keyframes gdcf-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gdcf-animate {
    animation: gdcf-fade-in 0.5s ease forwards;
}

/* Features List */
.gdcf-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gdcf-feature-item {
    background: var(--gdcf-bg-light);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-feature-item i {
    font-size: 2.4rem;
    color: var(--gdcf-accent);
    margin-bottom: 0.5rem;
}

.gdcf-feature-item h4 {
    font-size: 1.3rem;
    color: var(--gdcf-secondary);
    margin-bottom: 0.3rem;
}

.gdcf-feature-item p {
    font-size: 1.1rem;
    color: var(--gdcf-text-muted);
}

/* RTP Stats */
.gdcf-rtp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.gdcf-rtp-item {
    background: var(--gdcf-bg-light);
    padding: 1rem 0.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gdcf-accent);
}

.gdcf-rtp-label {
    font-size: 1rem;
    color: var(--gdcf-text-muted);
}

/* Promo Button Large */
.gdcf-promo-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--gdcf-gradient);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    box-shadow: var(--gdcf-shadow);
    transition: all 0.3s ease;
}

.gdcf-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 102, 204, 0.5);
}

/* FAQ Accordion */
.gdcf-faq-item {
    background: var(--gdcf-bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(153, 102, 204, 0.2);
}

.gdcf-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gdcf-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gdcf-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--gdcf-text-muted);
    line-height: 1.6;
}
