/* Yono All Games APK - Main Stylesheet */

/* 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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ee5a24;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-brand a {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-outline:hover {
    background: #ff6b6b;
    color: white;
}

.btn-login {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-login:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.btn-register {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-register:hover {
    background: #c0392b;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: #ecf0f1;
    padding: 0.5rem 0;
    border-bottom: 1px solid #bdc3c7;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item {
    margin-right: 0.5rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: #7f8c8d;
}

.breadcrumb-item a {
    color: #7f8c8d;
}

.breadcrumb-item[aria-current="page"] {
    color: #2c3e50;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}


/* Page Header */
.page-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Content Sections */
.brand-intro,
.platform-features,
.registration-process,
.advantages-security,
.faq-section,
.cta-section,
.about-content,
.privacy-content,
.terms-content,
.disclaimer-content,
.support-content {
    padding: 3rem 0;
}

/* Platform Banner */
.platform-banner {
    margin: 2rem 0;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
}

.platform-banner img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 300px;
    display: block;
}

.platform-banner:hover img {
    transform: scale(1.02);
}

/* Banner Fallback Placeholder */
.banner-placeholder {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
}

.banner-placeholder .placeholder-content {
    max-width: 600px;
}

.banner-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-placeholder h3 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-placeholder p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-intro {
    background: white;
}

.platform-features {
    background: #f8f9fa;
}

.registration-process {
    background: white;
}

.advantages-security {
    background: #f8f9fa;
}

.faq-section {
    background: white;
}

.cta-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 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);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.placeholder-text {
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Legacy image styles for other sections */
.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    display: block;
    min-height: 200px;
}

.feature-card img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Registration Steps */
.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Advantages Content */
.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.advantages-text,
.security-text {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantages-text ul,
.security-text ul {
    list-style: none;
    padding-left: 0;
}

.advantages-text li,
.security-text li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.advantages-text li:last-child,
.security-text li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item h3 {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item h3:hover {
    background: #e9ecef;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    border-top: 1px solid #ecf0f1;
}

/* About Page Styles */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-intro img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Privacy/Terms/Disclaimer Pages */
.privacy-intro,
.terms-intro,
.disclaimer-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.privacy-intro img,
.terms-intro img,
.disclaimer-intro img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

/* Support Page Styles */
.support-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.support-intro img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.topic-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.topic-category ul {
    list-style: none;
    padding-left: 0;
}

.topic-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.topic-category li:last-child {
    border-bottom: none;
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.response-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* 404 Error Page */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-image {
    margin-bottom: 2rem;
}

.error-image img {
    max-width: 100%;
    height: auto;
}

.error-text h1 {
    color: #ff6b6b;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.error-suggestions {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
    text-align: left;
}

.error-suggestions ul {
    list-style: none;
    padding-left: 0;
}

.error-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.error-suggestions li:last-child {
    border-bottom: none;
}

.error-help {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.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 ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    padding: 0.25rem 0;
}

.footer-section a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 10px;
    }
    
    .nav-brand {
        order: 1;
    }
    
    .nav-menu {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .nav-menu li {
        flex: 1;
        min-width: 0;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
        text-align: center;
        display: block;
    }
    
    .nav-buttons {
        order: 3;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-content,
    .about-intro,
    .privacy-intro,
    .terms-intro,
    .disclaimer-intro,
    .support-intro {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .registration-steps,
    .values-grid,
    .support-grid,
    .topics-grid,
    .response-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-header {
        padding: 2rem 0;
    }
    
    .brand-intro,
    .platform-features,
    .registration-process,
    .advantages-security,
    .faq-section,
    .cta-section,
    .about-content,
    .privacy-content,
    .terms-content,
    .disclaimer-content,
    .support-content {
        padding: 2rem 0;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility Improvements */
@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 #ff6b6b;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
