/* Junglee Games - Modern CSS Styles with ColorHunt Palette */

/* Color Palette Variables */
:root {
    --fiery-orange: #EF7722;
    --bright-marigold: #FAA533;
    --light-gray: #EBEBEB;
    --vivid-sky-blue: #0BA6DF;
    --white: #FFFFFF;
    --black: #000000;
}

/* 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(--black);
    background-color: var(--light-gray);
}

/* Container */
.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(--black);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

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

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

.btn-primary:hover {
    background: #d66a1e;
    border-color: #d66a1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 119, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--vivid-sky-blue);
    border-color: var(--vivid-sky-blue);
}

.btn-outline:hover {
    background: var(--vivid-sky-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 166, 223, 0.4);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    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 {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-link h1 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--vivid-sky-blue);
}

.btn-login {
    background: transparent;
    color: var(--vivid-sky-blue);
    border: 2px solid var(--vivid-sky-blue);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--vivid-sky-blue);
    color: var(--white);
}

.btn-register {
    background: var(--fiery-orange);
    color: var(--white);
    border: 2px solid var(--fiery-orange);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #d66a1e;
    border-color: #d66a1e;
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid var(--bright-marigold);
}

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

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

.breadcrumb a {
    color: var(--vivid-sky-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--fiery-orange) 0%, var(--bright-marigold) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::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.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.7;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-actions .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-actions .btn:hover::before {
    left: 100%;
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--fiery-orange);
    border: 2px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

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

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--fiery-orange);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--vivid-sky-blue), var(--fiery-orange), var(--bright-marigold));
    border-radius: 30px;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

/* Floating elements */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero .floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero .floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 10%;
    animation-delay: -2s;
}

.hero .floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 20%;
    animation-delay: -4s;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--vivid-sky-blue) 0%, var(--fiery-orange) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--white);
    font-size: 1.1rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--white);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Sections */
section {
    padding: 4rem 0;
}

.about, .features, .registration-process, .security, .faq, .cta {
    background: var(--white);
}

.about-content, .privacy-content, .terms-content, .disclaimer-content, .support-content {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--bright-marigold);
}

.feature-card img {
    margin-bottom: 1rem;
}

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

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--vivid-sky-blue);
}

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

/* Support Methods */
.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-method {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.support-method:hover {
    border-color: var(--vivid-sky-blue);
    transform: translateY(-3px);
}

/* Troubleshooting */
.troubleshooting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.issue {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--bright-marigold);
}

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

.issue ul {
    list-style: none;
    padding-left: 0;
}

.issue li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bright-marigold);
}

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

.issue li::before {
    content: "✓";
    color: var(--bright-marigold);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-item h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--vivid-sky-blue) 0%, var(--fiery-orange) 100%);
    color: var(--white);
    text-align: center;
}

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

.cta p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--white);
    margin-top: 1rem;
    opacity: 0.8;
}

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

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

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid var(--bright-marigold);
    padding-top: 1rem;
    text-align: center;
    color: var(--white);
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.footer-bottom a:hover {
    color: var(--bright-marigold);
    opacity: 1;
}

/* Register Section */
.register-section {
    background: var(--light-gray);
    padding: 8rem 0;
}

.register-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-content h2 {
    color: var(--fiery-orange);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.register-content p {
    color: var(--black);
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.register-content h3 {
    color: var(--vivid-sky-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-left: 5px solid var(--vivid-sky-blue);
}

.step-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--fiery-orange);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--vivid-sky-blue), var(--fiery-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    font-weight: bold;
}

.step-content h4 {
    color: var(--fiery-orange);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step-content p {
    color: var(--black);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.register-actions {
    text-align: left;
}

.register-actions .btn {
    margin: 0 1rem 1rem 0;
    padding: 18px 36px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
}

.register-note {
    color: var(--black);
    font-size: 1.2rem;
    margin-top: 2rem;
}

.register-note a {
    color: var(--vivid-sky-blue);
    text-decoration: none;
    font-weight: 600;
}

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

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

.phone-mockup {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.phone-mockup img {
    max-width: 350px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.phone-mockup img:hover {
    transform: scale(1.05);
}

/* Login Section */
.login-section {
    background: var(--white);
    padding: 8rem 0;
}

.login-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-content h2 {
    color: var(--vivid-sky-blue);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.login-content p {
    color: var(--black);
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.login-content h3 {
    color: var(--fiery-orange);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.login-actions {
    text-align: left;
    margin-bottom: 2rem;
}

.login-actions .btn {
    margin: 0 1rem 1rem 0;
    padding: 18px 36px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
}

.login-note {
    color: var(--black);
    font-size: 1.2rem;
}

.login-note a {
    color: var(--vivid-sky-blue);
    text-decoration: none;
    font-weight: 600;
}

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

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

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

.login-mockup img {
    max-width: 450px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

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

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

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

.error-text h1 {
    color: var(--fiery-orange);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.error-text h2 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

.helpful-links h3 {
    margin-bottom: 2rem;
    color: var(--black);
}

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

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    background: var(--vivid-sky-blue);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--bright-marigold);
}

.link-card img {
    margin-bottom: 0.5rem;
}

.search-section {
    margin: 3rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--bright-marigold);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--white);
    color: var(--black);
}

.search-box input:focus {
    outline: none;
    border-color: var(--vivid-sky-blue);
}

.search-btn {
    padding: 12px 24px;
    background: var(--vivid-sky-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #0a8bc4;
}

/* iPad Pro and iPad Air - Show mobile menu */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .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);
    }
    
    /* Hero Section Tablet */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    /* Register and Login Sections Tablet */
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 3rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 2.2rem;
    }
    
    .step-item {
        padding: 1.8rem;
    }
    
    .phone-mockup {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
        padding: 1.5rem;
        margin: 2.5rem 0;
    }
    
    .phone-mockup img {
        max-width: 160px;
        margin: 0.5rem;
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .phone-mockup img:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .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);
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 4rem 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Register and Login sections mobile */
    .register-section,
    .login-section {
        padding: 4rem 0;
    }
    
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .register-content p,
    .login-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .steps-container {
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .step-icon {
        margin: 0 auto;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .register-actions,
    .login-actions {
        text-align: center;
    }
    
    .register-actions .btn,
    .login-actions .btn {
        padding: 14px 28px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .phone-mockup {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .phone-mockup img {
        max-width: 150px;
        margin: 0.5rem;
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .phone-mockup img:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    
    .login-mockup img {
        max-width: 180px;
    }
    
    /* Other sections mobile */
    .support-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .troubleshooting {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* FAQ mobile */
    .faq-item {
        padding: 1.2rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Hero section small mobile */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        max-width: 240px;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    /* Register and Login small mobile */
    .register-section,
    .login-section {
        padding: 3rem 0;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.5rem;
    }
    
    .register-content p,
    .login-content p {
        font-size: 1rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .register-actions .btn,
    .login-actions .btn {
        padding: 12px 24px;
        font-size: 1rem;
        max-width: 220px;
    }
    
    .phone-mockup {
        gap: 1rem;
        padding: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .phone-mockup img {
        max-width: 120px;
        margin: 0.3rem;
        padding: 0.3rem;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    }
    
    .login-mockup img {
        max-width: 150px;
        margin: 0.3rem;
        padding: 0.3rem;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    }
    
    /* Buttons small mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Features small mobile */
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    /* FAQ small mobile */
    .faq-item {
        padding: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
}

/* 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,
input:focus,
a:focus {
    outline: 2px solid var(--vivid-sky-blue);
    outline-offset: 2px;
}

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

/* Additional ColorHunt Palette Enhancements */
.accent-orange {
    background: var(--fiery-orange);
    color: var(--white);
}

.accent-marigold {
    background: var(--bright-marigold);
    color: var(--black);
}

.accent-blue {
    background: var(--vivid-sky-blue);
    color: var(--white);
}

.accent-gray {
    background: var(--light-gray);
    color: var(--black);
}

/* Hover states using palette colors */
.hover-orange:hover {
    background: var(--fiery-orange) !important;
    color: var(--white) !important;
}

.hover-marigold:hover {
    background: var(--bright-marigold) !important;
    color: var(--black) !important;
}

.hover-blue:hover {
    background: var(--vivid-sky-blue) !important;
    color: var(--white) !important;
}

/* Border variations */
.border-orange {
    border-color: var(--fiery-orange) !important;
}

.border-marigold {
    border-color: var(--bright-marigold) !important;
}

.border-blue {
    border-color: var(--vivid-sky-blue) !important;
}

/* Registration and Login Sections */
.register-section, .login-section {
    background: var(--white);
    padding: 4rem 0;
}

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

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

.register-content h2, .login-content h2 {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.register-content p, .login-content p {
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Steps Container */
.steps-container {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--vivid-sky-blue);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: var(--fiery-orange);
}

.step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--vivid-sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

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

.step-content h4 {
    color: var(--black);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content h4 strong {
    color: var(--fiery-orange);
}

.step-content p {
    color: var(--black);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.step-content p strong {
    color: var(--vivid-sky-blue);
    font-weight: 600;
}

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

.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--black);
    position: relative;
    padding-left: 2rem;
}

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

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--bright-marigold);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.register-note, .login-note {
    margin-top: 1rem;
    color: var(--black);
    font-size: 1rem;
}

.register-note a, .login-note a {
    color: var(--vivid-sky-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Visual Elements */
.register-visual, .login-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.phone-mockup img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.phone-mockup img:hover {
    transform: scale(1.05);
}

/* Login Section Specific */
.login-section {
    background: var(--light-gray);
}

.login-section .step-item {
    background: var(--white);
    border-left-color: var(--bright-marigold);
}

.login-section .step-item:hover {
    border-left-color: var(--vivid-sky-blue);
}

.login-section .step-icon {
    background: var(--bright-marigold);
}

.login-section .step-content h4 strong {
    color: var(--vivid-sky-blue);
}

.login-section .step-content p strong {
    color: var(--fiery-orange);
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .phone-mockup img {
        max-width: 300px;
    }
    
    .login-mockup img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .register-section .container, .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-content h2, .login-content h2 {
        font-size: 2rem;
    }
    
    .register-content h3, .login-content h3 {
        font-size: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .phone-mockup {
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem 0;
    }
    
    .phone-mockup img {
        width: 280px;
        height: 560px;
        flex-shrink: 0;
    }
    
    .login-mockup img {
        width: 320px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .register-content h2, .login-content h2 {
        font-size: 1.8rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .phone-mockup img {
        width: 220px;
        height: 440px;
    }
    
    .login-mockup img {
        width: 250px;
        height: 300px;
    }
}
