/* ColorHunt Palette CSS Variables */
:root {
    --color-dark-purple: #2E073F;
    --color-saturated-purple: #7A1CAC;
    --color-medium-lavender: #AD49E1;
    --color-light-lavender: #EBD3F8;
    --color-white: #FFFFFF;
    --color-black: #000000;
    
    /* Hover state variations */
    --color-dark-purple-hover: #3D0A4F;
    --color-saturated-purple-hover: #8B2CBC;
    --color-medium-lavender-hover: #BD59F1;
    --color-light-lavender-hover: #F5E3FF;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
.navbar {
    background: var(--color-dark-purple);
    box-shadow: 0 2px 10px rgba(46, 7, 63, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.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: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-saturated-purple);
    color: var(--color-white);
    border-color: var(--color-saturated-purple);
}

.btn-primary:hover {
    background: var(--color-saturated-purple-hover);
    border-color: var(--color-saturated-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 28, 172, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark-purple);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--color-medium-lavender);
    padding: 0.5rem 0;
}

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

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

.breadcrumb-item.active {
    color: var(--color-black);
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: var(--color-black);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-dark-purple) 0%, var(--color-saturated-purple) 100%);
    color: var(--color-white);
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--color-white);
}

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

.hero-actions .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-actions .btn-primary {
    background: var(--color-saturated-purple);
    color: var(--color-white);
    border: 2px solid var(--color-saturated-purple);
}

.hero-actions .btn-primary:hover {
    background: var(--color-medium-lavender);
    border-color: var(--color-medium-lavender);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 28, 172, 0.4);
}

.hero-actions .btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.hero-actions .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background-color: var(--color-light-lavender);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-black);
}

/* Sections */
.about-section,
.features-section,
.registration-section,
.advantages-section,
.faq-section,
.cta-section,
.register-section,
.login-section {
    margin-bottom: 4rem;
}

.about-section h2,
.features-section h2,
.registration-section h2,
.advantages-section h2,
.faq-section h2,
.cta-section h2,
.register-section h2,
.login-section h2 {
    font-size: 2rem;
    color: var(--color-dark-purple);
    margin-bottom: 1.5rem;
}

.about-section h3,
.registration-section h3,
.advantages-section h3,
.register-section h3,
.login-section h3 {
    font-size: 1.5rem;
    color: var(--color-saturated-purple);
    margin: 2rem 0 1rem 0;
}

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

.feature-card {
    background: var(--color-medium-lavender);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(173, 73, 225, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--color-medium-lavender-hover);
}

.feature-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-black);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-black);
}

/* Register and Login Sections */
.register-section,
.login-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.register-content,
.login-content {
    padding: 2rem 0;
}

.register-content h2,
.login-content h2 {
    font-size: 2.5rem;
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
    font-weight: bold;
}

.register-content p,
.login-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.register-content h3,
.login-content h3 {
    font-size: 1.8rem;
    color: var(--color-dark-purple);
    margin: 2rem 0 1.5rem 0;
    font-weight: bold;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.step-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #20c997;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(32, 201, 151, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(32, 201, 151, 0.3);
}

.step-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #20c997;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Button Styles */
.btn-secondary {
    background: #20c997;
    color: white;
    border: 2px solid #20c997;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.btn-secondary:hover {
    background: #1aa085;
    border-color: #1aa085;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 201, 151, 0.4);
}

/* Notes */
.register-note,
.login-note {
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.register-note a,
.login-note a {
    color: #20c997;
    text-decoration: none;
    font-weight: bold;
}

.register-note a:hover,
.login-note a:hover {
    text-decoration: underline;
}

/* Hero Images */
.hero-image-register {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

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

.hero-image-register img:hover {
    transform: scale(1.02);
}

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

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

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

/* Testimonials Section */
.testimonials-section {
    background: var(--color-white);
    padding: 4rem 0;
    margin: 4rem 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-dark-purple);
    margin-bottom: 3rem;
    font-weight: bold;
}

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

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--color-black);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    position: relative;
}

.testimonial-content p::before {
    content: """;
    font-size: 3rem;
    color: var(--color-medium-lavender);
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-content p::after {
    content: """;
    font-size: 3rem;
    color: var(--color-medium-lavender);
    position: absolute;
    bottom: -20px;
    right: -10px;
    opacity: 0.3;
}

.testimonial-author h4 {
    color: var(--color-dark-purple);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.testimonial-author span {
    color: var(--color-saturated-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-saturated-purple);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-black);
    font-weight: 500;
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item h3 {
    background: var(--color-light-lavender);
    padding: 1.5rem;
    margin: 0;
    color: var(--color-dark-purple);
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item h3:hover {
    background: var(--color-light-lavender-hover);
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    color: var(--color-black);
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 4rem;
}

.testimonials-section h2 {
    font-size: 2rem;
    color: var(--color-dark-purple);
    margin-bottom: 2rem;
    text-align: center;
}

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

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-content p {
    font-style: italic;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: var(--color-dark-purple);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--color-saturated-purple);
    font-size: 0.9rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-medium-lavender);
    border-radius: 10px;
    color: var(--color-black);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-dark-purple);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-black);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-dark-purple), var(--color-saturated-purple));
    color: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

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

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

/* About Page Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text h2 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

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

.value-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

/* Privacy Policy & Terms Styles */
.privacy-content,
.terms-content,
.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section,
.terms-section,
.disclaimer-section {
    margin-bottom: 2rem;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section h2 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3 {
    color: var(--color-saturated-purple);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 0.5rem;
}

/* Support Page Styles */
.support-content {
    max-width: 1000px;
    margin: 0 auto;
}

.support-methods {
    margin-bottom: 3rem;
}

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

.support-card {
    background: var(--color-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;
}

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

.support-icon {
    margin-bottom: 1rem;
}

.support-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.support-card h3 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

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

.topic-category {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.topic-category h3 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

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

.topic-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.topic-category li:last-child {
    border-bottom: none;
}

.support-hours,
.support-contact {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

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

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

.hours-item h3,
.contact-item h3 {
    color: var(--color-dark-purple);
    margin-bottom: 0.5rem;
}

/* 404 Page Styles */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.error-text h1 {
    color: var(--color-dark-purple);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: var(--color-saturated-purple);
    margin: 1rem 0;
}

.error-message {
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: 2rem;
}

.error-actions {
    margin: 2rem 0;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.suggestion-link {
    display: block;
    padding: 1rem;
    background: var(--color-white);
    color: var(--color-dark-purple);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    background: var(--color-dark-purple);
    color: var(--color-white);
    transform: translateY(-2px);
}

.error-help {
    background: var(--color-light-lavender);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.error-help h3 {
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

.help-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--color-dark-purple);
    color: var(--color-white);
    padding: 3rem 0 1rem 0;
    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 {
    margin-bottom: 1rem;
    color: var(--color-medium-lavender);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-medium-lavender);
}

.footer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-saturated-purple);
    padding-top: 1rem;
    text-align: center;
    color: var(--color-light-lavender);
}


/* Mobile Menu Toggle - Always visible on mobile/tablet */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    color: var(--color-medium-lavender);
}

/* Hamburger Menu Lines */
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 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(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-dark-purple);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        list-style: none;
        margin: 0;
        overflow-y: auto;
        display: flex;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
        list-style: none;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
        width: 100%;
        color: var(--color-white) !important;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        background: transparent;
        border: 1px solid transparent;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a[aria-current="page"] {
        background: var(--color-saturated-purple);
        color: var(--color-white) !important;
        border-color: var(--color-saturated-purple);
    }
    
    .nav-buttons {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: transparent;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 1001;
        display: flex;
        pointer-events: none;
    }
    
    .nav-buttons.active {
        left: 0;
        pointer-events: auto;
    }
    
    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        padding: 1rem;
        font-size: 1rem;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        width: 90%;
        max-width: 280px;
        padding: 4rem 1.5rem 2rem;
    }
    
    .nav-buttons {
        width: 90%;
        max-width: 280px;
        padding: 2rem 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .nav-buttons .btn {
        padding: 0.8rem;
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-image-register {
        order: -1;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero-image-register img {
        max-width: 150px;
        height: auto;
    }
    
    .hero-image-login img {
        max-width: 250px;
    }
    
    .step-box {
        padding: 1rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .step-content strong {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-info,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 1.8rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.3rem;
    }
    
    .hero-image-register {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-image-register img {
        max-width: 120px;
    }
    
    .hero-image-login img {
        max-width: 200px;
    }
    
    .step-box {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-icon {
        align-self: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-section h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.suggestion-link:focus {
    outline: 2px solid var(--color-medium-lavender);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--color-dark-purple);
        color: var(--color-white);
        border-color: var(--color-dark-purple);
    }
    
    .btn-outline {
        background: var(--color-white);
        color: var(--color-dark-purple);
        border-color: var(--color-dark-purple);
    }
}

/* Games Slider Section */
.games-slider-section {
    background: var(--color-white);
    padding: 4rem 0;
    margin: 4rem 0;
}

.games-slider-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
    font-weight: bold;
}

.games-slider-section p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.games-slider-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Image Container */
.main-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
    border-radius: 20px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.3) 100%);
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-dark-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover {
    background: var(--color-medium-lavender);
    color: var(--color-white);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* Thumbnails Container */
.thumbnails-container {
    width: 100%;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.thumbnail-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.thumbnail-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

.thumbnail-item.active {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.5);
    border: 3px solid #ffd700;
}

.thumbnail-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.1);
}

/* Thumbnail Placeholders */
.thumbnail-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* K3 Game (Dice) */
.k3-game {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.dice-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dice {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

.dice:nth-child(2) { animation-delay: 0.2s; }
.dice:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 5D Game (Lottery Balls) */
.five-d-game {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.lottery-balls {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ball {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

.ball.green { background: #4CAF50; }
.ball.orange { background: #FF9800; }
.ball.blue { background: #2196F3; }

.ball:nth-child(2) { animation-delay: 0.5s; }
.ball:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Win Go Game */
.win-go-game {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.win-go-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.red-ball {
    width: 35px;
    height: 35px;
    background: #f44336;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

.green-balls {
    display: flex;
    gap: 4px;
}

.green-balls .ball {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Trx Win Go Game */
.trx-win-go-game {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.trx-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.triangle {
    font-size: 2rem;
    color: #f44336;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: rotate 3s linear infinite;
}

.green-ball {
    width: 30px;
    height: 30px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* MotoRace Game */
.moto-race-game {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.moto-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.motorcycle {
    font-size: 2rem;
    animation: drive 2s ease-in-out infinite;
}

.moto-container .green-ball {
    width: 30px;
    height: 30px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes drive {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(5px); }
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}

.game-name {
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.play-btn {
    background: var(--color-saturated-purple);
    color: var(--color-white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(122, 28, 172, 0.3);
}

.play-btn:hover {
    background: var(--color-medium-lavender);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(122, 28, 172, 0.4);
}

.play-btn:active {
    transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .games-slider-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .games-slider-section h2 {
        font-size: 2rem;
    }
    
    .games-slider-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .main-image-container {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .thumbnail-image,
    .thumbnail-placeholder {
        height: 100px;
    }
    
    .thumbnail-overlay {
        padding: 10px;
    }
    
    .game-name {
        font-size: 1rem;
    }
    
    .play-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .image-overlay {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .games-slider-section {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .games-slider-section h2 {
        font-size: 1.8rem;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .thumbnail-image,
    .thumbnail-placeholder {
        height: 80px;
    }
    
    .thumbnail-overlay {
        padding: 8px;
    }
    
    .game-name {
        font-size: 0.9rem;
    }
    
    .play-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
    }
}

/* Animation for image switching */
.main-image.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading state */
.main-image.loading {
    opacity: 0.7;
    filter: blur(2px);
}

/* Focus styles for accessibility */
.thumbnail-item:focus,
.nav-arrow:focus,
.play-btn:focus {
    outline: 2px solid var(--color-medium-lavender);
    outline-offset: 2px;
}

/* High contrast mode support for games slider */
@media (prefers-contrast: high) {
    .thumbnail-item {
        border: 2px solid var(--color-dark-purple);
    }
    
    .thumbnail-item.active {
        border-color: #ffd700;
        background: var(--color-dark-purple);
    }
    
    .play-btn {
        background: var(--color-dark-purple);
        border: 2px solid var(--color-white);
    }
}
