/* BitStarz Mobile - Main Stylesheet */

/* ColorHunt Palette Variables */
:root {
    --vibrant-orange: #FF5F00;
    --deep-crimson: #B20600;
    --rich-midnight: #00092C;
    --soft-light-gray: #EEEEEE;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Adaptive Text Colors */
    --text-on-dark: var(--white);
    --text-on-light: var(--black);
    
    /* Hover Variations */
    --orange-hover: #E54A00;
    --crimson-hover: #9A0500;
    --midnight-hover: #000A1F;
    --gray-hover: #D4D4D4;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-on-light);
    background-color: var(--soft-light-gray);
}

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

/* Navigation Styles */
.navbar {
    background: var(--rich-midnight);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--vibrant-orange);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-on-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.mobile-menu-toggle:hover .hamburger-line {
    background: var(--vibrant-orange);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--vibrant-orange);
    color: var(--text-on-dark);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 0, 0.4);
}

.btn-secondary {
    background: var(--deep-crimson);
    color: var(--text-on-dark);
    border: 2px solid var(--deep-crimson);
}

.btn-secondary:hover {
    background: var(--crimson-hover);
    border-color: var(--crimson-hover);
}

.btn-login {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: var(--vibrant-orange);
    color: var(--text-on-dark);
}

.btn-register:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: var(--soft-light-gray);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-hover);
}

.breadcrumb-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    list-style: none;
}

.breadcrumb-item a {
    color: var(--text-on-light);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--vibrant-orange);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--rich-midnight) 0%, var(--deep-crimson) 100%);
    color: var(--text-on-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

/* Page Hero Section (for About Us, Support, etc.) */
.hero.page-hero {
    padding: 100px 0;
    min-height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rich-midnight) 0%, var(--deep-crimson) 50%, var(--vibrant-orange) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.hero.page-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--text-on-dark);
    background: linear-gradient(45deg, var(--text-on-dark), var(--vibrant-orange), var(--text-on-dark));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 95, 0, 0.3);
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero.page-hero p {
    font-size: 1.4rem;
    margin-bottom: 0;
    opacity: 0.95;
    color: var(--text-on-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero.page-hero .last-updated {
    font-size: 1.1rem;
    margin-top: 20px;
    opacity: 0.8;
    font-style: italic;
    color: var(--vibrant-orange);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Special styling for different page types */
.hero.page-hero.about-hero {
    background: linear-gradient(135deg, var(--rich-midnight) 0%, var(--deep-crimson) 30%, var(--vibrant-orange) 70%, var(--rich-midnight) 100%);
}

.hero.page-hero.support-hero {
    background: linear-gradient(135deg, var(--deep-crimson) 0%, var(--rich-midnight) 50%, var(--vibrant-orange) 100%);
}

.hero.page-hero.privacy-hero {
    background: linear-gradient(135deg, var(--vibrant-orange) 0%, var(--rich-midnight) 50%, var(--deep-crimson) 100%);
}

.hero.page-hero.terms-hero {
    background: linear-gradient(135deg, var(--rich-midnight) 0%, var(--vibrant-orange) 30%, var(--deep-crimson) 70%, var(--rich-midnight) 100%);
}

.hero.page-hero.disclaimer-hero {
    background: linear-gradient(135deg, var(--deep-crimson) 0%, var(--vibrant-orange) 30%, var(--rich-midnight) 70%, var(--deep-crimson) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--text-on-dark), var(--vibrant-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-highlight {
    color: var(--vibrant-orange);
    -webkit-text-fill-color: var(--vibrant-orange);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-on-dark);
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--vibrant-orange);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-icon {
    font-size: 1.2rem;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tag-icon {
    font-size: 1rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--white);
    color: var(--text-on-light);
}

section:nth-child(odd) {
    background: var(--soft-light-gray);
    color: var(--text-on-light);
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-on-light);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-on-light);
}

/* About Section */
.about-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-on-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card img {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--vibrant-orange);
    margin-bottom: 15px;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: var(--text-on-light);
}

.process-card h3 {
    color: var(--deep-crimson);
    margin-bottom: 20px;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--rich-midnight);
    color: var(--text-on-light);
}

.security-card h3 {
    color: var(--rich-midnight);
    margin-bottom: 15px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: var(--text-on-light);
}

.faq-item h3 {
    color: var(--deep-crimson);
    margin-bottom: 15px;
}

.faq-item a {
    color: var(--vibrant-orange);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
    color: var(--orange-hover);
}

/* CTA Section */
.cta-section {
    background: var(--deep-crimson);
    color: var(--text-on-dark);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-on-dark);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background: var(--rich-midnight);
    color: var(--text-on-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--vibrant-orange);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--vibrant-orange);
    opacity: 1;
}

.footer-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--midnight-hover);
    padding-top: 20px;
    text-align: center;
    color: var(--text-on-dark);
    opacity: 0.8;
}

/* Tablet and Mobile Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--rich-midnight);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 30px;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        max-width: 300px;
        text-align: center;
        border: 2px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: var(--vibrant-orange);
        color: var(--text-on-dark);
        transform: translateY(-2px);
        border-color: var(--vibrant-orange);
        box-shadow: 0 4px 15px rgba(255, 95, 0, 0.3);
    }
    
    .nav-menu a:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(255, 95, 0, 0.2);
    }
    
    .nav-buttons {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--rich-midnight);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-buttons.active {
        transform: translateX(0);
    }
    
    .nav-buttons .btn {
        margin: 10px 0;
        width: 200px;
        text-align: center;
        font-size: 1.1rem;
        padding: 15px 25px;
        border-radius: 30px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-buttons .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-buttons .btn:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 768px) {
    /* Additional mobile-specific styles can be added here if needed */
}
    
     /* Hero Section Mobile */
     .hero {
         padding: 60px 0;
         min-height: auto;
     }
     
     /* Page Hero Mobile */
     .hero.page-hero {
         padding: 80px 0;
         min-height: 400px;
     }
     
     .hero.page-hero h1 {
         font-size: 2.8rem;
         margin-bottom: 20px;
     }
     
     .hero.page-hero p {
         font-size: 1.2rem;
     }
     
     .hero.page-hero .last-updated {
         font-size: 1rem;
         margin-top: 15px;
     }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual img {
        max-width: 400px;
    }
    
    .features-grid,
    .process-grid,
    .security-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
     .hero h1 {
         font-size: 2rem;
     }
     
     .hero.page-hero h1 {
         font-size: 2.2rem;
     }
     
     .hero.page-hero p {
         font-size: 1.1rem;
     }
     
     .hero.page-hero .last-updated {
         font-size: 0.9rem;
     }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-visual img {
        max-width: 300px;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .process-card,
    .security-card,
    .faq-item {
        padding: 20px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero.page-hero {
        background: var(--rich-midnight) !important;
        background-size: 100% 100% !important;
        animation: none !important;
    }
    
    .hero.page-hero h1 {
        background: var(--text-on-dark) !important;
        -webkit-text-fill-color: var(--text-on-dark) !important;
        animation: none !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-menu a:focus,
.footer-section a:focus {
    outline: 2px solid var(--vibrant-orange);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--black);
        color: var(--white);
        border: 2px solid var(--white);
    }
    
    .btn-secondary {
        background: var(--white);
        color: var(--black);
        border: 2px solid var(--black);
    }
    
    .navbar {
        background: var(--black);
    }
    
    .hero {
        background: var(--black);
    }
    
    .footer {
        background: var(--black);
    }
}

/* Additional Styles for New Pages */

/* About Us Page Styles */
.about-story {
    background: var(--white);
    color: var(--text-on-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text h2 {
    color: var(--deep-crimson);
    margin-bottom: 30px;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-on-light);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card img {
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--vibrant-orange);
    margin-bottom: 15px;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--rich-midnight);
    color: var(--text-on-light);
}

.expertise-item h3 {
    color: var(--rich-midnight);
    margin-bottom: 15px;
}

.commitment-list {
    list-style: none;
    padding: 0;
}

.commitment-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-hover);
    position: relative;
    padding-left: 30px;
    color: var(--text-on-light);
}

.commitment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vibrant-orange);
    font-weight: bold;
}

/* Privacy Policy and Terms Pages */
.privacy-content,
.terms-content,
.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-intro,
.terms-intro,
.disclaimer-intro {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    color: var(--text-on-light);
}

.privacy-section,
.terms-section,
.disclaimer-section {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    color: var(--text-on-light);
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    color: var(--deep-crimson);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-hover);
    padding-bottom: 10px;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    color: var(--text-on-light);
    margin: 25px 0 15px 0;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 8px;
}

.last-updated {
    font-style: italic;
    color: var(--text-on-light);
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Support Page Styles */
.support-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.support-intro {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-on-light);
}

.support-methods {
    margin-bottom: 50px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-on-light);
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card img {
    margin-bottom: 20px;
}

.support-card h3 {
    color: var(--vibrant-orange);
    margin-bottom: 15px;
}

.support-card p {
    margin-bottom: 25px;
    color: var(--text-on-light);
    opacity: 0.8;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.topic-category {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: var(--text-on-light);
}

.topic-category h3 {
    color: var(--deep-crimson);
    margin-bottom: 20px;
}

.topic-category ul {
    list-style: none;
    padding: 0;
}

.topic-category li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-hover);
    position: relative;
    padding-left: 20px;
}

.topic-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--vibrant-orange);
}

.response-times {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
    color: var(--text-on-light);
}

.response-times ul {
    list-style: none;
    padding: 0;
}

.response-times li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-hover);
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
    color: var(--text-on-light);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: var(--rich-midnight);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-on-light);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 404 Error Page Styles */
.error-section {
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

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

.error-text h1 {
    font-size: 4rem;
    color: var(--deep-crimson);
    margin-bottom: 20px;
}

.error-text h2 {
    color: var(--text-on-light);
    margin-bottom: 20px;
}

.error-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-on-light);
    opacity: 0.8;
}

.error-suggestions {
    background: var(--soft-light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    color: var(--text-on-light);
}

.error-suggestions h3 {
    color: var(--vibrant-orange);
    margin-bottom: 15px;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.error-suggestions li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--vibrant-orange);
}

.error-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.popular-pages {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    color: var(--text-on-light);
}

.popular-pages h3 {
    text-align: center;
    color: var(--deep-crimson);
    margin-bottom: 30px;
}

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

.page-card {
    background: var(--soft-light-gray);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-on-light);
}

.page-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-card img {
    margin-bottom: 15px;
}

.page-card h4 {
    color: var(--rich-midnight);
    margin-bottom: 10px;
}

.page-card p {
    color: var(--text-on-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.search-section {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-on-light);
}

.search-section h3 {
    color: var(--vibrant-orange);
    margin-bottom: 15px;
}

.search-section p {
    color: var(--text-on-light);
    margin-bottom: 25px;
    opacity: 0.8;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--gray-hover);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-on-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--vibrant-orange);
}

/* Registration and Login Sections */
.register-section,
.login-section {
    background: var(--white);
    color: var(--text-on-light);
    padding: 80px 0;
}

.register-section .container,
.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.register-content,
.login-content {
    max-width: 600px;
}

.register-content h2,
.login-content h2 {
    font-size: 2.5rem;
    color: var(--deep-crimson);
    margin-bottom: 20px;
    line-height: 1.2;
}

.register-content p,
.login-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-on-light);
    opacity: 0.8;
}

.register-content h3,
.login-content h3 {
    font-size: 1.8rem;
    color: var(--vibrant-orange);
    margin-bottom: 30px;
    margin-top: 40px;
}

/* Registration Steps */
.registration-steps,
.login-steps {
    margin-bottom: 40px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    background: var(--soft-light-gray);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--vibrant-orange);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-icon {
    margin-right: 20px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--vibrant-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--deep-crimson);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-on-light);
    opacity: 0.8;
}

.step-content strong {
    color: var(--vibrant-orange);
    font-weight: 600;
}

/* Login Benefits */
.login-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.login-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-hover);
    position: relative;
    padding-left: 30px;
    color: var(--text-on-light);
}

.login-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vibrant-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.login-benefits li:last-child {
    border-bottom: none;
}

/* Action Buttons */
.register-actions,
.login-actions {
    text-align: center;
    margin-top: 40px;
}

.register-actions .btn,
.login-actions .btn {
    margin-bottom: 20px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.register-note,
.login-note {
    font-size: 1rem;
    color: var(--text-on-light);
    opacity: 0.8;
    margin-top: 20px;
}

.register-note a,
.login-note a {
    color: var(--vibrant-orange);
    text-decoration: none;
    font-weight: 600;
}

.register-note a:hover,
.login-note a:hover {
    text-decoration: underline;
    color: var(--orange-hover);
}

/* Images */
.register-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.register-images img {
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.register-images img:hover {
    transform: scale(1.05);
}

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

.login-image img {
    width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.login-image img:hover {
    transform: scale(1.05);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .story-content,
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-text h1 {
        font-size: 3rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .pages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    /* Registration and Login Responsive */
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.5rem;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .register-images {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .register-images img {
        width: 200px;
        margin: 10px;
    }
    
    .login-image img {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .register-content h2,
    .login-content h2 {
        font-size: 1.8rem;
    }
    
    .register-images img {
        width: 150px;
    }
    
    .login-image img {
        width: 200px;
    }
    
    .step-card {
        padding: 15px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-icon img {
        width: 25px;
        height: 25px;
    }
}
