/* PGLucky88 Casino - Modern CSS Framework */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5a87;
    --accent-color: #f6ad55;
    --success-color: #38a169;
    --warning-color: #ed8936;
    --danger-color: #e53e3e;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-menu a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--accent-color);
}

.nav-menu a:hover svg,
.nav-menu a[aria-current="page"] svg {
    transform: scale(1.1);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Sections */
section {
    padding: 4rem 0;
}

.brand-intro {
    background-color: var(--light-bg);
}

.brand-intro h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-intro p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: justify;
}

/* Platform Features */
.platform-features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Registration Process */
.registration-process {
    background-color: var(--light-bg);
}

.registration-process h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.process-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.process-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Advantages & Security */
.advantages-security h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.advantages-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.advantages-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item h3 {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item h3:hover {
    background-color: var(--secondary-color);
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    background: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-primary: #000000;
        --border-color: #000000;
    }
}

/* Additional Page Styles */
.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Section Headers with Icons */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.section-icon svg {
    width: 32px;
    height: 32px;
}

.section-header h2 {
    margin: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* About Us Page Styles */
.company-story,
.values-principles,
.team-expertise {
    padding: 3rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Privacy Policy and Terms Styles */
.privacy-content,
.terms-content,
.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Support Page Styles */
.support-content {
    padding: 3rem 0;
}

.support-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.support-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.support-intro p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    margin: 3rem 0;
}

.contact-methods h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info {
    margin: 1.5rem 0;
    text-align: left;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.support-faq {
    margin: 3rem 0;
}

.support-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.additional-resources {
    margin: 3rem 0;
}

.additional-resources h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.emergency-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.emergency-contact h2 {
    color: white;
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.emergency-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.emergency-info p {
    margin-bottom: 0.5rem;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .hero-actions {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
