/* ph799 ph CSS Styles */
/* All classes use g25d- prefix to avoid conflicts */

:root {
    --g25d-primary: #E0FFFF;
    --g25d-secondary: #FAFAFA;
    --g25d-bg: #273746;
    --g25d-text: #E0FFFF;
    --g25d-accent: #00CED1;
    --g25d-gold: #FFD700;
    --g25d-danger: #FF6B6B;
    --g25d-success: #4ECDC4;
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--g25d-bg);
    color: var(--g25d-text);
    font-size: 1.4rem;
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* Header styles */
.g25d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.g25d-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 56px;
}

.g25d-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--g25d-text);
    font-weight: bold;
    font-size: 1.6rem;
}

.g25d-logo img {
    width: 28px;
    height: 28px;
}

/* Buttons */
.g25d-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    touch-action: manipulation;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.g25d-btn-primary {
    background: linear-gradient(135deg, var(--g25d-accent), var(--g25d-success));
    color: var(--g25d-bg);
}

.g25d-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
}

.g25d-btn-secondary {
    background: transparent;
    color: var(--g25d-text);
    border: 1px solid var(--g25d-text);
}

.g25d-btn-secondary:hover {
    background: var(--g25d-text);
    color: var(--g25d-bg);
}

/* Mobile menu */
.g25d-mobile-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

.g25d-mobile-menu a {
    display: block;
    padding: 1.2rem 0;
    color: var(--g25d-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(224, 255, 255, 0.1);
    font-size: 1.5rem;
}

/* Bottom navigation */
.g25d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    height: 60px;
}

.g25d-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.g25d-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--g25d-text);
    padding: 0.5rem;
    flex: 1;
    height: 100%;
    transition: all 0.2s ease;
    position: relative;
}

.g25d-bottom-nav-btn i {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.g25d-bottom-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

.g25d-nav-active {
    color: var(--g25d-accent);
}

.g25d-nav-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--g25d-accent);
}

/* Content spacing */
.g25d-content {
    padding-top: 70px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Carousel */
.g25d-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.g25d-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

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

.g25d-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

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

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

/* Game grid */
.g25d-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g25d-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--g25d-text);
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(224, 255, 255, 0.05);
}

.g25d-game-item:hover {
    background: rgba(224, 255, 255, 0.1);
    transform: translateY(-2px);
}

.g25d-game-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.g25d-game-name {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.2;
}

/* Sections */
.g25d-section {
    margin-bottom: 3rem;
}

.g25d-section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--g25d-accent);
}

/* Cards */
.g25d-card {
    background: rgba(224, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.g25d-card h3 {
    color: var(--g25d-accent);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

/* Footer */
.g25d-footer {
    background: rgba(39, 55, 70, 0.8);
    padding: 2rem 0;
    margin-top: 4rem;
}

.g25d-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g25d-partners img {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g25d-partners img:hover {
    opacity: 1;
}

/* Utilities */
.g25d-text-center {
    text-align: center;
}

.g25d-mb-2 {
    margin-bottom: 2rem;
}

.g25d-hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .g25d-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .g25d-game-item img {
        width: 50px;
        height: 50px;
    }
}