/**
 * TA77 Casino Website Stylesheet
 * Class Prefix: v791-
 * Color Palette: #708090 | #3C3C3C | #DCDCDC | #1A1A2E | #D4AF37
 */

/* CSS Variables */
:root {
    --v791-primary: #D4AF37;
    --v791-secondary: #708090;
    --v791-bg-dark: #1A1A2E;
    --v791-bg-medium: #3C3C3C;
    --v791-text-light: #DCDCDC;
    --v791-text-white: #FFFFFF;
    --v791-accent: #D4AF37;
    --v791-gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4CF67 50%, #D4AF37 100%);
    --v791-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v791-radius: 8px;
    --v791-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v791-bg-dark);
    color: var(--v791-text-light);
    line-height: 1.5;
    min-height: 100vh;
}

/* Container */
.v791-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v791-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--v791-bg-dark) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

.v791-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v791-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v791-accent);
    letter-spacing: 0.5px;
}

.v791-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v791-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--v791-radius);
    cursor: pointer;
    transition: var(--v791-transition);
    border: none;
    text-decoration: none;
}

.v791-btn-primary {
    background: var(--v791-gradient-gold);
    color: var(--v791-bg-dark);
}

.v791-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.v791-btn-outline {
    background: transparent;
    color: var(--v791-accent);
    border: 1px solid var(--v791-accent);
}

.v791-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.v791-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.v791-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--v791-accent);
    transition: var(--v791-transition);
}

.v791-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.v791-toggle-active span:nth-child(2) {
    opacity: 0;
}

.v791-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.v791-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v791-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

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

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

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

.v791-nav-link {
    display: block;
    padding: 1rem;
    color: var(--v791-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: var(--v791-radius);
    transition: var(--v791-transition);
}

.v791-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--v791-accent);
}

/* Main Content */
.v791-main {
    padding-top: 60px;
}

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

/* Slider/Carousel */
.v791-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
}

.v791-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.v791-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

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

.v791-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v791-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.v791-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--v791-transition);
}

.v791-dot-active {
    background: var(--v791-accent);
    transform: scale(1.2);
}

/* Section Styles */
.v791-section {
    padding: 2rem 1.5rem;
}

.v791-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v791-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.v791-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--v791-gradient-gold);
}

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

.v791-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--v791-transition);
}

.v791-game-item:hover {
    transform: translateY(-3px);
}

.v791-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--v791-radius);
    object-fit: cover;
    border: 2px solid transparent;
    transition: var(--v791-transition);
}

.v791-game-item:hover .v791-game-img {
    border-color: var(--v791-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.v791-game-name {
    font-size: 1rem;
    color: var(--v791-text-light);
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.v791-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v791-accent);
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--v791-accent);
}

/* Content Cards */
.v791-card {
    background: linear-gradient(145deg, var(--v791-bg-medium), var(--v791-bg-dark));
    border-radius: var(--v791-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.v791-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v791-accent);
    margin-bottom: 1rem;
}

.v791-card-text {
    font-size: 1.3rem;
    color: var(--v791-text-light);
    line-height: 1.6;
}

.v791-card-text a {
    color: var(--v791-accent);
    text-decoration: none;
    font-weight: 600;
}

.v791-card-text a:hover {
    text-decoration: underline;
}

/* Promotional Link Styles */
.v791-promo-link {
    color: var(--v791-accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--v791-transition);
}

.v791-promo-link:hover {
    color: var(--v791-text-white);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.v791-promo-btn {
    display: inline-block;
    background: var(--v791-gradient-gold);
    color: var(--v791-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--v791-radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--v791-transition);
    text-align: center;
}

.v791-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

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

.v791-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(60, 60, 60, 0.5);
    border-radius: var(--v791-radius);
}

.v791-feature-icon {
    font-size: 2rem;
    color: var(--v791-accent);
}

.v791-feature-text {
    font-size: 1.2rem;
    color: var(--v791-text-light);
}

/* Footer */
.v791-footer {
    background: var(--v791-bg-medium);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.v791-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.v791-footer-link:hover {
    color: var(--v791-accent);
}

.v791-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v791-partner-img {
    width: 40px;
    height: 20px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--v791-transition);
}

.v791-partner-img:hover {
    opacity: 1;
}

.v791-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v791-secondary);
    margin-top: 1rem;
}

/* Mobile Bottom Navigation */
.v791-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(60, 60, 60, 0.98) 0%, var(--v791-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

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

.v791-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--v791-transition);
    text-decoration: none;
}

.v791-nav-btn:hover {
    transform: scale(1.1);
}

.v791-nav-btn-active {
    background: rgba(212, 175, 55, 0.15);
}

.v791-nav-btn i,
.v791-nav-btn .material-icons {
    font-size: 22px;
    color: var(--v791-text-light);
    margin-bottom: 2px;
    transition: var(--v791-transition);
}

.v791-nav-btn:hover i,
.v791-nav-btn:hover .material-icons,
.v791-nav-btn-active i,
.v791-nav-btn-active .material-icons {
    color: var(--v791-accent);
}

.v791-nav-btn span {
    font-size: 1rem;
    color: var(--v791-text-light);
    transition: var(--v791-transition);
}

.v791-nav-btn:hover span,
.v791-nav-btn-active span {
    color: var(--v791-accent);
}

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

.v791-rtp-item {
    background: rgba(60, 60, 60, 0.5);
    border-radius: var(--v791-radius);
    padding: 1rem;
    text-align: center;
}

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

.v791-rtp-label {
    font-size: 1.1rem;
    color: var(--v791-secondary);
    margin-top: 0.3rem;
}

/* Responsive Typography */
@media (max-width: 380px) {
    html {
        font-size: 55%;
    }
}

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

.v791-mt-1 { margin-top: 1rem; }
.v791-mt-2 { margin-top: 2rem; }
.v791-mb-1 { margin-bottom: 1rem; }
.v791-mb-2 { margin-bottom: 2rem; }

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

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

/* Achievement Badge */
.v791-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    font-size: 1.1rem;
    color: var(--v791-accent);
}

/* FAQ Accordion */
.v791-faq-item {
    background: rgba(60, 60, 60, 0.5);
    border-radius: var(--v791-radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.v791-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v791-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v791-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--v791-secondary);
    line-height: 1.6;
}

/* Security Icons */
.v791-security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.v791-security-item {
    padding: 1rem;
}

.v791-security-icon {
    font-size: 2.5rem;
    color: var(--v791-accent);
    margin-bottom: 0.5rem;
}

.v791-security-label {
    font-size: 1.1rem;
    color: var(--v791-text-light);
}
