/**
 * Club Ph - Main Stylesheet
 * Class prefix: v6d4-
 * Color palette: #00B8D4 | #B8860B | #26A69A | #F5F5F5 | #1E1E1E | #FFFACD
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v6d4-primary: #00B8D4;
    --v6d4-secondary: #B8860B;
    --v6d4-accent: #26A69A;
    --v6d4-light: #F5F5F5;
    --v6d4-dark: #1E1E1E;
    --v6d4-cream: #FFFACD;
    --v6d4-white: #FFFFFF;
    --v6d4-gradient: linear-gradient(135deg, #00B8D4 0%, #26A69A 100%);
    --v6d4-gold-gradient: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    --v6d4-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
    --v6d4-radius: 12px;
    --v6d4-radius-sm: 8px;
    --v6d4-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: var(--v6d4-dark);
    color: var(--v6d4-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v6d4-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.v6d4-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.v6d4-wrapper {
    padding: 1.5rem 0;
}

/* Header */
.v6d4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v6d4-dark) 0%, rgba(30, 30, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 184, 212, 0.2);
    transition: var(--v6d4-transition);
}

.v6d4-header-scrolled {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.v6d4-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    max-width: 430px;
    margin: 0 auto;
}

.v6d4-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v6d4-logo img {
    width: 32px;
    height: 32px;
    border-radius: var(--v6d4-radius-sm);
}

.v6d4-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--v6d4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v6d4-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v6d4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--v6d4-radius);
    cursor: pointer;
    border: none;
    transition: var(--v6d4-transition);
    min-height: 44px;
}

.v6d4-btn-primary {
    background: var(--v6d4-gradient);
    color: var(--v6d4-white);
    box-shadow: var(--v6d4-shadow);
}

.v6d4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 212, 0.4);
}

.v6d4-btn-secondary {
    background: transparent;
    color: var(--v6d4-primary);
    border: 2px solid var(--v6d4-primary);
}

.v6d4-btn-secondary:hover {
    background: var(--v6d4-primary);
    color: var(--v6d4-dark);
}

.v6d4-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.v6d4-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--v6d4-primary);
    transition: var(--v6d4-transition);
}

.v6d4-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.v6d4-toggle-active span:nth-child(2) {
    opacity: 0;
}

.v6d4-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.v6d4-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v6d4-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    border-left: 1px solid rgba(0, 184, 212, 0.2);
}

.v6d4-menu-open {
    right: 0;
}

.v6d4-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(--v6d4-transition);
}

.v6d4-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v6d4-nav-list {
    list-style: none;
}

.v6d4-nav-item {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--v6d4-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--v6d4-transition);
}

.v6d4-nav-item:hover {
    color: var(--v6d4-primary);
    padding-left: 1rem;
}

/* Carousel */
.v6d4-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--v6d4-radius);
    margin: 1rem 0;
}

.v6d4-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v6d4-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.v6d4-slide-active {
    opacity: 1;
}

.v6d4-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v6d4-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v6d4-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v6d4-transition);
}

.v6d4-dot-active {
    background: var(--v6d4-primary);
    width: 24px;
    border-radius: 4px;
}

/* Sections */
.v6d4-section {
    padding: 2rem 0;
}

.v6d4-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: var(--v6d4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v6d4-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--v6d4-secondary);
}

/* Game Grid */
.v6d4-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v6d4-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v6d4-radius-sm);
    overflow: hidden;
    transition: var(--v6d4-transition);
    cursor: pointer;
}

.v6d4-game-card:hover {
    transform: translateY(-3px);
    background: rgba(0, 184, 212, 0.1);
    box-shadow: var(--v6d4-shadow);
}

.v6d4-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v6d4-game-name {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 0.6rem 0.4rem;
    color: var(--v6d4-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.v6d4-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v6d4-accent);
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--v6d4-primary);
}

/* Content Box */
.v6d4-content-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v6d4-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 184, 212, 0.1);
}

.v6d4-content-box p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.v6d4-content-box p:last-child {
    margin-bottom: 0;
}

/* Promo Link */
.v6d4-promo-link {
    color: var(--v6d4-primary);
    font-weight: 600;
    cursor: pointer;
}

.v6d4-promo-link:hover {
    color: var(--v6d4-accent);
    text-decoration: underline;
}

/* Features List */
.v6d4-features {
    display: grid;
    gap: 1rem;
}

.v6d4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--v6d4-radius-sm);
}

.v6d4-feature-icon {
    font-size: 2.4rem;
    color: var(--v6d4-primary);
}

.v6d4-feature-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--v6d4-light);
}

.v6d4-feature-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.v6d4-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 184, 212, 0.2);
}

.v6d4-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v6d4-footer-link {
    font-size: 1.2rem;
    color: var(--v6d4-light);
    opacity: 0.8;
}

.v6d4-footer-link:hover {
    opacity: 1;
    color: var(--v6d4-primary);
}

.v6d4-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v6d4-partner-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: var(--v6d4-transition);
}

.v6d4-partner-img:hover {
    opacity: 1;
}

.v6d4-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Bottom Navigation */
.v6d4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, var(--v6d4-dark) 100%);
    border-top: 1px solid rgba(0, 184, 212, 0.3);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

.v6d4-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--v6d4-transition);
    gap: 0.3rem;
}

.v6d4-nav-btn:hover,
.v6d4-nav-btn-active {
    color: var(--v6d4-primary);
}

.v6d4-nav-btn i,
.v6d4-nav-btn .material-icons {
    font-size: 24px;
}

.v6d4-nav-btn ion-icon {
    font-size: 24px;
}

.v6d4-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile padding for bottom nav */
@media (max-width: 768px) {
    main,
    .v6d4-main {
        padding-bottom: 80px;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .v6d4-bottom-nav {
        display: none;
    }
}

/* RTP Table */
.v6d4-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.v6d4-rtp-table th,
.v6d4-rtp-table td {
    padding: 1rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v6d4-rtp-table th {
    color: var(--v6d4-primary);
    font-weight: 600;
}

.v6d4-rtp-table tr:hover td {
    background: rgba(0, 184, 212, 0.05);
}

/* FAQ */
.v6d4-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
}

.v6d4-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v6d4-light);
    margin-bottom: 0.5rem;
}

.v6d4-faq-answer {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Achievements */
.v6d4-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v6d4-achievement {
    background: var(--v6d4-gold-gradient);
    border-radius: var(--v6d4-radius-sm);
    padding: 1rem;
    text-align: center;
}

.v6d4-achievement-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v6d4-dark);
}

.v6d4-achievement-label {
    font-size: 1.1rem;
    color: var(--v6d4-dark);
    opacity: 0.8;
}

/* Play Now Button */
.v6d4-play-now {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--v6d4-gold-gradient);
    color: var(--v6d4-dark);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--v6d4-radius);
    margin: 2rem 0;
    cursor: pointer;
    border: none;
    transition: var(--v6d4-transition);
}

.v6d4-play-now:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Tricks Component */
.v6d4-tricks {
    background: rgba(0, 184, 212, 0.1);
    border-radius: var(--v6d4-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--v6d4-primary);
}

.v6d4-tricks h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--v6d4-primary);
}

.v6d4-tricks ul {
    list-style: none;
}

.v6d4-tricks li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.3rem;
}

.v6d4-tricks li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--v6d4-accent);
    font-weight: bold;
}

/* Security Section */
.v6d4-security {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.v6d4-security-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--v6d4-radius-sm);
}

.v6d4-security-item i {
    font-size: 2.8rem;
    color: var(--v6d4-accent);
    margin-bottom: 0.5rem;
}

.v6d4-security-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--v6d4-light);
}

/* Promotions */
.v6d4-promo-card {
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.2) 0%, rgba(38, 166, 154, 0.2) 100%);
    border-radius: var(--v6d4-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 184, 212, 0.3);
}

.v6d4-promo-card h4 {
    font-size: 1.5rem;
    color: var(--v6d4-primary);
    margin-bottom: 0.5rem;
}

.v6d4-promo-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Utilities */
.v6d4-text-center {
    text-align: center;
}

.v6d4-mb-1 {
    margin-bottom: 1rem;
}

.v6d4-mb-2 {
    margin-bottom: 2rem;
}

.v6d4-highlight {
    color: var(--v6d4-primary);
    font-weight: 600;
}

.v6d4-gold {
    color: var(--v6d4-secondary);
    font-weight: 600;
}
