/* FART CLUB - Enhanced Lore Page Styles */

/* Hero Section */
.lore-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(10, 15, 8, 0.98) 0%, 
        rgba(20, 31, 16, 0.95) 25%, 
        rgba(31, 51, 21, 0.9) 50%, 
        rgba(20, 31, 16, 0.95) 75%,
        rgba(10, 15, 8, 0.98) 100%);
}

.toxic-mist {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(125, 165, 40, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(107, 125, 58, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(125, 165, 40, 0.08) 0%, transparent 60%);
    animation: mistFloat 20s ease-in-out infinite;
}

@keyframes mistFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-20px) scale(1.05); opacity: 1; }
}

.lore-hero-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(3rem, 10vw, 6rem);
    color: #7da528;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 30px rgba(125, 165, 40, 0.5),
        0 0 60px rgba(125, 165, 40, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.8);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.lore-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #7da528;
    font-size: 1.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Chapter Sections */
.lore-chapter {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dark-chapter {
    background: linear-gradient(180deg, 
        rgba(10, 15, 8, 0.98) 0%, 
        rgba(20, 31, 16, 0.95) 50%, 
        rgba(10, 15, 8, 0.98) 100%);
}

.story-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.chapter-number {
    position: absolute;
    top: -50px;
    left: -100px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(125, 165, 40, 0.1);
    z-index: 0;
}

.chapter-heading {
    font-size: 3rem;
    color: #7da528;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(125, 165, 40, 0.5);
    position: relative;
    z-index: 1;
}

.story-content {
    position: relative;
    z-index: 1;
}

.story-paragraph {
    color: #e6edf3;
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    text-align: justify;
}

.story-paragraph.centered {
    text-align: center;
}

/* Enhanced Quote Styling */
.lore-quote {
    background: linear-gradient(135deg, 
        rgba(125, 165, 40, 0.15) 0%, 
        rgba(125, 165, 40, 0.05) 100%);
    border-left: 4px solid #7da528;
    padding: 2rem 2rem 2rem 3rem;
    margin: 3rem 0;
    position: relative;
    border-radius: 0 10px 10px 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(125, 165, 40, 0.2);
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: #7da528;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.lore-quote p {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e6edf3;
    margin: 0;
}

/* Timeline Section - Complete Redesign */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, 
        rgba(31, 51, 21, 0.95) 0%, 
        rgba(42, 64, 25, 0.9) 50%, 
        rgba(31, 51, 21, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.timeline-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #7da528;
    text-align: center;
    margin-bottom: 5rem;
    text-shadow: 0 0 20px rgba(125, 165, 40, 0.5);
}

/* Timeline Container */
.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        #7da528 0%, 
        rgba(125, 165, 40, 0.5) 50%,
        rgba(125, 165, 40, 0.2) 100%);
    transform: translateX(-50%);
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    opacity: 0;
    animation: fadeInTimeline 0.8s ease forwards;
}

/* Alternating sides */
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #1c2128;
    border: 4px solid #7da528;
    border-radius: 50%;
    top: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(125, 165, 40, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

/* Hover effect on dots */
.timeline-item:hover .timeline-dot {
    background: #7da528;
    box-shadow: 0 0 0 8px rgba(125, 165, 40, 0.3);
    transform: scale(1.2);
}

/* Timeline Content */
.timeline-content {
    background: linear-gradient(145deg, 
        rgba(31, 51, 21, 0.95) 0%, 
        rgba(42, 64, 25, 0.9) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(125, 165, 40, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect on content */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(125, 165, 40, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(125, 165, 40, 0.5);
}

/* Timeline Date */
.timeline-date {
    display: inline-block;
    background: #7da528;
    color: #1c2128;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(125, 165, 40, 0.3);
}

/* Timeline Heading */
.timeline-heading {
    color: #e6edf3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Timeline Description */
.timeline-description {
    color: #ffffff;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Arrows pointing to timeline */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -20px;
    border-left-color: rgba(42, 64, 25, 0.9);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -20px;
    border-right-color: rgba(42, 64, 25, 0.9);
}

/* Animation with stagger */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Timeline - Complete Redesign */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px !important;
        padding-right: 20px !important;
        text-align: left !important;
        left: 0 !important;
    }
    
    .timeline-dot {
        left: -1px !important;
        right: auto !important;
        top: 5px;
    }
    
    .timeline-content::after {
        left: -10px !important;
        right: auto !important;
        border-right-color: rgba(42, 64, 25, 0.9) !important;
        border-left-color: transparent !important;
        top: 15px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-heading {
        font-size: 1.3rem;
    }
    
    .timeline-description {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 0.85rem;
        padding: 0.3rem 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 60px !important;
        padding-right: 10px !important;
        margin-bottom: 40px;
    }
    
    .timeline-container::before {
        left: 20px;
        width: 2px;
    }
    
    .timeline-dot {
        left: -10px !important;
        width: 20px;
        height: 20px;
        border-width: 3px;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .timeline-content::after {
        left: -9px !important;
        border-width: 8px;
        top: 12px;
    }
    
    .timeline-heading {
        font-size: 1.2rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Fighting Styles Section */
.fighting-styles {
    background: linear-gradient(180deg, 
        rgba(20, 31, 16, 0.98) 0%, 
        rgba(31, 51, 21, 0.95) 50%, 
        rgba(20, 31, 16, 0.98) 100%);
}

.fighting-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.style-card {
    background: linear-gradient(145deg, 
        rgba(31, 51, 21, 0.95) 0%, 
        rgba(42, 64, 25, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(125, 165, 40, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.style-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 165, 40, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.style-card:hover::before {
    opacity: 1;
}

.style-card:hover {
    transform: translateY(-5px);
    border-color: rgba(125, 165, 40, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.style-icon {
    font-size: 3rem;
    color: #7da528;
    margin-bottom: 1.5rem;
}

.style-card h3 {
    color: #e6edf3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.style-card p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.style-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: rgba(125, 165, 40, 0.2);
    border: 1px solid #7da528;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #7da528;
    font-weight: 600;
}

/* Glory Section */
.glory-section {
    padding: 100px 0;
    background: linear-gradient(180deg, 
        rgba(31, 51, 21, 0.95) 0%, 
        rgba(42, 64, 25, 0.9) 50%, 
        rgba(31, 51, 21, 0.95) 100%);
}

.glory-card {
    background: radial-gradient(ellipse at center, 
        rgba(54, 77, 32, 0.9) 0%, 
        rgba(31, 51, 21, 0.95) 60%, 
        rgba(20, 31, 16, 0.98) 100%);
    border-radius: 20px;
    padding: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid rgba(125, 165, 40, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.glory-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #7da528;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(125, 165, 40, 0.5);
}

.lore-quote.featured {
    max-width: 800px;
    margin: 3rem auto;
    font-size: 1.1rem;
}

.glory-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.glory-content p {
    color: #e6edf3;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.glory-cta {
    text-align: center;
}

.glory-cta h3 {
    color: #7da528;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.lore-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #4a6630 0%, #5a8a35 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.lore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(125, 165, 40, 0.3);
    background: linear-gradient(135deg, #5a8a35 0%, #7da528 100%);
}

/* Arena Section */
.arena-section {
    padding: 100px 0;
    background: linear-gradient(180deg, 
        rgba(10, 15, 8, 0.98) 0%, 
        rgba(20, 31, 16, 0.95) 50%, 
        rgba(10, 15, 8, 0.98) 100%);
}

.arena-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #7da528;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 20px rgba(125, 165, 40, 0.5);
}

.arena-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.arena-card {
    background: linear-gradient(145deg, 
        rgba(31, 51, 21, 0.95) 0%, 
        rgba(42, 64, 25, 0.9) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid rgba(125, 165, 40, 0.3);
    transition: all 0.3s ease;
}

.arena-card:hover {
    transform: translateY(-5px);
    border-color: rgba(125, 165, 40, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.arena-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.arena-card h3 {
    color: #e6edf3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.arena-card p {
    color: #8a8a8a;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .chapter-number {
        position: static;
        font-size: 4rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Tablet timeline adjustments */
    .timeline-track {
        padding: 0 20px 0 60px;
    }
    
    .timeline-progress {
        left: 30px;
    }
    
    .timeline-entry {
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-entry:nth-child(odd),
    .timeline-entry:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-entry:nth-child(odd) .timeline-card,
    .timeline-entry:nth-child(even) .timeline-card {
        margin-left: 40px;
        margin-right: 0;
        width: 100%;
        max-width: none;
    }
    
    /* Remove connecting lines on mobile */
    .timeline-entry .timeline-card::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .lore-hero-title {
        font-size: 3rem;
    }
    
    .chapter-heading {
        font-size: 2rem;
    }
    
    .story-paragraph {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .lore-quote {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }
    
    .quote-mark {
        font-size: 4rem;
        top: -10px;
    }
    
    .lore-quote p {
        font-size: 1.1rem;
    }
    
    .timeline-track {
        padding: 0 20px;
    }
    
    .timeline-card {
        padding: 2rem;
    }
    
    .glory-card {
        padding: 2.5rem 1.5rem;
    }
    
    .fighting-styles-grid,
    .arena-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .lore-hero {
        min-height: 80vh;
    }
    
    .lore-hero-title {
        font-size: 2.5rem;
    }
    
    .lore-hero-subtitle {
        font-size: 1rem;
    }
    
    .lore-chapter {
        padding: 60px 0;
    }
    
    .timeline-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-subtitle {
        font-size: 1.1rem;
    }
    
    .glory-title,
    .arena-title {
        font-size: 2rem;
    }
    
    .lore-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}