/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary-color: #5229b1;
    --secondary-color: #3a1d6d;
    --dark-accent: #1b102d;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --radius: 6px;
    --glass-bg: rgba(20, 15, 40, 0.65);
    --glass-border: 1px solid rgba(178, 128, 255, 0.15);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
    background:
        repeating-linear-gradient(45deg, rgba(178, 128, 255, 0.12) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(-45deg, rgba(178, 128, 255, 0.12) 0 1px, transparent 1px 32px),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 35%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 75%, rgba(0, 0, 0, 0.55) 100%),
        radial-gradient(circle at center, #5229b1 0%, #3a1d6d 55%, #1b102d 100%);
    background-attachment: fixed;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.5px; }
h1 { 
    font-size: 4.5rem; 
    background: linear-gradient(to right, #ffffff, #b280ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(178, 128, 255, 0.3));
    margin-bottom: 1.5rem;
}
h2 { 
    font-size: 2.8rem; 
    color: #b280ff; 
    text-shadow: 0 0 25px rgba(178, 128, 255, 0.5);
}
a { text-decoration: none; color: inherit; transition: 0.3s; }

header {
    padding: 20px 0; position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(15px); background: rgba(27, 16, 45, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px rgba(178, 128, 255, 0.6); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 0.95rem; opacity: 0.8; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #b280ff; transition: 0.3s; box-shadow: 0 0 8px #b280ff; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: #fff; text-shadow: 0 0 10px rgba(178, 128, 255, 0.8); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
    display: inline-block; padding: 14px 32px; background: linear-gradient(45deg, var(--primary-color), #6a3dc9);
    color: white; border-radius: var(--radius); font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(82, 41, 177, 0.4); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; text-align: center;
    transition: all 0.3s ease;
}
.btn:hover { background: linear-gradient(45deg, #6a3dc9, #8a5add); transform: translateY(-3px) scale(1.05); box-shadow: 0 0 30px rgba(178, 128, 255, 0.7); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); }

.card {
    background: linear-gradient(160deg, rgba(30, 25, 55, 0.7), rgba(20, 15, 40, 0.5)); border: 1px solid rgba(178, 128, 255, 0.1); border-radius: var(--radius);
    padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover { transform: translateY(-10px) scale(1.02); border-color: #b280ff; box-shadow: 0 20px 50px rgba(82, 41, 177, 0.3), inset 0 0 20px rgba(82, 41, 177, 0.1); }

.hero { height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; }
.section-padding { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

footer { text-align: center; padding: 40px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--dark-accent); padding: 20px; text-align: center; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}

/* Timeline Styles */
.timeline-section { background: linear-gradient(180deg, rgba(27, 16, 45, 0.8) 0%, rgba(20, 15, 40, 0.6) 100%); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #b280ff, rgba(178, 128, 255, 0.5));
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}
.timeline-content h3 {
    font-size: 1.5rem;
    color: #b280ff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
}
.timeline-point {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #b280ff;
    border: 3px solid #1b102d;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 10px rgba(178, 128, 255, 0.5);
}
.timeline-item:nth-child(even) .timeline-content { margin-left: 55%; }
.timeline-item:nth-child(odd) .timeline-content { margin-left: 0; text-align: left; }

/* Mobile Styles */
@media (max-width: 768px) {
    .timeline::before { left: 30px; }
    .timeline-content { width: 70%; margin-left: 60px !important; text-align: left !important; }
    .timeline-point { left: 30px; }
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.rp-section { background: linear-gradient(180deg, rgba(27, 16, 45, 0.8) 0%, rgba(20, 15, 40, 0.6) 100%); }
.rp-section h2 { text-align: center; margin-bottom: 20px; }
.rp-section p { text-align: center; max-width: 800px; margin: 0 auto 40px; color: var(--text-muted); }

.cta-section { text-align: center; background: var(--primary-color); padding: 60px 0; }
.cta-section h2 { margin-bottom: 20px; }
.cta-section p { margin-bottom: 30px; color: var(--text-muted); }



.performance-metrics { display: flex; justify-content: center; gap: 40px; margin: 40px 0; }
.metric { text-align: center; }
.metric-number { font-size: 2rem; font-weight: 800; color: #b280ff; }
.metric-label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }

.screenshots-section { text-align: center; }
.screenshots-section h2 { margin-bottom: 40px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.screenshot-item img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.3s; }
.screenshot-item img:hover { transform: scale(1.05); }

.accordion-header {
    padding: 20px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.05); transition: background 0.3s;
}
.accordion-header:hover { background: rgba(255, 255, 255, 0.1); }
.accordion-header h3 { margin: 0; font-size: 1.5rem; }

.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease;
    padding: 0 30px; opacity: 0;
}

.accordion-item.active .accordion-content {
    padding: 20px 30px 30px 30px; opacity: 1;
}

.accordion-item.active .icon { transform: rotate(45deg); }
.icon { font-size: 1.5rem; font-weight: bold; transition: transform 0.3s; }

.accordion-content h4 { color: #b280ff; margin-top: 25px; margin-bottom: 10px; font-size: 1.2rem; border-bottom: 1px solid rgba(178, 128, 255, 0.2); padding-bottom: 5px; }
.accordion-content h4:first-child { margin-top: 0; }
.accordion-content h5 { color: #fff; margin-top: 15px; margin-bottom: 5px; font-size: 1.1rem; }

.accordion-content ul { list-style: none; padding-left: 0; }
.accordion-content li {
    margin-bottom: 12px; padding-left: 15px; border-left: 3px solid rgba(178, 128, 255, 0.3);
    background: rgba(0,0,0,0.1); padding: 10px 15px; border-radius: 0 6px 6px 0;
}
.accordion-content li strong { color: #b280ff; margin-right: 5px; }

/* --- New Feature Icons --- */
.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, #ffffff, #b280ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(178, 128, 255, 0.4));
    display: inline-block;
}

/* RP Features left-aligned */
.rp-features .card {
    text-align: left;
}
.rp-features .card h3,
.rp-features .card p {
    text-align: left;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* Team Section */
.team-section { background: linear-gradient(180deg, rgba(27, 16, 45, 0.8) 0%, rgba(20, 15, 40, 0.6) 100%); }
.team-section h2 { text-align: center; margin-bottom: 20px; }
.team-section p { text-align: center; max-width: 800px; margin: 0 auto 40px; color: var(--text-muted); }
.team-avatar { text-align: center; font-size: 4rem; color: #b280ff; margin-bottom: 20px; }
.team-role { display: block; text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }

/* Slideshow Section */
.slideshow-section { background: linear-gradient(180deg, rgba(27, 16, 45, 0.8) 0%, rgba(20, 15, 40, 0.6) 100%); }
.slideshow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.slideshow-text { text-align: left; }
.slideshow-text h2 { margin-bottom: 20px; }
.slideshow-text p { margin-bottom: 15px; color: var(--text-muted); }
.slideshow-container { position: relative; max-width: 100%; }
.slideshow { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.slideshow img { width: 100%; display: none; }
.slideshow img.active { display: block; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 10px; cursor: pointer; border-radius: 50%; font-size: 18px; }
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover { background: rgba(0,0,0,0.8); }

/* Mobile */
@media (max-width: 768px) {
    .slideshow-grid { grid-template-columns: 1fr; }
    .slideshow-text { text-align: center; margin-bottom: 30px; }
}

.btn-text {
    color: #b280ff; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
    position: relative;
}
.btn-text:hover {
    color: #fff; text-shadow: 0 0 10px #b280ff;
}

/* --- New Hero Elements --- */
.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin: 0 auto 2.5rem auto;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 300;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.stat-item { text-align: center; }
.stat-number { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.75rem; color: #b280ff; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.btn-discord {
    background: #5865F2; /* Original Discord Color */
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    border: none;
}
.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}
