/**
 * Laki Gaming Website - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: pg80-
 * Color Palette: #2F2F2F | #1E90FF | #87CEEB | #BDC3C7 | #0F0F23
 */

/* CSS Reset and Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pg80-bg-primary: #0F0F23;
    --pg80-bg-secondary: #2F2F2F;
    --pg80-accent: #1E90FF;
    --pg80-accent-light: #87CEEB;
    --pg80-text-primary: #FFFFFF;
    --pg80-text-secondary: #BDC3C7;
    --pg80-text-muted: #95A5A6;
    --pg80-border: rgba(255, 255, 255, 0.1);
    --pg80-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --pg80-radius: 8px;
    --pg80-radius-lg: 16px;
    --pg80-transition: all 0.3s ease;
    font-size: 62.5%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--pg80-bg-primary);
    color: var(--pg80-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--pg80-accent);
    text-decoration: none;
    transition: var(--pg80-transition);
}

a:hover {
    color: var(--pg80-accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.pg80-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.pg80-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg80-bg-primary) 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pg80-border);
    padding: 1rem 0;
    transition: var(--pg80-transition);
}

.pg80-header.pg80-scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--pg80-shadow);
}

.pg80-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.pg80-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg80-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pg80-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pg80-accent) 0%, var(--pg80-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg80-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg80-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--pg80-radius);
    cursor: pointer;
    transition: var(--pg80-transition);
    border: none;
    min-height: 44px;
}

.pg80-btn-primary {
    background: linear-gradient(135deg, var(--pg80-accent) 0%, #0066CC 100%);
    color: var(--pg80-text-primary);
}

.pg80-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.pg80-btn-secondary {
    background: transparent;
    color: var(--pg80-text-primary);
    border: 1px solid var(--pg80-accent);
}

.pg80-btn-secondary:hover {
    background: var(--pg80-accent);
    color: var(--pg80-text-primary);
}

/* Menu Toggle */
.pg80-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.pg80-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pg80-text-primary);
    transition: var(--pg80-transition);
}

.pg80-menu-toggle.pg80-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pg80-menu-toggle.pg80-active span:nth-child(2) {
    opacity: 0;
}

.pg80-menu-toggle.pg80-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.pg80-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--pg80-bg-secondary);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.pg80-mobile-menu.pg80-active {
    right: 0;
}

.pg80-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(--pg80-transition);
}

.pg80-menu-overlay.pg80-active {
    opacity: 1;
    visibility: visible;
}

.pg80-nav-list {
    list-style: none;
}

.pg80-nav-list li {
    margin-bottom: 0.5rem;
}

.pg80-nav-list a {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--pg80-text-primary);
    border-radius: var(--pg80-radius);
    transition: var(--pg80-transition);
}

.pg80-nav-list a:hover {
    background: rgba(30, 144, 255, 0.2);
    color: var(--pg80-accent);
}

/* Main Content */
.pg80-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Hero Carousel */
.pg80-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--pg80-radius-lg);
    margin: 1.6rem 0;
}

.pg80-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pg80-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.pg80-slide.pg80-active {
    opacity: 1;
}

.pg80-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--pg80-radius-lg);
}

.pg80-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.pg80-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--pg80-transition);
}

.pg80-slide-dot.pg80-active {
    background: var(--pg80-accent);
    width: 20px;
    border-radius: 4px;
}

/* Section Title */
.pg80-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    color: var(--pg80-text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg80-section-title i {
    color: var(--pg80-accent);
}

/* Game Grid */
.pg80-game-section {
    margin-bottom: 2.4rem;
}

.pg80-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pg80-game-card {
    background: var(--pg80-bg-secondary);
    border-radius: var(--pg80-radius);
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: var(--pg80-transition);
    border: 1px solid var(--pg80-border);
}

.pg80-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--pg80-accent);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.2);
}

.pg80-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.pg80-game-card span {
    font-size: 1.1rem;
    color: var(--pg80-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Content Section */
.pg80-content-section {
    background: var(--pg80-bg-secondary);
    border-radius: var(--pg80-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--pg80-border);
}

.pg80-content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--pg80-accent);
}

.pg80-content-section p {
    color: var(--pg80-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pg80-content-section ul {
    list-style: none;
    padding-left: 0;
}

.pg80-content-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--pg80-text-secondary);
}

.pg80-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    background: var(--pg80-accent);
    border-radius: 50%;
}

/* Features Grid */
.pg80-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pg80-feature-item {
    background: rgba(30, 144, 255, 0.1);
    border-radius: var(--pg80-radius);
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--pg80-border);
}

.pg80-feature-item i {
    font-size: 2.4rem;
    color: var(--pg80-accent);
    margin-bottom: 0.8rem;
}

.pg80-feature-item h3 {
    font-size: 1.4rem;
    color: var(--pg80-text-primary);
    margin-bottom: 0.4rem;
}

.pg80-feature-item p {
    font-size: 1.2rem;
    color: var(--pg80-text-muted);
}

/* CTA Section */
.pg80-cta-section {
    text-align: center;
    padding: 2.4rem;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(135, 206, 235, 0.1) 100%);
    border-radius: var(--pg80-radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--pg80-border);
}

.pg80-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--pg80-text-primary);
}

.pg80-cta-section p {
    color: var(--pg80-text-secondary);
    margin-bottom: 1.6rem;
}

.pg80-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pg80-accent) 0%, #0066CC 100%);
    color: var(--pg80-text-primary);
    border-radius: var(--pg80-radius-lg);
    cursor: pointer;
    transition: var(--pg80-transition);
}

.pg80-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
}

/* Footer */
.pg80-footer {
    background: var(--pg80-bg-secondary);
    padding: 2rem 1.6rem 3rem;
    border-top: 1px solid var(--pg80-border);
}

.pg80-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg80-footer-links a {
    color: var(--pg80-text-secondary);
    font-size: 1.3rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.pg80-footer-links a:hover {
    color: var(--pg80-accent);
    background: rgba(30, 144, 255, 0.1);
}

.pg80-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.pg80-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--pg80-transition);
}

.pg80-partners img:hover {
    opacity: 1;
}

.pg80-copyright {
    text-align: center;
    color: var(--pg80-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.pg80-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(47, 47, 47, 0.98) 0%, var(--pg80-bg-primary) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--pg80-border);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    height: 64px;
}

.pg80-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(--pg80-text-secondary);
    cursor: pointer;
    transition: var(--pg80-transition);
    border-radius: 8px;
}

.pg80-nav-btn:hover,
.pg80-nav-btn.pg80-active {
    color: var(--pg80-accent);
    background: rgba(30, 144, 255, 0.1);
}

.pg80-nav-btn i {
    font-size: 24px;
    margin-bottom: 2px;
}

.pg80-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .pg80-bottom-nav {
        display: none;
    }

    .pg80-main {
        padding-bottom: 2rem;
    }

    .pg80-container {
        max-width: 800px;
    }

    .pg80-header-inner {
        max-width: 800px;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pg80-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.pg80-text-center { text-align: center; }
.pg80-mb-1 { margin-bottom: 1rem; }
.pg80-mb-2 { margin-bottom: 2rem; }
.pg80-mt-1 { margin-top: 1rem; }
.pg80-mt-2 { margin-top: 2rem; }
.pg80-hidden { display: none !important; }
.pg80-promo-link {
    color: var(--pg80-accent);
    font-weight: 600;
    cursor: pointer;
}
.pg80-promo-link:hover {
    color: var(--pg80-accent-light);
    text-decoration: underline;
}
