/* Jaiho Arcade - Main Stylesheet */
/* Theme Colors: #0A0A0A (Black), #00FF85 (Neon Green), #14FFEC (Cyan), #6C63FF (Purple), #F5F5F5 (Light Grey) */

/* 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: #F5F5F5;
    background-color: #0A0A0A;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00FF85, #14FFEC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: #14FFEC;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #00FF85;
}

p {
    margin-bottom: 1rem;
    color: #F5F5F5;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #00FF85;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #F5F5F5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #00FF85;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FF85;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #00FF85;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00FF85, #14FFEC);
    color: #0A0A0A;
    box-shadow: 0 4px 15px rgba(0, 255, 133, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 133, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00FF85;
    border: 2px solid #00FF85;
}

.btn-secondary:hover {
    background: #00FF85;
    color: #0A0A0A;
    transform: translateY(-2px);
}

.btn-login {
    background: #6C63FF;
    color: #F5F5F5;
}

.btn-login:hover {
    background: #5A52E8;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #00FF85, #14FFEC);
    color: #0A0A0A;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 133, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(10, 10, 10, 0.8);
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #333;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: #14FFEC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #00FF85;
}

.breadcrumb-item::after {
    content: '>';
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb-item:last-child::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 133, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(20, 255, 236, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #F5F5F5;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

/* Brand Introduction */
.brand-intro {
    padding: 4rem 0;
    background: rgba(20, 255, 236, 0.05);
}

.intro-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 255, 236, 0.2);
}

/* Platform Features */
.platform-features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(108, 99, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.feature-icon svg {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 255, 133, 0.3));
}

/* Registration Process */
.registration-process {
    padding: 4rem 0;
    background: rgba(0, 255, 133, 0.05);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.process-text h3:first-child {
    margin-top: 0;
}

.process-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Advantages & Security */
.advantages-security {
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: rgba(20, 255, 236, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 255, 236, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 255, 236, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: rgba(108, 99, 255, 0.05);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(108, 99, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    overflow: hidden;
}

.faq-item h3 {
    background: rgba(108, 99, 255, 0.2);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item h3:hover {
    background: rgba(108, 99, 255, 0.3);
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    background: rgba(10, 10, 10, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 133, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #0A0A0A;
    padding: 3rem 0 1rem;
    border-top: 2px solid #00FF85;
}

.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: #00FF85;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #F5F5F5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #14FFEC;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

.footer-bottom a {
    color: #14FFEC;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #00FF85;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        border-top: 2px solid #00FF85;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .intro-grid,
    .process-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .advantage-item {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        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 {
    outline: 2px solid #14FFEC;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.advantage-item {
    animation: fadeIn 0.6s ease-out;
}

/* Page-specific styles */
.page-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 133, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #F5F5F5;
    opacity: 0.9;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.last-updated {
    color: #14FFEC;
    font-size: 0.9rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Policy Content */
.policy-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 133, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(20, 255, 236, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.policy-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.6);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 133, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.policy-text h2 {
    color: #00FF85;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.9rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.policy-text h2:first-child {
    margin-top: 0;
}

.policy-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00FF85, #14FFEC);
    border-radius: 2px;
}

.policy-text h3 {
    color: #14FFEC;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.policy-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #14FFEC, #6C63FF);
    border-radius: 2px;
}

.policy-text p {
    margin-bottom: 1.5rem;
    color: #F5F5F5;
    font-size: 1.05rem;
    text-align: justify;
    text-justify: inter-word;
}

.policy-text ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.policy-text li {
    margin-bottom: 0.8rem;
    color: #F5F5F5;
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.policy-text li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #00FF85;
    font-size: 0.8rem;
    transform: rotate(90deg);
}

.policy-text a {
    color: #14FFEC;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.policy-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14FFEC, #00FF85);
    transition: width 0.3s ease;
}

.policy-text a:hover {
    color: #00FF85;
    text-shadow: 0 0 8px rgba(0, 255, 133, 0.3);
}

.policy-text a:hover::after {
    width: 100%;
}

/* Policy content responsive design */
@media (max-width: 768px) {
    .policy-text {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-text h2 {
        font-size: 1.6rem;
    }
    
    .policy-text h3 {
        font-size: 1.2rem;
    }
    
    .policy-text p,
    .policy-text li {
        font-size: 1rem;
    }
}

/* About Us specific styles */
.our-story {
    padding: 4rem 0;
    background: rgba(0, 255, 133, 0.05);
}

.story-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 255, 133, 0.2);
}

.our-mission {
    padding: 4rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-item {
    background: rgba(20, 255, 236, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 255, 236, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 255, 236, 0.2);
}

.our-values {
    padding: 4rem 0;
    background: rgba(108, 99, 255, 0.05);
}

.values-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.values-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.values-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.values-text h3:first-child {
    margin-top: 0;
}

.values-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.2);
}

/* Support page styles */
.support-content {
    padding: 4rem 0;
}

.quick-help {
    margin-bottom: 4rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.help-item {
    background: rgba(0, 255, 133, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 133, 0.2);
    transition: transform 0.3s ease;
}

.help-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 133, 0.2);
}

.support-faq {
    margin-bottom: 4rem;
}

.contact-form-section {
    margin-bottom: 4rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: rgba(20, 255, 236, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(20, 255, 236, 0.2);
    text-align: center;
}

.contact-method h3 {
    color: #00FF85;
    margin-bottom: 1rem;
}

.contact-link {
    color: #14FFEC;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00FF85;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(108, 99, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00FF85;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.8);
    color: #F5F5F5;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FF85;
    box-shadow: 0 0 0 3px rgba(0, 255, 133, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff6b6b;
}

.response-info {
    margin-top: 4rem;
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.response-item {
    background: rgba(0, 255, 133, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 133, 0.2);
    text-align: center;
}

.response-item h3 {
    color: #14FFEC;
    margin-bottom: 0.5rem;
}

.response-item p {
    color: #00FF85;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .story-content,
    .values-content {
        grid-template-columns: 1fr;
    }
    
    .mission-grid,
    .help-grid,
    .contact-methods,
    .response-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
