/* agents.css - Agent Baseball Card Styles */

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Agents Section */
.agents-section {
    padding: 3rem 0;
}

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

/* Baseball Card Flip Container */
.agent-card-flip {
    perspective: 1000px;
    height: 500px;
    cursor: pointer;
}

.agent-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.agent-card-flip.flipped .agent-card-inner {
    transform: rotateY(180deg);
}

/* Front and Back Faces */
.agent-card-front,
.agent-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid var(--border);
}

/* Front Face */
.agent-card-front {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.agent-card-front.coming-soon {
    opacity: 0.7;
    border-style: dashed;
}

.agent-avatar-large {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.agent-card-front h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.agent-role {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.agent-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agent-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.agent-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.agent-tagline {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: auto;
    line-height: 1.6;
}

.flip-hint {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.7;
}

/* Back Face */
.agent-card-back {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: rotateY(180deg);
    justify-content: flex-start;
}

.agent-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.talent-list {
    list-style: none;
    width: 100%;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.talent-list li {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.agent-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.watch-button {
    width: 100%;
    background: white;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.watch-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.watch-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.agent-card-back .flip-hint {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-secondary);
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .agents-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .agent-card-flip {
        height: 450px;
    }

    .agent-avatar-large {
        font-size: 4rem;
    }

    .agent-card-front h2 {
        font-size: 1.75rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Footer Styles (if not already in styles.css) */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}
