/**
 * Casino Plus App - Main Stylesheet
 * Prefix: gc5e-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --gc5e-primary: #FFCC02;
    --gc5e-secondary: #FFEB3B;
    --gc5e-accent: #FFCCCB;
    --gc5e-bg-dark: #0C0C0C;
    --gc5e-bg-card: #1a1a1a;
    --gc5e-text-light: #FFFFFF;
    --gc5e-text-gray: #C0C0C0;
    --gc5e-border: #333333;
    --gc5e-success: #4CAF50;
    --gc5e-gradient: linear-gradient(135deg, #FFCC02 0%, #FFEB3B 100%);
}

/* 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-color: var(--gc5e-bg-dark);
    color: var(--gc5e-text-light);
    line-height: 1.5;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.gc5e-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.gc5e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.gc5e-header-scrolled {
    box-shadow: 0 2px 20px rgba(255, 204, 2, 0.15);
}

.gc5e-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.gc5e-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.gc5e-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.gc5e-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gc5e-primary);
}

.gc5e-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.gc5e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.gc5e-btn-login {
    background: transparent;
    border: 1px solid var(--gc5e-primary);
    color: var(--gc5e-primary);
}

.gc5e-btn-login:hover {
    background: var(--gc5e-primary);
    color: var(--gc5e-bg-dark);
}

.gc5e-btn-register {
    background: var(--gc5e-gradient);
    color: var(--gc5e-bg-dark);
}

.gc5e-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 204, 2, 0.4);
}

.gc5e-menu-toggle {
    background: transparent;
    border: none;
    color: var(--gc5e-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.gc5e-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gc5e-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    border-left: 1px solid var(--gc5e-border);
}

.pro5e7-menu-active {
    right: 0 !important;
}

.gc5e-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;
}

.pro5e7-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gc5e-menu-list {
    list-style: none;
}

.gc5e-menu-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gc5e-border);
}

.gc5e-menu-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gc5e-text-light);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.gc5e-menu-item a:hover {
    color: var(--gc5e-primary);
}

.gc5e-menu-item i {
    width: 24px;
    text-align: center;
    color: var(--gc5e-primary);
}

/* Main Content */
.gc5e-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel/Slider */
.gc5e-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.gc5e-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.gc5e-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.gc5e-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.pro5e7-slide-active {
    opacity: 1;
}

.gc5e-slide-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.gc5e-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.gc5e-dot-active {
    background: var(--gc5e-primary);
}

/* Section Styles */
.gc5e-section {
    padding: 1.5rem 0;
}

.gc5e-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gc5e-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gc5e-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.gc5e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.gc5e-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gc5e-game-item:hover {
    transform: scale(1.05);
}

.gc5e-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    background: var(--gc5e-bg-card);
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.gc5e-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc5e-game-name {
    font-size: 1rem;
    color: var(--gc5e-text-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.gc5e-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gc5e-bg-card);
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--gc5e-border);
}

.gc5e-category-label i {
    color: var(--gc5e-primary);
}

.gc5e-category-label span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gc5e-text-light);
}

/* Content Cards */
.gc5e-card {
    background: var(--gc5e-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gc5e-border);
}

.gc5e-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gc5e-primary);
    margin-bottom: 1rem;
}

.gc5e-card-text {
    font-size: 1.3rem;
    color: var(--gc5e-text-gray);
    line-height: 1.6;
}

.gc5e-card-text p {
    margin-bottom: 0.8rem;
}

.gc5e-card-text strong {
    color: var(--gc5e-primary);
}

/* Features Grid */
.gc5e-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gc5e-feature-item {
    background: var(--gc5e-bg-card);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gc5e-border);
}

.gc5e-feature-icon {
    font-size: 2.4rem;
    color: var(--gc5e-primary);
    margin-bottom: 0.5rem;
}

.gc5e-feature-text {
    font-size: 1.1rem;
    color: var(--gc5e-text-light);
}

/* Promo Links */
.gc5e-promo-link {
    display: inline-block;
    color: var(--gc5e-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gc5e-promo-link:hover {
    color: var(--gc5e-secondary);
    text-decoration: underline;
}

.gc5e-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gc5e-gradient);
    color: var(--gc5e-bg-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.gc5e-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 204, 2, 0.4);
}

/* Footer */
.gc5e-footer {
    background: var(--gc5e-bg-card);
    padding: 2rem 1rem;
    border-top: 1px solid var(--gc5e-border);
}

.gc5e-footer-partners {
    margin-bottom: 1.5rem;
}

.gc5e-footer-partners-title {
    font-size: 1.2rem;
    color: var(--gc5e-text-gray);
    margin-bottom: 0.8rem;
    text-align: center;
}

.gc5e-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.gc5e-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--gc5e-bg-dark);
}

.gc5e-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gc5e-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gc5e-footer-link {
    font-size: 1.2rem;
    color: var(--gc5e-text-gray);
    transition: color 0.3s ease;
}

.gc5e-footer-link:hover {
    color: var(--gc5e-primary);
}

.gc5e-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gc5e-text-gray);
}

/* Mobile Bottom Navigation */
.gc5e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(12, 12, 12, 1) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--gc5e-border);
    padding: 0 0.5rem;
}

.gc5e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gc5e-text-gray);
}

.gc5e-nav-item:hover,
.gc5e-nav-item.gc5e-nav-active {
    color: var(--gc5e-primary);
}

.gc5e-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.gc5e-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.gc5e-nav-item:active {
    transform: scale(0.9);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .gc5e-bottom-nav {
        display: none;
    }
}

/* Mobile content padding */
@media (max-width: 768px) {
    .gc5e-main {
        padding-bottom: 80px;
    }
}

/* H1 Title */
.gc5e-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gc5e-text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.gc5e-h1 span {
    color: var(--gc5e-primary);
}

/* List Styles */
.gc5e-list {
    list-style: none;
    padding: 0;
}

.gc5e-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gc5e-text-gray);
    font-size: 1.3rem;
}

.gc5e-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gc5e-primary);
}

/* RTP Table */
.gc5e-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.gc5e-rtp-table th,
.gc5e-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--gc5e-border);
    font-size: 1.2rem;
}

.gc5e-rtp-table th {
    color: var(--gc5e-primary);
    font-weight: 600;
}

.gc5e-rtp-table td {
    color: var(--gc5e-text-gray);
}

/* FAQ Accordion */
.gc5e-faq-item {
    background: var(--gc5e-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--gc5e-border);
}

.gc5e-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gc5e-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gc5e-faq-question i {
    color: var(--gc5e-primary);
}

.gc5e-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--gc5e-text-gray);
    line-height: 1.6;
}

/* Promo Banner */
.gc5e-promo-banner {
    background: linear-gradient(135deg, rgba(255, 204, 2, 0.2) 0%, rgba(255, 235, 59, 0.1) 100%);
    border: 1px solid var(--gc5e-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gc5e-promo-banner h3 {
    color: var(--gc5e-primary);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.gc5e-promo-banner p {
    color: var(--gc5e-text-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Achievement Badge */
.gc5e-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gc5e-bg-card);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--gc5e-primary);
    font-size: 1.1rem;
    color: var(--gc5e-primary);
    margin: 0.3rem;
}

.gc5e-badge i {
    font-size: 1.4rem;
}

/* Trick Card */
.gc5e-trick-card {
    background: var(--gc5e-bg-card);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--gc5e-primary);
}

.gc5e-trick-card h4 {
    color: var(--gc5e-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gc5e-trick-card p {
    color: var(--gc5e-text-gray);
    font-size: 1.2rem;
}

/* Security Section */
.gc5e-security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gc5e-border);
}

.gc5e-security-item:last-child {
    border-bottom: none;
}

.gc5e-security-icon {
    width: 40px;
    height: 40px;
    background: var(--gc5e-bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gc5e-security-icon i {
    font-size: 1.8rem;
    color: var(--gc5e-primary);
}

.gc5e-security-text h4 {
    font-size: 1.3rem;
    color: var(--gc5e-text-light);
    margin-bottom: 0.3rem;
}

.gc5e-security-text p {
    font-size: 1.1rem;
    color: var(--gc5e-text-gray);
}
