/* 
* HatchFit Game Website Stylesheet
* Created: 2025-04-08
* Updated: 2025-04-08
*/

/* ===== Base Settings and Variables ===== */
:root {
    /* Color Palette */
    --primary: #5D45F9;
    --secondary: #FF6B6B;
    --tertiary: #4ECDC4;
    --background-light: #F7F9FC;
    --background-dark: #292F36;
    --accent-yellow: #FFD166;
    --accent-mint: #06D6A0;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-gray: #777777;
    --border-light: #E1E5EA;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

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

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #4a36e0;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-fast);
    background-color: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    z-index: 1;
}

.egg-animation img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(93, 69, 249, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

/* ===== About Section ===== */
.about {
    background-color: var(--background-light);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.about-image img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

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

.feature {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    background-color: #f9f9f9;
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(93, 69, 249, 0.1);
    line-height: 1;
    min-width: 100px;
    text-align: center;
}

.step-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-content img {
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    max-height: 250px;
    object-fit: contain;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 100px;
    left: 50px;
    width: 2px;
    height: calc(100% + 3rem);
    background-color: rgba(93, 69, 249, 0.1);
    z-index: 0;
}

/* ===== NFT System Section ===== */
.nft-system {
    background: linear-gradient(135deg, #292F36 0%, #1a1e24 100%);
    color: var(--text-light);
    position: relative;
}

.nft-system .section-header h2,
.nft-system .section-header p {
    color: var(--text-light);
}

.nft-system h2:after {
    background: var(--secondary);
}

.nft-content {
    margin-bottom: 4rem;
}

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

.nft-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
    height: 100%;
}

.nft-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.nft-card h3 {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.nft-card i {
    font-size: 1.2rem;
}

.evolution-stages,
.breeding-cooldown ul,
.nft-attributes {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.evolution-stages li,
.breeding-cooldown li,
.nft-attributes .attribute {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evolution-stages li:last-child,
.breeding-cooldown li:last-child,
.nft-attributes .attribute:last-child {
    border-bottom: none;
}

.stage, .attribute-name {
    font-weight: 600;
    color: var(--tertiary);
}

.description, .attribute-value {
    color: rgba(255, 255, 255, 0.7);
}

.nft-showcase {
    margin-top: 4rem;
}

.nft-showcase h3 {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.character-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.character-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(93, 69, 249, 0.1) 0%, rgba(93, 69, 249, 0.3) 100%);
}

.character-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

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

.character-info {
    padding: 1.5rem;
}

.character-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rarity {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legendary {
    background-color: rgba(255, 209, 102, 0.2);
    color: #FFD166;
}

.epic {
    background-color: rgba(93, 69, 249, 0.2);
    color: #8A7CFF;
}

.rare {
    background-color: rgba(78, 205, 196, 0.2);
    color: #4ECDC4;
}

.character-stats {
    margin-top: 1rem;
}

.stat {
    margin-bottom: 0.8rem;
}

.stat-name {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    border-radius: 3px;
}

.character-card:nth-child(1) .stat-fill {
    background: linear-gradient(90deg, #FFD166 0%, #FF9F1C 100%);
}

.character-card:nth-child(2) .stat-fill {
    background: linear-gradient(90deg, #5D45F9 0%, #8A7CFF 100%);
}

.character-card:nth-child(3) .stat-fill {
    background: linear-gradient(90deg, #4ECDC4 0%, #2EC4B6 100%);
}

/* ===== Timeline Section ===== */
.timeline {
    background-color: var(--background-light);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content {
    background-color: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

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

/* ===== Join Us Section ===== */
.join-us {
    background: linear-gradient(135deg, #5D45F9 0%, #8A7CFF 100%);
    color: var(--text-light);
    position: relative;
}

.join-us .section-header h2,
.join-us .section-header p {
    color: var(--text-light);
}

.join-us h2:after {
    background: var(--text-light);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.join-text h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.benefits-list i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.countdown {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.countdown h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    text-align: center;
}

.countdown-item span {
    display: block;
}

.days, .hours, .minutes, .seconds {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--accent-yellow);
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-form {
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.join-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(93, 69, 249, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.join-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* ===== Footer Section ===== */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 0;
}

.footer-logo h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

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

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

.footer-links-column a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

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

.footer-social h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 0 1.2rem;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #4a36e0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-language select {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.footer-language select:focus {
    outline: none;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 60%;
        margin: 0 auto;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--text-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .step {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .step-number {
        font-size: 4rem;
        min-width: auto;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 21px !important;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        flex: 1;
        min-width: 80px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta a {
        width: 100%;
    }
    
    .hero-image {
        width: 80%;
    }
    
    .about-features,
    .nft-info,
    .character-cards {
        grid-template-columns: 1fr;
    }
    
    .join-form {
        padding: 1.5rem;
    }
    
    .days, .hours, .minutes, .seconds {
        font-size: 2rem;
    }
}

/* Fix for text overlapping with graphics */
.nft-system .nft-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.nft-system .nft-card > p {
    margin-bottom: 1rem;
}

.timeline-content {
    clear: both;
    margin-top: 10px;
}

.character-image {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.character-image img {
    max-width: 80%;
    margin: 0 auto;
}

.step-content img {
    display: block;
    margin: 1.5rem auto;
    max-width: 80%;
}

/* Ensure proper spacing in the NFT showcase section */
.nft-showcase {
    padding-top: 2rem;
    clear: both;
}

/* Adjust hero section for better text visibility */
.hero-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
}

/* Ensure timeline text doesn't overlap with timeline line */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 20px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 20px;
}

/* Fix for mobile view */
@media (max-width: 768px) {
    .timeline-item .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .nft-card {
        min-height: auto;
    }
}
