/**
 * About Page Styles
 */

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

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(207, 0, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(207, 0, 0, 0.8), 0 0 40px rgba(30, 64, 175, 0.6); }
    100% { box-shadow: 0 0 5px rgba(207, 0, 0, 0.5); }
}

/* Background & Container */
.about-premium-section {
    position: relative;
    padding: 6rem 0;
    background-color: #050505;
    overflow: hidden;
    min-height: 100vh;
    color: #fff;
}

/* Ambient Glows */
.about-premium-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(207, 0, 0, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.about-premium-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.container-premium {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.about-header-premium {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-header-premium h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Text Gradients */
.grad-red {
    background: linear-gradient(to right, #cf0000, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad-blue {
    background: linear-gradient(to right, #ffffff, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-header-premium p {
    font-size: 1.25rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

/* Image Placeholder Style */
.header-image-placeholder {
    width: 700px;
    height: 500px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* Story & Mission Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: #333;
    background: rgba(255, 255, 255, 0.05);
}

.glass-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-card h2 svg {
    width: 28px;
    height: 28px;
    color: #cf0000;
}

.glass-card p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Creator Profile Section */
.creator-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.creator-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-engine-card {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.profile-engine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cf0000, #1e40af);
}

.profile-engine-card:hover {
    transform: scale(1.02);
}

.engine-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.engine-avatar-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 50%;
}

.engine-avatar-link:hover .engine-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(207, 0, 0, 0.5);
}

.engine-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #222;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    animation: glowPulse 3s infinite;
}

.about-avatar {
    background-size: cover;
    background-position: center;
}

.engine-rank-badge {
    position: absolute;
    bottom: 0;
    right: -10px;
    background: #cf0000;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.engine-username-link {
    text-decoration: none;
    display: inline-block;
}

.engine-username-link:hover .engine-username {
    color: var(--accent, #cf0000);
    text-shadow: 0 0 10px rgba(207, 0, 0, 0.5);
}

.engine-username {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.engine-role {
    font-size: 1rem;
    color: #3b82f6;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.engine-bio {
    color: #aaa;
    font-style: italic;
    margin-bottom: 2rem;
}

.engine-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.stat-box {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.stat-lbl {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

/* CTA */
.cta-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn-premium-cta {
    background: linear-gradient(135deg, #cf0000 0%, #9c0303 100%);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(207, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-premium-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(207, 0, 0, 0.5);
    background: linear-gradient(135deg, #1e40af 0%, #112566 100%);
}

/* Responsive */
@media (max-width: 850px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .about-header-premium h1 {
        font-size: 2.5rem;
    }
    .header-image-placeholder {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
}

/* About page avatar placeholder */
.about-avatar-placeholder {
    background-image: url('../images/profile_placeholder.png');
}
