/* About page styles */

/* Common styles */
.cryptids-about-container {
    padding: 4rem 2rem;
    max-width: 1200px;
}

/* Fade-in animation for sections */
.cryptids-about-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cryptids-about-fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.cryptids-about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cryptids-about-title {
    color: var(--cryptids-green, #00FF7F); /* Using CSS variable with fallback */
    font-family: 'Gameria', sans-serif;
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: cryptids-about-pulse 2s infinite ease-in-out;
}

.cryptids-about-title.loaded {
    animation: cryptids-about-titleEntry 1s ease-out forwards, cryptids-about-pulse 2s 1s infinite ease-in-out;
}

@keyframes cryptids-about-titleEntry {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cryptids-about-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Our Story Section */
.cryptids-about-story-section {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cryptids-about-story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.cryptids-about-story-text {
    flex: 1 1 550px;
}

.cryptids-about-story-heading {
    color: var(--cryptids-green, #00FF7F);
    font-family: 'Gameria', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cryptids-about-story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cryptids-about-story-text strong {
    color: var(--cryptids-green, #00FF7F);
    font-weight: bold;
}

.cryptids-about-story-image {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cryptids-about-story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.cryptids-about-story-image img:hover {
    transform: scale(1.03);
}

/* Stats Section */
.cryptids-about-stats-section {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cryptids-about-stats-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.cryptids-about-stat-item {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
}

.cryptids-about-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.cryptids-about-stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--cryptids-green, #00FF7F);
    margin-bottom: 0.5rem;
    font-family: 'Gameria', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cryptids-about-stat-label {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cryptids-about-stat-unit {
    font-size: 1.5rem;
    color: var(--cryptids-green, #00FF7F);
    font-weight: bold;
}

/* Call to Action */
.cryptids-about-cta-section {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cryptids-about-cta-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--cryptids-green, #00FF7F);
    font-family: 'Gameria', sans-serif;
}

.cryptids-about-cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cryptids-about-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cryptids-about-cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.cryptids-about-cta-button.cryptids-about-primary {
    background-color: var(--cryptids-green, #00FF7F);
    color: #000000;
    border: none;
}

.cryptids-about-cta-button.cryptids-about-primary:hover {
    background-color: #00cc66;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 127, 0.3);
}

.cryptids-about-cta-button.cryptids-about-secondary {
    background-color: transparent;
    color: var(--cryptids-green, #00FF7F);
    border: 2px solid var(--cryptids-green, #00FF7F);
}

.cryptids-about-cta-button.cryptids-about-secondary:hover {
    background-color: rgba(0, 255, 127, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 127, 0.2);
}

/* Media Queries */
@media only screen and (max-width: 991px) {
    .cryptids-about-container {
        padding: 3rem 1.5rem;
    }
    
    .cryptids-about-title {
        font-size: 3.5rem;
    }
    
    .cryptids-about-story-heading {
        font-size: 2.2rem;
    }
    
    .cryptids-about-cta-heading {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 767px) {
    .cryptids-about-container {
        padding: 2rem 1rem;
    }
    
    .cryptids-about-title {
        font-size: 3rem;
    }
    
    .cryptids-about-story-section,
    .cryptids-about-stats-section,
    .cryptids-about-cta-section {
        padding: 1.5rem;
    }
    
    .cryptids-about-story-heading {
        font-size: 2rem;
    }
    
    .cryptids-about-story-content {
        flex-direction: column-reverse;
    }
    
    .cryptids-about-story-image {
        margin-bottom: 1.5rem;
    }
    
    .cryptids-about-stat-item {
        flex: 1 1 140px;
    }
    
    .cryptids-about-stat-number {
        font-size: 2.5rem;
    }
    
    .cryptids-about-cta-heading {
        font-size: 2rem;
    }
    
    .cryptids-about-cta-button {
        min-width: 180px;
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .cryptids-about-title {
        font-size: 2.5rem;
    }
    
    .cryptids-about-story-heading {
        font-size: 1.8rem;
    }
    
    .cryptids-about-story-text p {
        font-size: 1rem;
    }
    
    .cryptids-about-stat-number {
        font-size: 2.2rem;
    }
    
    .cryptids-about-stat-label {
        font-size: 0.9rem;
    }
    
    .cryptids-about-cta-heading {
        font-size: 1.8rem;
    }
    
    .cryptids-about-cta-text {
        font-size: 1rem;
    }
    
    .cryptids-about-cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
