/**
 * phsky com login - Main Stylesheet
 * Mobile-first responsive design
 * Prefix: pgdd-
 */

/* CSS Variables */
:root {
    --pgdd-primary: #A0522D;
    --pgdd-secondary: #273746;
    --pgdd-bg: #273746;
    --pgdd-bg-light: #1a2633;
    --pgdd-text: #A0522D;
    --pgdd-text-light: #d4a574;
    --pgdd-white: #ffffff;
    --pgdd-gray: #8b9aab;
    --pgdd-accent: #ffd700;
    --pgdd-success: #28a745;
    --pgdd-gradient: linear-gradient(135deg, #273746 0%, #1a2633 100%);
    --pgdd-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pgdd-radius: 8px;
    --pgdd-radius-lg: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--pgdd-gradient);
    color: var(--pgdd-white);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--pgdd-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pgdd-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.pgdd-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pgdd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pgdd-bg);
    box-shadow: var(--pgdd-shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.pgdd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.pgdd-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgdd-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.pgdd-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pgdd-text-light);
    white-space: nowrap;
}

.pgdd-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pgdd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--pgdd-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.pgdd-btn-primary {
    background: var(--pgdd-primary);
    color: var(--pgdd-white);
}

.pgdd-btn-primary:hover {
    background: var(--pgdd-text-light);
    transform: translateY(-2px);
}

.pgdd-btn-secondary {
    background: transparent;
    border: 2px solid var(--pgdd-primary);
    color: var(--pgdd-text-light);
}

.pgdd-btn-secondary:hover {
    background: var(--pgdd-primary);
    color: var(--pgdd-white);
}

.pgdd-menu-toggle {
    background: none;
    border: none;
    color: var(--pgdd-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.pgdd-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pgdd-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.pgdd-menu-active {
    right: 0;
}

.pgdd-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: all 0.3s ease;
}

.pgdd-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pgdd-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pgdd-gray);
}

.pgdd-menu-close {
    background: none;
    border: none;
    color: var(--pgdd-white);
    font-size: 2.4rem;
    cursor: pointer;
}

.pgdd-nav-list {
    list-style: none;
}

.pgdd-nav-item {
    margin-bottom: 0.5rem;
}

.pgdd-nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    color: var(--pgdd-white);
    border-radius: var(--pgdd-radius);
    transition: all 0.3s ease;
}

.pgdd-nav-link:hover,
.pgdd-nav-active {
    background: var(--pgdd-primary);
    color: var(--pgdd-white);
}

/* Main Content */
.pgdd-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .pgdd-main {
        padding-bottom: 80px;
    }
}

/* Carousel Slider */
.pgdd-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--pgdd-radius-lg);
    margin-bottom: 2rem;
}

.pgdd-slides {
    position: relative;
    height: 180px;
}

.pgdd-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.pgdd-slide-active {
    opacity: 1;
}

.pgdd-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--pgdd-radius-lg);
}

.pgdd-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.pgdd-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgdd-dot-active {
    background: var(--pgdd-accent);
    transform: scale(1.2);
}

/* Section Styles */
.pgdd-section {
    padding: 2rem 0;
}

.pgdd-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgdd-text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--pgdd-primary);
}

/* Game Grid */
.pgdd-game-section {
    margin-bottom: 2.5rem;
}

.pgdd-game-category {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pgdd-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pgdd-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pgdd-game-card {
    background: var(--pgdd-bg-light);
    border-radius: var(--pgdd-radius);
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pgdd-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--pgdd-primary);
    box-shadow: var(--pgdd-shadow);
}

.pgdd-game-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--pgdd-radius);
    margin: 0 auto 0.5rem;
    object-fit: cover;
}

.pgdd-game-name {
    font-size: 1rem;
    color: var(--pgdd-white);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Box */
.pgdd-content-box {
    background: var(--pgdd-bg-light);
    border-radius: var(--pgdd-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--pgdd-primary);
}

.pgdd-content-box h2 {
    font-size: 1.6rem;
    color: var(--pgdd-text-light);
    margin-bottom: 1rem;
}

.pgdd-content-box p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--pgdd-gray);
    margin-bottom: 1rem;
}

.pgdd-content-box ul {
    list-style: none;
    padding-left: 0;
}

.pgdd-content-box li {
    font-size: 1.3rem;
    color: var(--pgdd-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pgdd-content-box li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--pgdd-primary);
}

/* Promo Link */
.pgdd-promo-link {
    color: var(--pgdd-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgdd-promo-link:hover {
    color: var(--pgdd-text-light);
    text-decoration: underline;
}

/* CTA Section */
.pgdd-cta {
    background: linear-gradient(135deg, var(--pgdd-primary) 0%, #8b4513 100%);
    border-radius: var(--pgdd-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.pgdd-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgdd-white);
    margin-bottom: 1rem;
}

.pgdd-cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.pgdd-cta .pgdd-btn {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    background: var(--pgdd-white);
    color: var(--pgdd-primary);
}

/* Footer */
.pgdd-footer {
    background: var(--pgdd-bg);
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--pgdd-gray);
}

.pgdd-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pgdd-footer-link {
    font-size: 1.2rem;
    color: var(--pgdd-gray);
    padding: 0.3rem 0.6rem;
    background: var(--pgdd-bg-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pgdd-footer-link:hover {
    color: var(--pgdd-text-light);
    background: var(--pgdd-primary);
}

.pgdd-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pgdd-partner-logo {
    width: 40px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pgdd-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.pgdd-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--pgdd-gray);
    padding-top: 1rem;
    border-top: 1px solid var(--pgdd-bg-light);
}

/* Mobile Bottom Navigation */
.pgdd-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pgdd-bg);
    border-top: 1px solid var(--pgdd-primary);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    height: 60px;
}

@media (min-width: 769px) {
    .pgdd-bottom-nav {
        display: none;
    }
}

.pgdd-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: none;
    border: none;
    color: var(--pgdd-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem;
}

.pgdd-nav-btn:hover,
.pgdd-nav-btn-active {
    color: var(--pgdd-primary);
    transform: scale(1.1);
}

.pgdd-nav-btn i,
.pgdd-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.pgdd-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Features Grid */
.pgdd-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.pgdd-feature-item {
    background: var(--pgdd-bg-light);
    border-radius: var(--pgdd-radius);
    padding: 1rem;
    text-align: center;
}

.pgdd-feature-icon {
    font-size: 2.4rem;
    color: var(--pgdd-primary);
    margin-bottom: 0.5rem;
}

.pgdd-feature-title {
    font-size: 1.2rem;
    color: var(--pgdd-text-light);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.pgdd-feature-desc {
    font-size: 1.1rem;
    color: var(--pgdd-gray);
}

/* Stats Section */
.pgdd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.pgdd-stat-item {
    background: var(--pgdd-bg-light);
    border-radius: var(--pgdd-radius);
    padding: 1rem;
    text-align: center;
}

.pgdd-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgdd-accent);
    margin-bottom: 0.3rem;
}

.pgdd-stat-label {
    font-size: 1.1rem;
    color: var(--pgdd-gray);
}

/* Responsive */
@media (max-width: 430px) {
    .pgdd-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .pgdd-game-icon {
        width: 45px;
        height: 45px;
    }

    .pgdd-game-name {
        font-size: 0.9rem;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .pgdd-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Utility Classes */
.pgdd-text-center { text-align: center; }
.pgdd-text-left { text-align: left; }
.pgdd-mb-1 { margin-bottom: 1rem; }
.pgdd-mb-2 { margin-bottom: 2rem; }
.pgdd-mt-1 { margin-top: 1rem; }
.pgdd-mt-2 { margin-top: 2rem; }
.pgdd-hidden { display: none; }
.pgdd-flex { display: flex; }
.pgdd-flex-center { display: flex; align-items: center; justify-content: center; }
