/* Star Casino - Main Stylesheet */
/* All classes use pgcb- prefix for namespace isolation */

/* CSS Variables */
:root {
    --pgcb-primary: #ADFF2F;
    --pgcb-secondary: #ADD8E6;
    --pgcb-accent: #DEE2E6;
    --pgcb-dark: #0D1117;
    --pgcb-light: #F0F8FF;
    --pgcb-text-dark: #1a1a1a;
    --pgcb-text-light: #ffffff;
    --pgcb-shadow: rgba(0, 0, 0, 0.3);
    --pgcb-gradient: linear-gradient(135deg, #ADFF2F 0%, #ADD8E6 100%);
    --pgcb-header-height: 60px;
    --pgcb-bottom-nav-height: 64px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--pgcb-dark);
    color: var(--pgcb-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.pgcb-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Header Styles */
.pgcb-header {
    background-color: var(--pgcb-dark);
    border-bottom: 2px solid var(--pgcb-primary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--pgcb-shadow);
}

.pgcb-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    max-width: 430px;
    margin: 0 auto;
}

.pgcb-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--pgcb-primary);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.5);
}

.pgcb-header-buttons {
    display: flex;
    gap: 10px;
}

.pgcb-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.pgcb-btn-register {
    background-color: var(--pgcb-primary);
    color: var(--pgcb-dark);
}

.pgcb-btn-register:hover {
    background-color: #9EE62A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(173, 255, 47, 0.4);
}

.pgcb-btn-login {
    background-color: var(--pgcb-secondary);
    color: var(--pgcb-dark);
}

.pgcb-btn-login:hover {
    background-color: #9CD0DE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(173, 216, 230, 0.4);
}

/* Menu Toggle */
.pgcb-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--pgcb-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 769px) {
    .pgcb-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.pgcb-mobile-menu {
    position: fixed;
    top: var(--pgcb-header-height);
    left: -100%;
    width: 100%;
    max-width: 430px;
    height: calc(100vh - var(--pgcb-header-height));
    background-color: var(--pgcb-dark);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    border-right: 2px solid var(--pgcb-primary);
}

.pgcb-mobile-menu.pgcb-active {
    left: 0;
}

.pgcb-menu-link {
    display: block;
    padding: 15px 0;
    color: var(--pgcb-light);
    text-decoration: none;
    border-bottom: 1px solid var(--pgcb-accent);
    font-size: 16px;
    transition: color 0.3s ease;
}

.pgcb-menu-link:hover {
    color: var(--pgcb-primary);
    padding-left: 10px;
}

/* Main Content */
main {
    padding: 20px 0 80px 0;
    min-height: 80vh;
}

@media (min-width: 769px) {
    main {
        padding-bottom: 20px;
    }
}

/* Sections */
.pgcb-section {
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.8) 0%, rgba(13, 17, 23, 0.95) 100%);
    border-radius: 15px;
    border: 1px solid var(--pgcb-accent);
}

.pgcb-section-title {
    font-size: 22px;
    color: var(--pgcb-primary);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.3);
}

/* Game Cards */
.pgcb-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.pgcb-game-card {
    background: linear-gradient(145deg, #1a1f2a 0%, #0D1117 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--pgcb-accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pgcb-game-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--pgcb-primary);
    box-shadow: 0 8px 20px rgba(173, 255, 47, 0.3);
}

.pgcb-game-card.pgcb-card-hover {
    border-color: var(--pgcb-primary);
    box-shadow: 0 8px 20px rgba(173, 255, 47, 0.3);
}

.pgcb-game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.pgcb-game-info {
    padding: 10px;
}

.pgcb-game-title {
    font-size: 14px;
    color: var(--pgcb-light);
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.pgcb-game-type {
    font-size: 11px;
    color: var(--pgcb-secondary);
    text-align: center;
}

/* Buttons */
.pgcb-btn-primary {
    background: var(--pgcb-gradient);
    color: var(--pgcb-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 10px 5px;
}

.pgcb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(173, 255, 47, 0.5);
}

.pgcb-btn-secondary {
    background-color: var(--pgcb-secondary);
    color: var(--pgcb-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 10px 5px;
}

.pgcb-btn-secondary:hover {
    background-color: #9CD0DE;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(173, 216, 230, 0.5);
}

/* Mobile Bottom Navigation */
.pgcb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--pgcb-bottom-nav-height);
    background: linear-gradient(180deg, var(--pgcb-dark) 0%, #1a1f2a 100%);
    border-top: 2px solid var(--pgcb-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 15px var(--pgcb-shadow);
}

@media (min-width: 769px) {
    .pgcb-bottom-nav {
        display: none;
    }
}

.pgcb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--pgcb-accent);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    padding: 5px;
}

.pgcb-nav-item:hover {
    color: var(--pgcb-primary);
    background-color: rgba(173, 255, 47, 0.1);
    transform: scale(1.1);
}

.pgcb-nav-item.pgcb-active {
    color: var(--pgcb-primary);
}

.pgcb-nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.pgcb-nav-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Footer */
.pgcb-footer {
    background-color: var(--pgcb-dark);
    border-top: 2px solid var(--pgcb-primary);
    padding: 30px 15px 80px 15px;
    margin-top: 40px;
}

@media (min-width: 769px) {
    .pgcb-footer {
        padding-bottom: 30px;
    }
}

.pgcb-footer-content {
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
}

.pgcb-footer-links {
    margin-bottom: 20px;
}

.pgcb-footer-link {
    color: var(--pgcb-secondary);
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pgcb-footer-link:hover {
    color: var(--pgcb-primary);
}

.pgcb-footer-text {
    color: var(--pgcb-accent);
    font-size: 12px;
    line-height: 1.8;
}

/* Animations */
.pgcb-fade-in {
    animation: pgcbFadeIn 0.6s ease-out;
}

@keyframes pgcbFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pgcb-section {
        padding: 15px;
    }

    .pgcb-games-grid {
        gap: 10px;
    }

    .pgcb-game-image {
        height: 100px;
    }
}

/* Hero Section */
.pgcb-hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--pgcb-gradient);
    border-radius: 15px;
    margin-bottom: 30px;
}

.pgcb-hero-title {
    font-size: 28px;
    color: var(--pgcb-dark);
    font-weight: 800;
    margin-bottom: 15px;
}

.pgcb-hero-subtitle {
    font-size: 16px;
    color: var(--pgcb-dark);
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Feature List */
.pgcb-feature-list {
    list-style: none;
    padding: 0;
}

.pgcb-feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--pgcb-accent);
    color: var(--pgcb-light);
    display: flex;
    align-items: center;
}

.pgcb-feature-list li:before {
    content: "★";
    color: var(--pgcb-primary);
    margin-right: 10px;
    font-size: 18px;
}

/* Text Styles */
.pgcb-text-highlight {
    color: var(--pgcb-primary);
    font-weight: 700;
}

.pgcb-text-secondary {
    color: var(--pgcb-secondary);
}

/* Spacing */
.pgcb-mt-20 { margin-top: 20px; }
.pgcb-mb-20 { margin-bottom: 20px; }
.pgcb-mb-30 { margin-bottom: 30px; }
.pgcb-text-center { text-align: center; }
