/* Global Styles */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #f39c12;
    --secondary-dark: #e67e22;
    --text-color: #333;
    --text-light: #777;
    --bg-color: #fff;
    --bg-light: #f9f9f9;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header Styles */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 10px 20px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo h1 span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 50%;
    flex: 1;
    min-width: 300px;
}

.animated-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Game Stats */
.game-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-item span {
    font-weight: 600;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Popular Puzzles Section */
.popular-puzzles {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.puzzle-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.puzzle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.puzzle-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.puzzle-card:hover img {
    transform: scale(1.05);
}

.puzzle-info {
    padding: 20px;
}

.puzzle-info h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.difficulty-levels {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.difficulty {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.easy {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.difficulty.medium {
    background-color: #fff3e0;
    color: #f57c00;
}

.difficulty.hard {
    background-color: #ffebee;
    color: #c62828;
}

.difficulty.expert {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.view-all-puzzles {
    text-align: center;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 280px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.star-rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.star-rating i {
    margin-right: 5px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-style: normal;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

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

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-answer {
    padding: 15px 0;
    color: var(--text-light);
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
    opacity: 0.1;
}

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

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary-color);
    margin: 0 10px;
}

.cta-section .btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    white-space: nowrap;
}

/* Footer Styles */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.footer-info {
    max-width: 300px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.footer-info p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Game Section */
.game-section {
    padding: 80px 0;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.game-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.game-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

#image-selector, #difficulty-selector {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--bg-color);
}

.game-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

#puzzle-board {
    flex: 3;
    min-height: 600px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.puzzle-piece {
    position: absolute;
    cursor: grab;
    user-select: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
}

.puzzle-piece:hover {
    transform: scale(1.05);
    z-index: 10;
}

.puzzle-piece:active {
    cursor: grabbing;
}

#puzzle-preview {
    flex: 1;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    min-width: 250px;
}

#puzzle-preview img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.preview-info {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.preview-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.game-instructions {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.game-instructions h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.game-instructions ol {
    padding-left: 20px;
}

.game-instructions li {
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

.success-stats {
    margin: 20px 0;
}

.success-stats p {
    margin-bottom: 10px;
}

.success-image img {
    width: 100%;
    border-radius: 5px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-mission {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.mission-content {
    flex: 1;
    min-width: 300px;
}

.mission-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-image {
    flex: 1;
    min-width: 300px;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.features-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.team-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 60px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

.faq-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1.1rem;
}

.faq-answer {
    margin-top: 15px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Privacy Policy Section */
.privacy-section {
    padding: 100px 0;
}

.privacy-date {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.privacy-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.privacy-content p {
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.data-collection-table {
    overflow-x: auto;
    margin: 20px 0;
}

.data-collection-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-collection-table th, .data-collection-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-collection-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.data-collection-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.5);
}

.third-party-disclosure {
    margin: 20px 0;
}

.third-party-disclosure h4 {
    font-size: 1.1rem;
    margin: 15px 0 10px;
    color: var(--primary-dark);
}

.ccpa-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ccpa-right {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.ccpa-right h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Terms of Service Section */
.terms-section {
    padding: 100px 0;
}

.terms-date {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.terms-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.terms-content p {
    margin-bottom: 15px;
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Hero Section */
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .animated-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-stats {
        justify-content: center;
    }
    
    /* Popular Puzzles */
    .puzzles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* How It Works */
    .steps-container {
        justify-content: center;
    }
    
    /* Game Section */
    .game-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .game-controls {
        justify-content: space-between;
    }
    
    .game-container {
        flex-direction: column;
    }
    
    #puzzle-board {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        right: -300px;
        width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero Section */
    .animated-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @media (max-width: 600px) {
        .features-grid {
            grid-template-columns: 1fr;
        }
    }
    
    /* Popular Puzzles */
    .puzzles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
        min-width: 280px;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Typography */
    .animated-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
    }
    
    /* Game Stats */
    .game-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    /* Steps */
    .step {
        min-width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* Navigation */
    .navbar {
        padding: 0 15px;
    }
    }