/* PinoyLuck CSS Styles - g2a7 prefix */
/* Mobile-first responsive design for gaming platform */

/* CSS Variables for consistent theming */
:root {
    --g2a7-primary: #DDA0DD;
    --g2a7-secondary: #708090;
    --g2a7-bg: #F8F8FF;
    --g2a7-text: #0C0C0C;
    --g2a7-white: #FFFFFF;
    --g2a7-gray-light: #F5F5F5;
    --g2a7-gray-medium: #CCCCCC;
    --g2a7-gray-dark: #666666;
    --g2a7-success: #28A745;
    --g2a7-warning: #FFC107;
    --g2a7-danger: #DC3545;
    --g2a7-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --g2a7-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --g2a7-radius: 8px;
    --g2a7-radius-lg: 16px;
    --g2a7-transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--g2a7-text);
    background-color: var(--g2a7-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Loading state */
body.g2a7-loaded {
    animation: g2a7-fadeIn 0.5s ease-in;
}

@keyframes g2a7-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Typography */
.g2a7-h1, .g2a7-h2, .g2a7-h3, .g2a7-h4, .g2a7-h5, .g2a7-h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--g2a7-text);
}

.g2a7-h1 { font-size: 2.4rem; }
.g2a7-h2 { font-size: 2rem; }
.g2a7-h3 { font-size: 1.8rem; }
.g2a7-h4 { font-size: 1.6rem; }
.g2a7-h5 { font-size: 1.4rem; }
.g2a7-h6 { font-size: 1.2rem; }

.g2a7-text-center { text-align: center; }
.g2a7-text-left { text-align: left; }
.g2a7-text-right { text-align: right; }

/* Layout containers */
.g2a7-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g2a7-container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

.g2a7-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.g2a7-col {
    flex: 1;
    padding: 0 1rem;
}

.g2a7-col-1 { flex: 0 0 8.333%; }
.g2a7-col-2 { flex: 0 0 16.667%; }
.g2a7-col-3 { flex: 0 0 25%; }
.g2a7-col-4 { flex: 0 0 33.333%; }
.g2a7-col-6 { flex: 0 0 50%; }
.g2a7-col-8 { flex: 0 0 66.667%; }
.g2a7-col-9 { flex: 0 0 75%; }
.g2a7-col-12 { flex: 0 0 100%; }

/* Header */
.g2a7-header {
    background: linear-gradient(135deg, var(--g2a7-primary) 0%, var(--g2a7-secondary) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--g2a7-shadow);
}

.g2a7-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    min-height: 6rem;
}

.g2a7-logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g2a7-white);
    text-decoration: none;
}

.g2a7-logo-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0.8rem;
    background: var(--g2a7-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g2a7-primary);
    font-size: 1.6rem;
}

.g2a7-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g2a7-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--g2a7-radius);
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--g2a7-transition);
    min-height: 4.4rem;
    min-width: 8rem;
}

.g2a7-btn-primary {
    background: var(--g2a7-success);
    color: var(--g2a7-white);
}

.g2a7-btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--g2a7-shadow-hover);
}

.g2a7-btn-secondary {
    background: var(--g2a7-secondary);
    color: var(--g2a7-white);
}

.g2a7-btn-secondary:hover {
    background: #5a6a7a;
    transform: translateY(-2px);
    box-shadow: var(--g2a7-shadow-hover);
}

.g2a7-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--g2a7-white);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
    border-radius: var(--g2a7-radius);
    transition: var(--g2a7-transition);
}

.g2a7-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu */
.g2a7-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--g2a7-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.g2a7-menu-open {
    right: 0;
}

.g2a7-menu-header {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--g2a7-primary) 0%, var(--g2a7-secondary) 100%);
    color: var(--g2a7-white);
}

.g2a7-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--g2a7-white);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

.g2a7-menu-nav {
    list-style: none;
    padding: 1rem 0;
}

.g2a7-menu-nav li {
    border-bottom: 1px solid var(--g2a7-gray-light);
}

.g2a7-menu-nav a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--g2a7-text);
    text-decoration: none;
    transition: var(--g2a7-transition);
    font-weight: 500;
}

.g2a7-menu-nav a:hover {
    background: var(--g2a7-gray-light);
    color: var(--g2a7-primary);
}

.g2a7-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--g2a7-transition);
}

.g2a7-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main content */
.g2a7-main {
    margin-top: 6rem;
    min-height: calc(100vh - 6rem);
}

/* Carousel */
.g2a7-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--g2a7-radius-lg);
    margin-bottom: 2rem;
}

.g2a7-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.g2a7-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g2a7-slide-active {
    opacity: 1;
}

.g2a7-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g2a7-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--g2a7-white);
}

.g2a7-carousel-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.g2a7-carousel-desc {
    font-size: 1.2rem;
    opacity: 0.9;
}

.g2a7-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--g2a7-transition);
    z-index: 10;
}

.g2a7-carousel-prev {
    left: 1rem;
}

.g2a7-carousel-next {
    right: 1rem;
}

.g2a7-carousel-nav:hover {
    background: var(--g2a7-white);
    transform: translateY(-50%) scale(1.1);
}

.g2a7-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.g2a7-carousel-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: 2px solid var(--g2a7-white);
    background: transparent;
    cursor: pointer;
    transition: var(--g2a7-transition);
}

.g2a7-dot-active {
    background: var(--g2a7-white);
}

/* Game sections */
.g2a7-section {
    margin-bottom: 3rem;
}

.g2a7-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.g2a7-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g2a7-text);
}

.g2a7-section-more {
    color: var(--g2a7-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: var(--g2a7-transition);
}

.g2a7-section-more:hover {
    color: var(--g2a7-secondary);
}

.g2a7-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g2a7-game-card {
    background: var(--g2a7-white);
    border-radius: var(--g2a7-radius);
    overflow: hidden;
    box-shadow: var(--g2a7-shadow);
    transition: var(--g2a7-transition);
    cursor: pointer;
}

.g2a7-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--g2a7-shadow-hover);
}

.g2a7-game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: var(--g2a7-transition);
}

.g2a7-game-card:hover .g2a7-game-image {
    transform: scale(1.05);
}

.g2a7-game-info {
    padding: 1rem;
}

.g2a7-game-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--g2a7-text);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g2a7-game-category {
    font-size: 1rem;
    color: var(--g2a7-gray-dark);
    text-transform: capitalize;
}

/* Content sections */
.g2a7-content-section {
    background: var(--g2a7-white);
    border-radius: var(--g2a7-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--g2a7-shadow);
}

.g2a7-content-section h2 {
    color: var(--g2a7-primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.g2a7-content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.g2a7-content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.g2a7-content-section li {
    margin-bottom: 0.5rem;
}

.g2a7-content-section a {
    color: var(--g2a7-primary);
    text-decoration: none;
    font-weight: 500;
}

.g2a7-content-section a:hover {
    color: var(--g2a7-secondary);
    text-decoration: underline;
}

/* Footer */
.g2a7-footer {
    background: var(--g2a7-text);
    color: var(--g2a7-white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.g2a7-footer-content {
    text-align: center;
}

.g2a7-footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.g2a7-partner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--g2a7-transition);
}

.g2a7-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.g2a7-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.g2a7-footer-links a {
    color: var(--g2a7-gray-medium);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--g2a7-transition);
}

.g2a7-footer-links a:hover {
    color: var(--g2a7-white);
}

.g2a7-footer-copyright {
    color: var(--g2a7-gray-medium);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Bottom navigation */
.g2a7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--g2a7-primary) 0%, var(--g2a7-secondary) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.g2a7-bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--g2a7-white);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 6rem;
    min-height: 6rem;
    border-radius: var(--g2a7-radius);
    transition: var(--g2a7-transition);
}

.g2a7-bottom-nav button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.g2a7-bottom-nav .g2a7-icon {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.g2a7-bottom-nav span {
    font-size: 1rem;
    font-weight: 500;
}

/* Utility classes */
.g2a7-d-none { display: none !important; }
.g2a7-d-block { display: block !important; }
.g2a7-d-flex { display: flex !important; }
.g2a7-justify-center { justify-content: center !important; }
.g2a7-align-center { align-items: center !important; }
.g2a7-text-center { text-align: center !important; }
.g2a7-mb-1 { margin-bottom: 1rem !important; }
.g2a7-mb-2 { margin-bottom: 2rem !important; }
.g2a7-mb-3 { margin-bottom: 3rem !important; }
.g2a7-mt-1 { margin-top: 1rem !important; }
.g2a7-mt-2 { margin-top: 2rem !important; }
.g2a7-mt-3 { margin-top: 3rem !important; }
.g2a7-p-1 { padding: 1rem !important; }
.g2a7-p-2 { padding: 2rem !important; }
.g2a7-p-3 { padding: 3rem !important; }

/* Responsive design */
@media (max-width: 768px) {
    .g2a7-main {
        padding-bottom: 8rem; /* Space for bottom nav */
    }

    .g2a7-menu-toggle {
        display: block;
    }

    .g2a7-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .g2a7-carousel {
        height: 180px;
    }

    .g2a7-carousel-title {
        font-size: 1.6rem;
    }

    .g2a7-section-title {
        font-size: 1.6rem;
    }

    .g2a7-h1 { font-size: 2rem; }
    .g2a7-h2 { font-size: 1.6rem; }
    .g2a7-h3 { font-size: 1.4rem; }

    .g2a7-container {
        padding: 0 1rem;
    }

    .g2a7-content-section {
        padding: 1.5rem;
    }

    .g2a7-footer-partners {
        gap: 1rem;
    }

    .g2a7-partner-logo {
        width: 60px;
        height: 30px;
    }

    .g2a7-footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .g2a7-game-grid {
        grid-template-columns: 1fr;
    }

    .g2a7-carousel {
        height: 160px;
    }

    .g2a7-header-actions {
        gap: 0.5rem;
    }

    .g2a7-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
        min-height: 4rem;
    }
}

@media (min-width: 769px) {
    .g2a7-bottom-nav {
        display: none;
    }

    .g2a7-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .g2a7-carousel {
        height: 250px;
    }

    .g2a7-carousel-title {
        font-size: 2.4rem;
    }
}

@media (min-width: 1024px) {
    .g2a7-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .g2a7-carousel {
        height: 300px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --g2a7-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        --g2a7-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .g2a7-header,
    .g2a7-bottom-nav,
    .g2a7-carousel-nav,
    .g2a7-carousel-dots {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}