/* About Page Styles - Gaming MMO */

/* Hero Section */
.about-hero {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(77, 71, 190, 0.1) 0%, rgba(108, 99, 255, 0.2) 100%);
    border-radius: 1.5rem;
    margin: 3rem 0 5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-hero {
        flex-direction: row;
        align-items: center;
        padding: 6rem 4rem;
    }
}

.about-hero-content {
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .about-hero-content {
        flex: 1;
        text-align: left;
        padding: 0 2rem 0 0;
    }
}

.about-hero h1 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
}

@media (min-width: 768px) {
    .about-hero h1 {
        font-size: 4.8rem;
    }
}

.accent-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 0.6rem;
    left: 0;
    width: 100%;
    height: 0.8rem;
    background-color: rgba(108, 99, 255, 0.2);
    z-index: -1;
    border-radius: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--light-text);
    max-width: 60rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin: 0 0 2rem;
        font-size: 2rem;
    }
}

.about-hero-image {
    margin-top: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .about-hero-image {
        flex: 1;
        margin-top: 0;
    }
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Section Styles */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.alt-bg {
    background-color: var(--light-bg);
    border-radius: 1.5rem;
    padding: 6rem 3rem;
    margin: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header h2 {
    font-size: 3.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-divider {
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 2rem;
    border-radius: 0.2rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--light-text);
    max-width: 70rem;
    margin: 0 auto;
}

/* Our Story Section */
.about-story {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-story {
        flex-direction: row;
        align-items: center;
    }
}

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

.rounded-image {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rounded-image:hover {
    transform: translateY(-10px);
}

.story-content {
    flex: 1.2;
}

.emphasis {
    font-size: 2rem;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
}

.story-content p {
    margin-bottom: 2rem;
    font-size: 1.7rem;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    overflow: hidden;
}

.service-icon img {
    max-width: 100%;
    height: auto;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.member-image {
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.member-bio {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.7;
}

.member-games {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-color);
}

.favorite-game {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 2rem;
}

/* Values Container */
.values-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .values-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-item {
    background-color: white;
    border-radius: 1rem;
    padding: 3rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(108, 99, 255, 0.1);
    line-height: 1;
}

.value-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
}

.value-item p {
    color: var(--light-text);
    font-size: 1.5rem;
    line-height: 1.7;
    position: relative;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--light-text);
}

/* Join Section */
.join-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.join-section h2,
.join-section h3 {
    color: white;
}

.join-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .join-container {
        flex-direction: row;
        align-items: center;
    }
}

.join-content {
    flex: 1.3;
}

.join-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.join-content p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.join-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 576px) {
    .join-options {
        flex-direction: row;
        align-items: center;
    }
}

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.join-btn i {
    margin-right: 1rem;
    font-size: 2rem;
}

.join-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.discord-btn i {
    color: #5865F2;
}

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

.about-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.newsletter-box {
    flex: 1;
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-box h3 {
    font-size: 2.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.newsletter-box p {
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

@media (min-width: 992px) {
    .contact-container {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 576px) and (max-width: 991px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-item {
    padding: 3rem;
    background-color: var(--light-bg);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-item i {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contact-item p {
    font-size: 1.5rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 3.2rem;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .emphasis {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .join-content h2 {
        font-size: 2.8rem;
    }
    
    .newsletter-box {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .member-image {
        width: 15rem;
        height: 15rem;
    }
    
    .team-member h3 {
        font-size: 2rem;
    }
    
    .value-item {
        padding: 2.5rem;
    }
    
    .value-number {
        font-size: 4rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}
