/**
 * Taya777 Main CSS File
 * All classes use prefix: g5af-
 * Color Palette: #FFE135 | #34495E | #FF6347 | #FFB347 | #F4A460
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --g5af-primary: #FFE135;
    --g5af-secondary: #34495E;
    --g5af-accent: #FF6347;
    --g5af-highlight: #FFB347;
    --g5af-warm: #F4A460;
    --g5af-bg-dark: #1a1a2e;
    --g5af-bg-darker: #16213e;
    --g5af-text-light: #ffffff;
    --g5af-text-muted: #b8b8b8;
    --g5af-gradient: linear-gradient(135deg, #FFE135 0%, #FFB347 50%, #FF6347 100%);
    --g5af-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g5af-radius: 12px;
    --g5af-radius-sm: 8px;
}

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

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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--g5af-bg-dark);
    color: var(--g5af-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
}

/* Container */
.g5af-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.g5af-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Header */
.g5af-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g5af-bg-darker) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 225, 53, 0.1);
}

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

.g5af-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.g5af-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g5af-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--g5af-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g5af-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g5af-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--g5af-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    min-height: 36px;
}

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

.g5af-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 225, 53, 0.4);
}

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

.g5af-btn-secondary:hover {
    background: rgba(255, 225, 53, 0.1);
}

.g5af-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--g5af-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

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

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

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

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

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

.g5af-nav-item {
    margin-bottom: 8px;
}

.g5af-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--g5af-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--g5af-radius-sm);
    transition: all 0.3s ease;
}

.g5af-nav-link:hover {
    background: rgba(255, 225, 53, 0.1);
    color: var(--g5af-primary);
}

.g5af-nav-link i,
.g5af-nav-link .material-icons {
    font-size: 2rem;
    width: 24px;
    text-align: center;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g5af-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--g5af-radius);
    margin-bottom: 20px;
}

.g5af-carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
}

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

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

.g5af-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

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

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

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

/* Section Titles */
.g5af-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--g5af-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.g5af-section-title i {
    color: var(--g5af-primary);
}

/* Game Grid */
.g5af-game-section {
    margin-bottom: 30px;
}

.g5af-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.g5af-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g5af-game-card:hover {
    transform: translateY(-5px);
}

.g5af-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--g5af-radius-sm);
    object-fit: cover;
    margin-bottom: 6px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.g5af-game-card:hover .g5af-game-img {
    border-color: var(--g5af-primary);
}

.g5af-game-name {
    font-size: 1.1rem;
    color: var(--g5af-text-light);
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Content Sections */
.g5af-content-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--g5af-radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 225, 53, 0.1);
}

.g5af-content-section h2 {
    font-size: 1.8rem;
    color: var(--g5af-primary);
    margin-bottom: 12px;
}

.g5af-content-section p {
    font-size: 1.4rem;
    color: var(--g5af-text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.g5af-content-section li {
    font-size: 1.4rem;
    color: var(--g5af-text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.g5af-content-section li:last-child {
    border-bottom: none;
}

.g5af-content-section li i {
    color: var(--g5af-primary);
    margin-right: 10px;
}

/* Footer */
.g5af-footer {
    background: var(--g5af-bg-darker);
    padding: 30px 16px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 225, 53, 0.1);
}

.g5af-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.g5af-footer-brand p {
    font-size: 1.3rem;
    color: var(--g5af-text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.g5af-footer-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 225, 53, 0.1);
    color: var(--g5af-primary);
    text-decoration: none;
    border-radius: var(--g5af-radius-sm);
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.g5af-footer-sitemap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.g5af-footer-sitemap a {
    color: var(--g5af-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.g5af-footer-sitemap a:hover {
    color: var(--g5af-primary);
}

.g5af-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g5af-text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bottom Navigation */
.g5af-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--g5af-bg-darker) 0%, #0d0d1a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 225, 53, 0.15);
    padding-bottom: env(safe-area-inset-bottom);
}

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

.g5af-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(--g5af-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
}

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

.g5af-nav-btn i,
.g5af-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

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

/* Promo Link Styles */
.g5af-promo-link {
    color: var(--g5af-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g5af-promo-link:hover {
    color: var(--g5af-highlight);
    text-decoration: underline;
}

.g5af-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--g5af-gradient);
    color: var(--g5af-bg-darker);
    text-decoration: none;
    border-radius: var(--g5af-radius);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.g5af-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 225, 53, 0.4);
}

/* Features List */
.g5af-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.g5af-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 225, 53, 0.05);
    border-radius: var(--g5af-radius-sm);
}

.g5af-feature-item i {
    color: var(--g5af-primary);
    font-size: 2rem;
}

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

/* Testimonials */
.g5af-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--g5af-radius);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid var(--g5af-primary);
}

.g5af-testimonial-text {
    font-size: 1.3rem;
    color: var(--g5af-text-muted);
    font-style: italic;
    margin-bottom: 10px;
}

.g5af-testimonial-author {
    font-size: 1.2rem;
    color: var(--g5af-primary);
    font-weight: 600;
}

/* Payment Methods */
.g5af-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.g5af-payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 225, 53, 0.05);
    border-radius: var(--g5af-radius-sm);
    font-size: 1.3rem;
    color: var(--g5af-text-light);
}

.g5af-payment-item i {
    color: var(--g5af-primary);
}

/* Winners Showcase */
.g5af-winners-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.g5af-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 225, 53, 0.05);
    border-radius: var(--g5af-radius-sm);
}

.g5af-winner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g5af-winner-name {
    font-size: 1.3rem;
    color: var(--g5af-text-light);
}

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

.g5af-winner-amount {
    font-size: 1.4rem;
    color: var(--g5af-primary);
    font-weight: 700;
}

/* FAQ Accordion */
.g5af-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.g5af-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--g5af-text-light);
}

.g5af-faq-question i {
    color: var(--g5af-primary);
}

.g5af-faq-answer {
    padding-bottom: 14px;
    font-size: 1.3rem;
    color: var(--g5af-text-muted);
    line-height: 1.6;
}

/* App Download Section */
.g5af-app-download {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.g5af-app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 225, 53, 0.1);
    border: 1px solid var(--g5af-primary);
    border-radius: var(--g5af-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.g5af-app-btn:hover {
    background: var(--g5af-gradient);
}

.g5af-app-btn i {
    font-size: 2.4rem;
    color: var(--g5af-primary);
}

.g5af-app-btn:hover i {
    color: var(--g5af-bg-darker);
}

.g5af-app-text {
    text-align: left;
}

.g5af-app-text small {
    font-size: 1rem;
    color: var(--g5af-text-muted);
    display: block;
}

.g5af-app-text span {
    font-size: 1.4rem;
    color: var(--g5af-text-light);
    font-weight: 600;
}

.g5af-app-btn:hover .g5af-app-text small,
.g5af-app-btn:hover .g5af-app-text span {
    color: var(--g5af-bg-darker);
}

/* RTP Display */
.g5af-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.g5af-rtp-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: rgba(255, 225, 53, 0.05);
    border-radius: var(--g5af-radius-sm);
    text-align: center;
}

.g5af-rtp-value {
    font-size: 2rem;
    color: var(--g5af-primary);
    font-weight: 700;
}

.g5af-rtp-label {
    font-size: 1.1rem;
    color: var(--g5af-text-muted);
}

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

.g5af-mb-20 {
    margin-bottom: 20px;
}

.g5af-mt-20 {
    margin-top: 20px;
}

.g5af-hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .g5af-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g5af-features {
        grid-template-columns: 1fr;
    }
}
