/* NN Games - Modern Gaming Platform Styles */

/* 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: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    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: 20px;
    padding-right: 20px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #ffd700;
    background-color: rgba(255,255,255,0.1);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-login {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-register {
    background: #ffd700;
    color: #333;
}

.btn-register:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: #e9ecef;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Content Sections */
.brand-intro,
.features,
.image-gallery,
.registration-process,
.advantages,
.faq,
.cta {
    padding: 5rem 0;
}

.brand-intro {
    background: white;
}

.brand-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.brand-intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features {
    background: #f8f9fa;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Image Gallery Section */
.image-gallery {
    background: white;
}

.image-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

.gallery-item {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Registration Process */
.registration-process {
    background: white;
}

.registration-process h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.registration-process > p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    background: #f8f9fa;
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.advantages-text h3,
.security-features h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.advantages-text ul {
    list-style: none;
    padding: 0;
}

.advantages-text li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.advantages-text li:last-child {
    border-bottom: none;
}

.advantages-text strong {
    color: #333;
}

.security-features p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.faq-item a {
    color: #667eea;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-intro img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.intro-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission h2,
.vision h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.mission p,
.vision p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.values h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.achievements,
.future-plans {
    margin-bottom: 3rem;
}

.achievements h2,
.future-plans h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.achievements p,
.future-plans p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Support Page Styles */
.support-content {
    padding: 4rem 0;
}

.support-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.support-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.support-methods h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-method img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-method p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-topics h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.topic-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.topic-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.topic-card ul {
    list-style: none;
    padding: 0;
}

.topic-card li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #dee2e6;
}

.topic-card li:last-child {
    border-bottom: none;
}

.faq-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.response-times h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.response-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.response-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.response-item p {
    color: #666;
    margin-bottom: 0.5rem;
}

.support-tips h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.support-tips p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.support-tips ul {
    list-style: none;
    padding: 0;
}

.support-tips li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #dee2e6;
}

.support-tips li:last-child {
    border-bottom: none;
}

/* 404 Error Page */
.error-page {
    padding: 6rem 0;
    text-align: center;
    background: #f8f9fa;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-image {
    margin-bottom: 2rem;
}

.error-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.error-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 700;
}

.error-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.error-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    margin-bottom: 3rem;
}

.helpful-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
}

.helpful-links li {
    margin-bottom: 0.5rem;
}

.helpful-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1rem;
}

.helpful-links a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2c3e50;
    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 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Privacy Policy and Terms Styles */
.privacy-content,
.terms-content,
.disclaimer-content {
    padding: 4rem 0;
    background: white;
}

.privacy-intro,
.terms-intro,
.disclaimer-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.privacy-intro p,
.terms-intro p,
.disclaimer-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    margin-bottom: 3rem;
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #555;
}

.privacy-section p,
.terms-section p,
.disclaimer-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-section a,
.terms-section a,
.disclaimer-section a {
    color: #667eea;
    text-decoration: none;
}

.privacy-section a:hover,
.terms-section a:hover,
.disclaimer-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-intro,
    .mission-vision,
    .advantages-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .gallery-item {
        width: 180px;
        height: 270px;
    }
    
    .error-text h1 {
        font-size: 3rem;
    }
    
    .error-image img {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery-item {
        width: 160px;
        height: 240px;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-menu a:focus,
.footer-section a:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .breadcrumb {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
