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

/* Import Google Fonts for the rabbit theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Nunito:wght@300;400;500;600&display=swap');

:root {
    /* Soft Pastel Color Palette */
    --bg-primary: #FFF3F3;
    --bg-secondary: #FDF6F0;
    --bg-accent: #F8F9FF;
    --bg-card: #FFFFFF;
    
    /* Pastel Accent Colors */
    --pastel-pink: #FFD6E0;
    --pastel-green: #D6F5D6;
    --pastel-yellow: #FFF6C0;
    --pastel-blue: #CDE7FF;
    --pastel-lavender: #E8D6FF;
    --pastel-mint: #D6F5E8;
    
    /* Text Colors */
    --text-primary: #4F200D;
    --text-secondary: #555555;
    --text-light: #7A6B5A;
    
    /* Shadows and Effects */
    --shadow-soft: 0 8px 25px rgba(255, 214, 224, 0.15);
    --shadow-medium: 0 12px 35px rgba(255, 214, 224, 0.25);
    --shadow-strong: 0 20px 50px rgba(255, 214, 224, 0.3);
    --border-radius: 25px;
    --border-radius-small: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Cute Rabbit Theme Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--pastel-pink) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--pastel-blue) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--pastel-green) 0%, transparent 50%);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--pastel-pink);
    outline-offset: 3px;
    border-radius: var(--border-radius-small);
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--pastel-pink);
    color: var(--text-primary);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    z-index: 1000;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.skip-link:focus {
    top: 6px;
}

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

/* Header Styles - Cute Rabbit Theme */
.header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--pastel-pink);
    box-shadow: var(--shadow-soft);
}

.navbar {
    padding: 1.5rem 0;
}

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

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: rotate(5deg);
}

.logo-link h1 {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 214, 224, 0.3);
    position: relative;
}

.logo-link h1::before {
    content: '🐰';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(-50%) scale(1); }
    40% { transform: translateY(-50%) scale(1.1); }
    60% { transform: translateY(-50%) scale(0.9); }
}

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

.nav-menu .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--text-primary);
    background: var(--pastel-pink);
    transform: translateY(-2px);
}

.nav-menu .nav-link::after {
    content: '🐾';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
    font-size: 0.8rem;
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
    opacity: 1;
    bottom: -20px;
}

.nav-menu .btn {
    margin-left: 1rem;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.btn:hover::before {
    left: 100%;
}

.btn-login {
    background: var(--pastel-green);
    color: var(--text-primary);
    border: 2px solid var(--pastel-green);
}

.btn-login:hover {
    background: #C4E8C4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.btn-register {
    background: var(--pastel-pink);
    color: var(--text-primary);
    border: 2px solid var(--pastel-pink);
}

.btn-register:hover {
    background: #FFC4D4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-small);
    background: var(--pastel-pink);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section - Cute Rabbit Theme */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 214, 224, 0.1) 0%, rgba(214, 245, 214, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🥕';
    position: absolute;
    top: 20px;
    left: 10%;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.3;
}

.hero::after {
    content: '☁️';
    position: absolute;
    top: 40px;
    right: 15%;
    font-size: 2.5rem;
    animation: float 4s ease-in-out infinite reverse;
    opacity: 0.3;
}

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

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(255, 214, 224, 0.3);
    position: relative;
}

.hero-content h2::after {
    content: '🐰';
    position: absolute;
    right: -50px;
    top: 0;
    font-size: 2.5rem;
    animation: wiggle 2s infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--pastel-pink);
    color: var(--text-primary);
    font-size: 1.2rem;
    padding: 16px 32px;
    border: 3px solid var(--pastel-pink);
}

.btn-primary:hover {
    background: #FFC4D4;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: var(--pastel-green);
    color: var(--text-primary);
    border: 3px solid var(--pastel-green);
    font-size: 1.2rem;
    padding: 16px 32px;
}

.btn-secondary:hover {
    background: #C4E8C4;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

/* Games Slider Section - Cute Rabbit Theme */
.games-slider-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    position: relative;
}

.games-slider-section::before {
    content: '🐰';
    position: absolute;
    top: 30px;
    left: 5%;
    font-size: 2rem;
    opacity: 0.2;
    animation: hop 4s infinite;
}

@keyframes hop {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 214, 224, 0.3);
    position: relative;
}

.section-title::after {
    content: '🥕';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.games-slider-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-image-container {
    display: flex;
    justify-content: center;
}

.main-image-wrapper {
    position: relative;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    background: var(--bg-card);
    padding: 25px;
    border: 3px solid var(--pastel-pink);
}

.main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    transition: var(--transition);
    display: block;
    opacity: 0;
}

.main-image.active {
    opacity: 1;
}

.navigation-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--pastel-pink);
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--pastel-pink);
}

.nav-arrow:hover {
    background: #FFC4D4;
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.thumbnails-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 3px solid transparent;
    background: var(--bg-card);
    position: relative;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 1;
    max-width: 120px;
    max-height: 120px;
}

.thumbnail-item::before {
    content: '🐾';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--pastel-green);
    box-shadow: var(--shadow-medium);
}

.thumbnail-item.active {
    border-color: var(--pastel-pink);
    box-shadow: 0 0 25px rgba(255, 214, 224, 0.6);
    transform: scale(1.05);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.play-button {
    background: var(--pastel-pink);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    align-self: flex-start;
    transition: var(--transition);
}

.thumbnail-item:hover .play-button {
    background: var(--pastel-green);
    transform: scale(1.05);
}

/* Registration Steps - Cute Rabbit Theme */
.registration-steps {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.registration-steps::before {
    content: '🥕 🥕 🥕';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0.2;
    animation: bounce 3s infinite;
}

.registration-steps h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.step {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 25px;
    border: 3px solid var(--pastel-pink);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.step::before {
    content: '🐰';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.1;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--pastel-green);
}

.step-number {
    background: var(--pastel-pink);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-soft);
}

.step h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Register Section - Cute Rabbit Theme */
.register-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    position: relative;
}

.register-section::before {
    content: '☁️ ☁️ ☁️';
    position: absolute;
    top: 30px;
    right: 5%;
    font-size: 1.8rem;
    opacity: 0.2;
    animation: float 5s ease-in-out infinite;
}

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

.register-content h2 {
    color: var(--text-primary);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 214, 224, 0.3);
}

.register-content h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.register-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.steps-list {
    margin: 2.5rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--pastel-green);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.step-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    padding: 0.8rem;
    background: var(--pastel-pink);
    border-radius: 50%;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

.step-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.step-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
    border: 3px solid var(--pastel-pink);
}

.hero-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.register-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--pastel-yellow);
    border-radius: 20px;
    border-left: 5px solid var(--pastel-pink);
    box-shadow: var(--shadow-soft);
}

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

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

/* Login Section - Cute Rabbit Theme */
.login-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    position: relative;
}

.login-section::before {
    content: '🐰 🥕 🐰';
    position: absolute;
    top: 20px;
    left: 10%;
    font-size: 1.5rem;
    opacity: 0.2;
    animation: wiggle 4s infinite;
}

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

.login-content h2 {
    color: var(--text-primary);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 214, 224, 0.3);
}

.login-content h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.login-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '🥕';
    color: var(--pastel-pink);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hero-image-login img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
    border: 3px solid var(--pastel-green);
}

.hero-image-login img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.login-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--pastel-mint);
    border-radius: 20px;
    border-left: 5px solid var(--pastel-green);
    box-shadow: var(--shadow-soft);
}

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

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

/* Games Preview - Cute Rabbit Theme */
.games-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.games-preview::before {
    content: '🎮 🐰 🎮';
    position: absolute;
    top: 30px;
    right: 10%;
    font-size: 1.8rem;
    opacity: 0.2;
    animation: bounce 3s infinite;
}

.games-preview h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

.game-category {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
    border: 3px solid var(--pastel-blue);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.game-category::before {
    content: '🐰';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.1;
    z-index: 1;
}

.game-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--pastel-pink);
}

.game-category img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.game-category:hover img {
    transform: scale(1.05);
}

.game-category h4 {
    color: var(--text-primary);
    padding: 2rem 2rem 1rem;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.game-category p {
    color: var(--text-secondary);
    padding: 0 2rem 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Features - Cute Rabbit Theme */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    position: relative;
}

.features::before {
    content: '⭐ 🐰 ⭐';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    opacity: 0.2;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

.features h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

.feature {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 25px;
    border: 3px solid var(--pastel-green);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.feature::before {
    content: '🐰';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.2rem;
    opacity: 0.1;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--pastel-pink);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* CTA Section - Cute Rabbit Theme */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '🥕 🐰 🥕';
    position: absolute;
    top: 30px;
    left: 10%;
    font-size: 1.8rem;
    opacity: 0.2;
    animation: float 4s ease-in-out infinite;
}

.cta h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

/* Footer - Cute Rabbit Theme */
.footer {
    background: var(--bg-card);
    padding: 80px 0 30px;
    border-top: 3px solid var(--pastel-pink);
    box-shadow: var(--shadow-soft);
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    position: relative;
}

.footer-section h4::before {
    content: '🐰';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.3;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 0;
    display: inline-block;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.8rem;
    padding: 12px;
    border-radius: 50%;
    background: var(--pastel-pink);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.social-links a:hover {
    background: var(--pastel-green);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid var(--pastel-green);
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Design */

/* Tablet and iPad Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 1.2rem 0;
    }
    
    .nav-container {
        max-width: 100%;
        padding: 0 30px;
        gap: 1rem;
    }
    
    .nav-logo {
        flex-shrink: 0;
    }
    
    .nav-logo h1 {
        font-size: 1.8rem;
    }
    
    .logo-link h1::before {
        left: -30px;
        font-size: 1.6rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        flex-shrink: 0;
    }
    
    .nav-menu .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .hamburger {
        display: none;
    }
    
    /* Ensure navigation stays visible on tablets */
    .nav-menu {
        display: flex !important;
        position: static;
        width: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    .nav-menu li {
        padding: 0;
        width: auto;
        text-align: left;
    }
    
    .nav-menu .btn {
        margin: 0 0 0 0.8rem;
        width: auto;
    }
    
    /* iPad Air specific optimizations */
    @media (width: 820px) {
        .nav-container {
            padding: 0 25px;
        }
        
        .nav-menu {
            gap: 1.2rem;
        }
        
        .nav-menu .nav-link {
            font-size: 0.85rem;
            padding: 5px 10px;
        }
        
        .btn {
            padding: 7px 14px;
            font-size: 0.8rem;
        }
        
        /* Ensure proper spacing for iPad Air */
        .logo-link {
            gap: 0.8rem;
        }
        
        .logo-link h1::before {
            left: -28px;
        }
    }
    
    /* Additional tablet landscape optimizations */
    @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
        .navbar {
            padding: 1rem 0;
        }
        
        .nav-container {
            padding: 0 20px;
        }
        
        .nav-menu {
            gap: 1rem;
        }
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 2px solid var(--pastel-pink);
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 20px 20px;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .btn {
        margin: 0.5rem 2rem;
        width: calc(100% - 4rem);
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 350px;
    }
    
    .steps-container,
    .games-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Responsive adjustments for new sections */
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2.2rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.6rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-icon {
        align-self: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-login {
        order: -1;
    }
    
    /* Mobile gallery responsive adjustments */
    .games-slider-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .main-image-wrapper {
        padding: 20px;
    }
    
    .main-image {
        max-width: 320px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .thumbnail-item img {
        height: 120px;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .registration-steps h3,
    .games-preview h3,
    .features h3,
    .cta h3,
    .section-title {
        font-size: 2.2rem;
    }
    
    .step,
    .game-category,
    .feature {
        padding: 2rem;
    }
    
    /* Mobile gallery small screen adjustments */
    .main-image {
        max-width: 280px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .thumbnail-item img {
        height: 100px;
    }
    
    .thumbnail-label {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

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

.step,
.game-category,
.feature,
.thumbnail-item {
    animation: fadeInUp 0.6s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f0f0f0;
        --bg-accent: #e0e0e0;
        --bg-card: #ffffff;
        --pastel-pink: #ffb3c1;
        --pastel-green: #b3e6b3;
        --pastel-yellow: #fff2b3;
        --pastel-blue: #b3d9ff;
        --text-primary: #000000;
        --text-secondary: #333333;
        --text-light: #666666;
    }
}

/* Print styles */
@media print {
    .header,
    .auth-buttons,
    .hero-buttons,
    .cta-buttons,
    .social-links,
    .nav-arrow {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .registration-steps,
    .games-preview,
    .features,
    .cta,
    .mobile-gallery {
        background: white;
        color: black;
    }
}
