/**
 * All American Nomination Page Styles
 * Premium design matching EXACT brand guidelines
 */

/* ============================================
   Color Variables (Brand Guidelines)
   ============================================ */
:root {
    /* Primary Orange Palette */
    --aa-orange: #FF5500;
    --aa-orange-light: #FF6600;
    --aa-orange-lighter: #FF7700;
    --aa-orange-dark: #e64d00;

    /* Gold for Stats */
    --aa-gold: #EABC5D;
    --aa-gold-light: #F4E4BA;
    --aa-gold-dark: #B8860B;

    /* Dark Backgrounds */
    --aa-dark-primary: #0A1628;
    --aa-dark-secondary: #1C244B;
    --aa-black: #000000;

    /* Legacy support */
    --aa-navy: #1B365D;
    --aa-navy-light: #2A4A7A;
    --aa-cream: #FFF8E7;
}

/* ============================================
   Body Background
   ============================================ */
body {
    background: linear-gradient(135deg, var(--aa-orange) 0%, var(--aa-orange-light) 50%, #FF4400 100%);
    font-family: 'Oswald', 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

/* ============================================
   Container
   ============================================ */
.all-american-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-6, 1.5rem);
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
}

/* ============================================
   Custom Animations
   ============================================ */
@keyframes statGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(234, 188, 93, 0.5), 0 0 20px rgba(234, 188, 93, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(234, 188, 93, 0.8), 0 0 40px rgba(234, 188, 93, 0.5);
    }
}

@keyframes slideInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulseBorder {
    0%, 100% { border-color: rgba(255, 85, 0, 0.3); }
    50% { border-color: rgba(255, 85, 0, 0.8); }
}

@keyframes pulseGold {
    0%, 100% {
        color: var(--aa-gold);
        text-shadow: 0 0 10px rgba(234, 188, 93, 0.5), 0 0 20px rgba(234, 188, 93, 0.3);
    }
    50% {
        color: #f5d87a;
        text-shadow: 0 0 20px rgba(234, 188, 93, 0.8), 0 0 40px rgba(234, 188, 93, 0.5);
    }
}

/* ============================================
   Hero Section (Slim & Sticky)
   ============================================ */
.aa-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.6s ease-out;
}

.aa-hero-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (max-width: 768px) {
    .aa-hero-sticky {
        position: static;
    }
}

.aa-hero-banner {
    position: relative;
    height: 50px;
    background: linear-gradient(135deg, var(--aa-black) 0%, var(--aa-dark-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-banner-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.aa-hero-content {
    background: linear-gradient(135deg, var(--aa-black) 0%, var(--aa-dark-primary) 100%);
    padding: 0.5rem 1rem;
    color: #fff;
    text-align: center;
}

.aa-hero-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.aa-athlete-name {
    color: var(--aa-gold);
}

/* Pulsing Gold Animation */
.aa-pulse-gold {
    animation: pulseGold 2s ease-in-out infinite;
}

.aa-hero-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

/* ============================================
   Stats Section (Gradient Bar)
   ============================================ */
.aa-stats-section {
    background: linear-gradient(to right, var(--aa-dark-primary), var(--aa-dark-secondary), var(--aa-dark-primary));
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.aa-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.aa-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aa-stat-value {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--aa-gold);
    animation: statGlow 3s ease-in-out infinite;
}

.aa-stat-stars {
    color: var(--aa-gold);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.aa-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ============================================
   Countdown Timer
   ============================================ */
.aa-countdown-section {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.aa-countdown-card {
    background: var(--aa-black);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
}

.aa-countdown-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aa-countdown-label {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aa-countdown-icon-inline {
    font-size: 0.875rem;
    color: var(--aa-gold);
}

/* Stage Progression */
.aa-stage-progression {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
}

/* Split Stage Progression - Enhanced Layout */
.aa-stage-progression-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 1.3125rem; /* 50% increase from 0.875rem */
    flex-wrap: wrap;
}

.aa-stage-item {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease-out;
}

.aa-stage-item-nominated {
    border-color: var(--aa-gold);
    background: rgba(234, 188, 93, 0.1);
}

.aa-stage-item-selected,
.aa-stage-item-designated {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Staggered animation classes */
.aa-stage-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.aa-stage-visible {
    opacity: 1;
    transform: translateY(0);
}

.aa-stage-arrow-animated {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.aa-stage-arrow-animated.aa-stage-visible {
    opacity: 1;
}

/* Muted underline for "All American" in Designated stage */
.aa-all-american-text {
    text-decoration: underline;
    text-decoration-color: #7A8697;
    text-underline-offset: 4px;
}

.aa-stage {
    font-weight: 600;
}

.aa-stage-nominated {
    color: var(--aa-gold);
    animation: pulseGold 2s ease-in-out infinite;
}

.aa-stage-next {
    color: #7A8697;
}

.aa-stage-arrow {
    color: #7A8697;
    font-weight: 400;
    font-size: 1.5rem;
}

/* Inline "All American" orange styling with underline */
.aa-all-american-inline {
    color: var(--aa-orange);
    text-decoration: underline;
    text-decoration-color: var(--aa-orange);
    text-underline-offset: 3px;
    font-weight: 600;
}

.aa-countdown-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.aa-countdown-days,
.aa-countdown-hours,
.aa-countdown-minutes,
.aa-countdown-seconds {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--aa-gold);
    min-width: 50px;
}

.aa-countdown-unit {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-right: 1rem;
}

.aa-countdown-urgent {
    color: var(--aa-gold);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

/* ============================================
   Rationale Card
   ============================================ */
.aa-rationale-section {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.aa-rationale-card {
    border: 2px solid var(--aa-gold-light);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.aa-rationale-card .card-header {
    background: linear-gradient(135deg, var(--aa-cream) 0%, #fff 100%);
    border-bottom: 2px solid var(--aa-gold-light);
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-rationale-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Coach Recommendation Box */
.aa-coach-recommendation {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid var(--aa-gold);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.aa-recommendation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--aa-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-recommendation-header i {
    color: var(--aa-gold);
    font-size: 1.25rem;
}

.aa-recommendation-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.aa-eval-details {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.aa-eval-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.aa-eval-item:last-child {
    border-bottom: none;
}

.aa-eval-label {
    font-weight: 600;
    color: #4b5563;
}

.aa-eval-value {
    color: #111827;
}

.aa-star-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--aa-cream);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.aa-rating-label {
    font-weight: 600;
    color: var(--aa-navy);
}

.aa-stars {
    display: flex;
    gap: 0.25rem;
}

.aa-star-filled {
    color: var(--aa-gold);
}

.aa-star-empty {
    color: #d1d5db;
}

.aa-fallback-rationale .aa-rationale-detail {
    color: #4b5563;
    line-height: 1.7;
}

/* ============================================
   Attending Colleges Section
   ============================================ */
.aa-colleges-section {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.aa-colleges-header {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--aa-dark-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.aa-colleges-grid {
    display: grid;
    gap: 1rem;
    justify-content: center;
}

/* Adaptive grid columns - set by JavaScript based on college count */
.aa-colleges-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.aa-colleges-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.aa-colleges-grid[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.aa-colleges-grid[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }

.aa-college-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.aa-college-logo-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.aa-college-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.aa-college-item:hover .aa-college-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.aa-college-logo-placeholder {
    width: 50px;
    height: 50px;
    background: #e5e7eb;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.25rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.aa-college-item:hover .aa-college-logo-placeholder {
    filter: grayscale(0%);
    opacity: 1;
    background: var(--aa-dark-primary);
    color: var(--aa-gold);
}

/* Tooltip */
.aa-college-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--aa-dark-primary);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.aa-college-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--aa-dark-primary);
}

.aa-college-item:hover .aa-college-tooltip {
    opacity: 1;
    visibility: visible;
}

.aa-college-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
}

.aa-college-location {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 0.125rem;
}

.aa-college-division {
    font-size: 0.65rem;
    color: var(--aa-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile responsive for colleges grid */
@media (max-width: 768px) {
    .aa-colleges-grid[data-cols="5"],
    .aa-colleges-grid[data-cols="6"] {
        grid-template-columns: repeat(4, 1fr);
    }

    .aa-college-logo-wrapper {
        width: 50px;
        height: 50px;
    }

    .aa-college-tooltip {
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .aa-colleges-grid[data-cols="3"],
    .aa-colleges-grid[data-cols="4"],
    .aa-colleges-grid[data-cols="5"],
    .aa-colleges-grid[data-cols="6"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .aa-college-logo-wrapper {
        width: 45px;
        height: 45px;
    }

    .aa-colleges-header {
        font-size: 0.75rem;
    }
}

.aa-prestige-message {
    background: linear-gradient(135deg, var(--aa-dark-primary) 0%, var(--aa-dark-secondary) 100%);
    color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

/* Scroll-triggered animation */
.aa-animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.aa-animate-on-scroll.aa-visible {
    opacity: 1;
    transform: translateY(0);
}

.aa-prestige-message p {
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Program Overview Section
   ============================================ */
.aa-program-section {
    background: linear-gradient(135deg, var(--aa-dark-primary) 0%, var(--aa-dark-secondary) 100%);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.aa-section-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
}

.aa-section-title em {
    color: var(--aa-orange);
    font-style: italic;
}

.aa-section-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.aa-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aa-overview-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    animation: pulseBorder 3s ease-in-out infinite;
}

.aa-overview-card:hover {
    border-color: rgba(255, 85, 0, 0.5);
    transform: translateY(-2px);
}

.aa-overview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.aa-overview-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 85, 0, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aa-orange);
    font-size: 1.125rem;
}

.aa-overview-header h3 {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.aa-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aa-overview-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.aa-overview-list li:last-child {
    margin-bottom: 0;
}

.aa-overview-list li i {
    color: var(--aa-orange);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   Top Benefits Section
   ============================================ */
.aa-benefits-section {
    background: var(--aa-black);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.aa-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.aa-benefit-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.aa-benefit-card:hover {
    border-color: rgba(255, 85, 0, 0.5);
    transform: translateY(-4px);
}

.aa-benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 85, 0, 0.2);
    border: 2px solid var(--aa-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--aa-orange);
    font-size: 1.5rem;
}

.aa-benefit-card h4 {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.aa-benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Full-width benefit card (Travel Tuition) */
.aa-benefit-card-full {
    grid-column: 1 / -1;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    padding: 1.5rem;
}

.aa-benefit-card-full .aa-benefit-icon {
    margin: 0;
    flex-shrink: 0;
}

.aa-benefit-card-full h4 {
    margin-bottom: 0.25rem;
}

.aa-benefit-card-full p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .aa-benefit-card-full {
        flex-direction: column;
        text-align: center;
    }

    .aa-benefit-card-full .aa-benefit-icon {
        margin: 0 auto 1rem;
    }
}

/* ============================================
   Acceptance Form
   ============================================ */
.aa-form-section {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.aa-form-card {
    border: 2px solid var(--aa-gold-light);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.aa-form-card .card-header {
    background: linear-gradient(135deg, var(--aa-cream) 0%, #fff 100%);
    border-bottom: 2px solid var(--aa-gold-light);
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-header-subtitle {
    font-weight: 400;
    font-size: 0.875rem;
    text-transform: none;
    color: #4b5563;
}

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

.aa-form-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.aa-required {
    color: #dc2626;
}

/* Attribute Selector Grid - Fixed Tooltip */
.aa-attribute-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.aa-attribute-btn {
    position: relative;
    padding: 0.75rem 0.5rem;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    overflow: visible;
}

.aa-attribute-btn:hover {
    border-color: var(--aa-orange);
    background: rgba(255, 85, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.15);
}

.aa-attribute-btn.selected {
    border-color: var(--aa-orange);
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.1) 0%, rgba(255, 85, 0, 0.05) 100%);
    color: var(--aa-dark-primary);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.2);
}

.aa-attribute-btn.selected::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--aa-orange);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-attr-label {
    display: block;
}

/* Fixed Tooltip Styles */
.aa-attr-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--aa-dark-primary);
    color: #fff;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 400;
    width: 180px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.aa-attr-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--aa-dark-primary);
}

.aa-attribute-btn:hover .aa-attr-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Text Input */
.aa-text-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.aa-text-input:focus {
    outline: none;
    border-color: var(--aa-orange);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.2);
}

.aa-form-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Checkbox */
.aa-checkbox-group {
    background: var(--aa-cream);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--aa-gold-light);
}

.aa-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.aa-checkbox-label input[type="checkbox"] {
    display: none;
}

.aa-checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--aa-orange);
    border-radius: 0.25rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
}

.aa-checkbox-label input:checked + .aa-checkbox-custom {
    background: var(--aa-orange);
}

.aa-checkbox-label input:checked + .aa-checkbox-custom::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
}

.aa-checkbox-text {
    font-size: 1rem;
    color: var(--aa-dark-primary);
    font-weight: 500;
    line-height: 1.5;
}

/* Error Messages */
.aa-error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

/* Submit Button */
.aa-form-actions {
    margin-top: 2rem;
}

.aa-submit-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--aa-orange) 0%, var(--aa-orange-dark) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.aa-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--aa-orange-dark) 0%, var(--aa-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.3);
}

.aa-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   Thank You Section
   ============================================ */
.aa-thankyou-section {
    margin: 2rem 0;
}

.aa-thankyou-banner {
    background: linear-gradient(135deg, var(--aa-dark-primary) 0%, var(--aa-dark-secondary) 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.aa-thankyou-icon {
    font-size: 64px;
    color: var(--aa-gold);
    margin-bottom: 1.5rem;
}

.aa-thankyou-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
}

.aa-thankyou-message {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.aa-thankyou-attribute {
    background: rgba(234, 188, 93, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.aa-thankyou-attribute .aa-attribute-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.aa-thankyou-attribute .aa-attribute-value {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--aa-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-thankyou-next {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   Expired Section
   ============================================ */
.aa-expired-section {
    margin: 2rem 0;
}

.aa-expired-banner {
    background: #f3f4f6;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid #d1d5db;
}

.aa-expired-icon {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.aa-expired-title {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #4b5563;
    margin: 0 0 1rem 0;
}

.aa-expired-message {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* ============================================
   Footer Section (Full Width Black)
   ============================================ */
.aa-full-footer {
    background: var(--aa-black);
    width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.aa-footer-logo {
    max-width: 200px;
    height: auto;
    opacity: 0.95;
}

.aa-footer-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.aa-footer-link:hover {
    color: var(--aa-orange);
}

/* ============================================
   Accept CTA Banner (Above Program Overview)
   ============================================ */
.aa-accept-cta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--aa-black);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: slideInUp 0.6s ease-out 0.35s both;
}

.aa-accept-cta-banner:hover {
    background: var(--aa-dark-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.aa-accept-cta-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.aa-accept-cta-text {
    font-family: 'Oswald', 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-accept-cta-arrow {
    color: var(--aa-gold);
    font-size: 1.25rem;
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ============================================
   Confetti Canvas
   ============================================ */
#confetti-canvas {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .all-american-container {
        padding: 1rem;
    }

    .aa-hero-banner {
        height: 45px;
    }

    .aa-banner-img {
        height: 35px;
    }

    .aa-accept-cta-banner {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .aa-accept-cta-text {
        font-size: 1rem;
    }

    .aa-accept-cta-logo {
        height: 40px;
    }

    .aa-hero-content {
        padding: 0.75rem 1rem;
    }

    .aa-hero-title {
        font-size: 1.25rem;
    }

    .aa-hero-subtitle {
        font-size: 0.875rem;
    }

    .aa-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .aa-stat-value {
        font-size: 1.5rem;
    }

    .aa-countdown-card {
        flex-direction: column;
        text-align: center;
    }

    .aa-countdown-timer {
        justify-content: center;
    }

    .aa-countdown-days,
    .aa-countdown-hours,
    .aa-countdown-minutes,
    .aa-countdown-seconds {
        font-size: 1.5rem;
    }

    .aa-stage-progression {
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .aa-stage-progression-split {
        font-size: 1.125rem;
        gap: 0.5rem;
    }

    .aa-stage-item {
        padding: 0.5rem 0.75rem;
    }

    .aa-stage-arrow {
        font-size: 1.25rem;
    }

    .aa-section-title {
        font-size: 1.5rem;
    }

    .aa-overview-grid {
        grid-template-columns: 1fr;
    }

    .aa-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aa-attribute-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .aa-star-rating {
        flex-direction: column;
        text-align: center;
    }

    .aa-thankyou-banner,
    .aa-expired-banner {
        padding: 1.5rem;
    }

    .aa-thankyou-icon {
        font-size: 48px;
    }

    .aa-thankyou-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .aa-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aa-benefits-grid {
        grid-template-columns: 1fr;
    }

    .aa-attribute-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aa-eval-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .aa-benefit-card {
        padding: 1rem;
    }
}
