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

:root {
    --creamy-ivory: #FFEAD8;
    --warm-taupe: #E8988A;
    --deep-magenta: #9B177E;
    --dark-indigo: #2A1458;
    --shadow: 0 4px 6px rgba(155, 23, 126, 0.2);
    --shadow-hover: 0 8px 15px rgba(155, 23, 126, 0.3);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-indigo);
    background: var(--creamy-ivory);
    min-height: 100vh;
}

.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;
    color: var(--deep-magenta);
}

h1 {
    font-size: 2.5rem;
    color: var(--deep-magenta);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--deep-magenta);
}

h3 {
    font-size: 1.5rem;
    color: var(--deep-magenta);
}

p {
    margin-bottom: 1rem;
    color: var(--dark-indigo);
}

/* Header and Navigation */
.header {
    background: #9b177e !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--creamy-ivory);
    box-shadow: 0 4px 15px rgba(155, 23, 126, 0.3);
    transition: none;
    will-change: transform;
}

.navbar {
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-container h2 {
    color: var(--creamy-ivory);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    list-style: none;
    margin: 0;
}

.nav-link {
    color: var(--creamy-ivory);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: block;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--creamy-ivory);
    background: rgba(255, 234, 216, 0.15);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--creamy-ivory);
    transition: all 0.3s ease;
    border-radius: 1px;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.login-btn {
    background: var(--warm-taupe);
    color: var(--creamy-ivory);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(232, 152, 138, 0.3);
    display: block;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover {
    background: var(--deep-magenta);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 23, 126, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 234, 216, 0.1);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--creamy-ivory);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    min-width: 120px;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(45deg, var(--deep-magenta), var(--warm-taupe));
    color: var(--creamy-ivory);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--warm-taupe), var(--deep-magenta));
}

.btn-secondary {
    background: transparent;
    color: var(--deep-magenta);
    border: 3px solid var(--deep-magenta);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--deep-magenta);
    color: var(--creamy-ivory);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-login {
    background: transparent;
    color: var(--deep-magenta);
    border: 3px solid var(--deep-magenta);
    font-weight: 700;
}

.btn-login:hover {
    background: var(--deep-magenta);
    color: var(--creamy-ivory);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-register {
    background: linear-gradient(45deg, var(--deep-magenta), var(--warm-taupe));
    color: var(--creamy-ivory);
    font-weight: 700;
}

.btn-register:hover {
    background: linear-gradient(45deg, var(--warm-taupe), var(--deep-magenta));
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Main Content */
main {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

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

.hero-content {
    text-align: left;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark-indigo);
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 3px solid var(--warm-taupe);
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--deep-magenta);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-indigo);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-magenta);
    text-align: center;
    margin: 2rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.final-cta {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--creamy-ivory);
    text-align: center;
    margin: 2rem 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* What is Lottery Section */
.what-is-lottery {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(232, 152, 138, 0.2), rgba(255, 234, 216, 0.2));
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* How to Play Section */
.how-to-play {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(232, 152, 138, 0.3), rgba(255, 234, 216, 0.3));
}

/* Register Login Section */
.register-login {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 234, 216, 0.2), rgba(232, 152, 138, 0.2));
}

.register-section,
.login-section {
    margin-bottom: 4rem;
}

.register-section:last-child,
.login-section:last-child {
    margin-bottom: 0;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.register-link {
    color: var(--deep-magenta);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.register-link:hover {
    color: var(--warm-taupe);
    text-decoration: underline;
}

.password-recovery {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    border: 2px solid var(--warm-taupe);
    text-align: center;
}

.password-recovery p {
    margin: 0;
    color: var(--dark-indigo);
    font-weight: 500;
}

/* Popular Games Section */
.popular-games {
    padding: 4rem 0;
}

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

.game-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 3px solid var(--warm-taupe);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--deep-magenta);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Winning Strategies Section */
.winning-strategies {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 240, 121, 0.2), rgba(255, 212, 139, 0.2));
}

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

.strategy-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 3px solid var(--deep-magenta);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--warm-taupe);
}

.strategy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Legal Info Section */
.legal-info {
    padding: 4rem 0;
}

/* User Reviews Section */
.user-reviews {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(232, 152, 138, 0.2), rgba(255, 234, 216, 0.2));
}

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

.review-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--warm-taupe);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--deep-magenta);
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark-indigo);
}

.review-author {
    font-weight: 600;
    color: var(--deep-magenta);
    text-align: right;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    margin-top: 3rem;
}

/* Registration Steps */
.registration-steps {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 240, 121, 0.3), rgba(255, 212, 139, 0.3));
}

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

.step {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 3px solid var(--warm-taupe);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--deep-magenta);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--deep-magenta), var(--warm-taupe));
    color: var(--creamy-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 3px solid var(--deep-magenta);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--warm-taupe);
}

.feature-card img {
    margin-bottom: 1rem;
    border-radius: 15px;
    padding: 10px;
    background: linear-gradient(45deg, var(--warm-taupe), var(--creamy-ivory));
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(45deg, var(--deep-magenta), var(--warm-taupe));
    text-align: center;
}

.cta h2 {
    color: var(--creamy-ivory);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta p {
    color: var(--creamy-ivory);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--deep-magenta), var(--warm-taupe));
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--creamy-ivory);
}

.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: var(--creamy-ivory);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

.footer-section ul li a {
    color: var(--creamy-ivory);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--warm-taupe);
    transform: translateX(5px);
}

.footer-section p {
    color: var(--creamy-ivory);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--creamy-ivory);
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 1;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    color: var(--warm-taupe);
}

.social-links i {
    font-size: 1.2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--creamy-ivory);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--creamy-ivory);
    font-size: 0.9rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--creamy-ivory);
    opacity: 0.7;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--warm-taupe);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--warm-taupe), var(--creamy-ivory));
    color: var(--deep-magenta);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: linear-gradient(45deg, var(--creamy-ivory), var(--warm-taupe));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 234, 216, 0.3);
    color: var(--creamy-ivory);
    font-weight: 500;
}

/* 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-link:focus,
a:focus {
    outline: 3px solid var(--deep-magenta);
    outline-offset: 3px;
    border-radius: 5px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --creamy-ivory: #FFEAD8;
        --warm-taupe: #E8988A;
        --deep-magenta: #9B177E;
        --dark-indigo: #2A1458;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Mobile Header Styles */
    .header {
        background: #9b177e !important;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0 15px;
    }

    .nav-logo {
        flex-shrink: 0;
    }

    .logo-container h2 {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: #9b177e !important;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 2px solid var(--creamy-ivory);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 234, 216, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 234, 216, 0.1);
        transform: none;
    }

    .nav-link::after {
        display: none;
    }

    .login-btn {
        margin: 1rem 2rem;
        width: calc(100% - 4rem);
        text-align: center;
        padding: 12px 20px;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

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

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

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

    /* Other mobile styles */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .logo-container h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .header {
        background: #9b177e !important;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
        gap: 0.5rem;
    }
    
    .logo-container h2 {
        font-size: 1.1rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .hero {
        padding: 2rem 0;
    }

    .registration-steps,
    .features,
    .cta {
        padding: 2rem 0;
    }

    .step,
    .feature-card {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    h1, h2, h3, h4, h5, h6 {
        color: black;
    }

    p {
        color: black;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form styles for future use */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--vivid-purple);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    color: var(--vivid-purple);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 0 3px rgba(255, 128, 243, 0.2);
    transform: translateY(-2px);
}

/* Error and success states */
.error {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.success {
    color: #00ff00;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Page Header Styles */
/* ===== SECONDARY PAGES STYLING ===== */

/* Page Header Styles */
.page-header {
    padding: 5rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--deep-magenta), var(--warm-taupe));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--creamy-ivory);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--creamy-ivory);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Main Content Container */
.content-section {
    padding: 4rem 0;
    background: #f9f9f9;
    min-height: 60vh;
}

.content-section:nth-child(even) {
    background: #ffffff;
}

/* Content Card Container */
.content-card-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(155, 23, 126, 0.1);
    overflow: hidden;
    border: 1px solid rgba(155, 23, 126, 0.1);
}

/* Policy, Terms, and Disclaimer Content */
.policy-content,
.terms-content,
.disclaimer-content {
    padding: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark-indigo);
}

.policy-content h2,
.terms-content h2,
.disclaimer-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--warm-taupe);
    position: relative;
}

.policy-content h2::before,
.terms-content h2::before,
.disclaimer-content h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--deep-magenta);
}

.policy-content h3,
.terms-content h3,
.disclaimer-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--deep-magenta);
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--warm-taupe);
}

.policy-content p,
.terms-content p,
.disclaimer-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-indigo);
}

.policy-content ul,
.terms-content ul,
.disclaimer-content ul {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 1rem;
}

.policy-content li,
.terms-content li,
.disclaimer-content li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-indigo);
    position: relative;
}

.policy-content li::before,
.terms-content li::before,
.disclaimer-content li::before {
    content: '•';
    color: var(--warm-taupe);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.policy-content a,
.terms-content a,
.disclaimer-content a {
    color: var(--deep-magenta);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.policy-content a:hover,
.terms-content a:hover,
.disclaimer-content a:hover {
    color: var(--warm-taupe);
    border-bottom-color: var(--warm-taupe);
    transform: translateY(-1px);
}

.policy-footer,
.terms-footer,
.disclaimer-footer {
    margin-top: 3rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(155, 23, 126, 0.05), rgba(232, 152, 138, 0.05));
    border-top: 2px solid rgba(155, 23, 126, 0.1);
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.policy-footer p,
.terms-footer p,
.disclaimer-footer p {
    font-size: 1.1rem;
    color: var(--dark-indigo);
    margin: 0;
    font-weight: 500;
}

/* About Us Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(155, 23, 126, 0.1);
    border: 1px solid rgba(155, 23, 126, 0.1);
}

.about-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-indigo);
    max-width: 800px;
    margin: 0 auto;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.mission,
.vision {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(155, 23, 126, 0.1);
    border: 1px solid rgba(155, 23, 126, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission::before,
.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-magenta), var(--warm-taupe));
}

.mission:hover,
.vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(155, 23, 126, 0.15);
}

.mission h3,
.vision h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mission p,
.vision p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-indigo);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.value-item {
    text-align: center;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(155, 23, 126, 0.1);
    border: 1px solid rgba(155, 23, 126, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-magenta), var(--warm-taupe));
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(155, 23, 126, 0.15);
}

.value-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin-bottom: 1rem;
}

.value-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-indigo);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member {
    text-align: center;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(155, 23, 126, 0.1);
    border: 1px solid rgba(155, 23, 126, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-magenta), var(--warm-taupe));
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(155, 23, 126, 0.15);
}

.team-member img {
    border-radius: 50%;
    margin-bottom: 1.5rem;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--warm-taupe);
}

.team-member h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--warm-taupe);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-member p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-indigo);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.achievement {
    text-align: center;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(155, 23, 126, 0.1);
    border: 1px solid rgba(155, 23, 126, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-magenta), var(--warm-taupe));
}

.achievement:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(155, 23, 126, 0.15);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--deep-magenta);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(155, 23, 126, 0.2);
}

.achievement h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-magenta);
    margin-bottom: 0.5rem;
}

.achievement p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-indigo);
}

.commitment-list {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.commitment-list li {
    margin-bottom: 1rem;
}

/* Contact Us Page Styles */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

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

.contact-method {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--vivid-purple);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--neon-pink);
}

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

.contact-link {
    color: var(--vivid-purple);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    color: var(--neon-pink);
}

.response-time {
    color: var(--vivid-purple);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

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

.location {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--vivid-purple);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.location:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--neon-pink);
}

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

.department {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    border: 3px solid var(--neon-pink);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--vivid-purple);
}

.department a {
    color: var(--vivid-purple);
    text-decoration: none;
    font-weight: 600;
}

.department a:hover {
    color: var(--neon-pink);
}

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

.response-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    border: 3px solid var(--vivid-purple);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.response-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--neon-pink);
}

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

.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: var(--gold-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid var(--vivid-purple);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 128, 243, 0.1);
}

.faq-question h4 {
    margin: 0;
    color: var(--vivid-purple);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--neon-pink);
    font-weight: bold;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 240, 121, 0.2);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--vivid-purple);
}

.faq-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--neon-pink);
    box-shadow: var(--shadow);
}

.faq-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

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

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

.error-number {
    font-size: 8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--vivid-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-message {
    margin-bottom: 3rem;
}

.error-message h2 {
    margin-bottom: 1rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.helpful-links {
    margin-bottom: 3rem;
}

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

.link-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-decoration: none;
    color: var(--vivid-purple);
    transition: var(--transition);
    border: 2px solid var(--vivid-purple);
    box-shadow: var(--shadow);
}

.link-item a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-hover);
}

.search-section {
    margin-bottom: 3rem;
}

.search-form {
    max-width: 500px;
    margin: 1.5rem auto 0;
}

.search-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--vivid-purple);
    box-shadow: var(--shadow);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--vivid-purple);
    font-size: 1rem;
}

.search-input::placeholder {
    color: var(--vivid-purple);
    opacity: 0.7;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(45deg, var(--neon-pink), var(--vivid-purple));
    color: var(--pale-yellow);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.search-btn:hover {
    background: linear-gradient(45deg, var(--vivid-purple), var(--neon-pink));
    transform: scale(1.05);
}

.error-tips {
    margin-bottom: 3rem;
    text-align: left;
}

.error-tips ul {
    margin-left: 2rem;
}

.error-tips li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* New sections responsive */
    .games-grid,
    .strategies-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon,
    .game-icon,
    .strategy-icon {
        font-size: 2.5rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    .final-cta {
        font-size: 1.3rem;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .register-section,
    .login-section {
        margin-bottom: 3rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--deep-magenta), var(--warm-taupe));
    color: var(--creamy-ivory);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(155, 23, 126, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(45deg, var(--warm-taupe), var(--deep-magenta));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(155, 23, 126, 0.4);
}

.back-to-top:focus {
    outline: 3px solid var(--deep-magenta);
    outline-offset: 2px;
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Mobile responsive for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
} 