/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * WST 2026 STYLESHEET
 */

:root {
    --bg-dark: #080312;
    --bg-card: #130a24;
    --bg-card-hover: #1e1035;
    --purple-primary: #8a2be2;
    --purple-neon: #a100ff;
    --purple-light: #c77dff;
    --yellow-neon: #d4fc34;
    --yellow-glow: rgba(212, 252, 52, 0.4);
    --purple-glow: rgba(161, 0, 255, 0.3);
    --text-main: #f8f9fa;
    --text-muted: #b4aed0;
    --border-color: #2a1847;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Offset for sticky header */
}

h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* UTILITY CLASSES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient-yellow {
    background: linear-gradient(135deg, #ffffff 30%, var(--yellow-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--yellow-neon) 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    background: rgba(138, 43, 226, 0.1);
    color: var(--purple-light);
    margin-bottom: 16px;
}

.badge-yellow {
    border-color: rgba(212, 252, 52, 0.3);
    background: rgba(212, 252, 52, 0.05);
    color: var(--yellow-neon);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background-color: var(--yellow-neon);
    color: #080312;
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 252, 52, 0.6);
    background-color: #e2ff45;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--purple-light);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.hero-actions .btn-primary {
  text-wrap-mode: nowrap;
}

.hero-actions .btn-secondary {
  text-wrap-mode: nowrap;
}

/* HEADER & NAV */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 3, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: padding var(--transition-speed) ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-neon) 100%);
    border: 1px solid rgba(212, 252, 52, 0.5);
    box-shadow: 0 0 10px rgba(161, 0, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links .active {
    color: var(--yellow-neon);
}

/* HERO SECTION */
.hero {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 70%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 252, 52, 0.08) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    font-weight: 300;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rack-graphic {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 30px rgba(161, 0, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* QUICK INFO BANNER */
.quick-info {
    background: linear-gradient(90deg, rgba(19, 10, 36, 0.8) 0%, rgba(26, 12, 50, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(212, 252, 52, 0.1);
    color: var(--yellow-neon);
    border: 1px solid rgba(212, 252, 52, 0.2);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ABOUT WST SECTION */
.about {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, #1c0e35 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-image::before {
    content: '?';
    font-size: 25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    color: rgba(138, 43, 226, 0.15);
    position: absolute;
}

.about-illustration {
    width: 80%;
    height: 80%;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
}

/* WHAT TO EXPECT GRID */
.features {
    padding: 100px 0;
    background-color: rgba(8, 3, 18, 0.5);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    background-color: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(8, 3, 18, 0.5);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: rgba(138, 43, 226, 0.1);
    color: var(--purple-light);
    border: 1px solid rgba(138, 43, 226, 0.2);
    margin-bottom: 24px;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover .feature-icon {
    background: var(--purple-primary);
    color: white;
    box-shadow: 0 0 15px var(--purple-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* INFOS CONTENT AREA */
.info-header {
    padding-top: 80px;
    padding-bottom: 50px;
    text-align: center;
}

.info-header h1 {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.info-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.info-section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Timeline Styling */
.timeline {
    position: relative;
    padding-left: 32px;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    width: 2px;
    height: calc(100% - 24px);
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-marker {
    position: absolute;
    top: 6px;
    left: -32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--purple-primary);
    transition: all var(--transition-speed) ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--yellow-neon);
    border-color: var(--yellow-neon);
    box-shadow: 0 0 10px var(--yellow-neon);
    transform: scale(1.2);
}

.timeline-time {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--yellow-neon);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Rules Card Styling */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.rule-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
}

.rule-card:hover {
    border-color: var(--purple-light);
    background-color: var(--bg-card-hover);
}

.rule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rule-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    background: rgba(212, 252, 52, 0.1);
    color: var(--yellow-neon);
    border: 1px solid rgba(212, 252, 52, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.rule-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.rule-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* LOCATION SECTION */
.location {
    background: rgba(19, 10, 36, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.map-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-map {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(138, 43, 226, 0.2) 0%, transparent 60%), #140b25;
    position: relative;
}

.map-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, grey 1px, transparent 1px),
                      linear-gradient(to bottom, grey 1px, transparent 1px);
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    filter: drop-shadow(0 0 10px var(--yellow-neon));
    animation: bounce 2s infinite;
}

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

.pin-label {
    background: #080312;
    border: 1px solid var(--yellow-neon);
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 6px;
    font-family: 'Space Grotesk', sans-serif;
}

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.location-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.transport-modes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.transport-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(138, 43, 226, 0.1);
    color: var(--purple-light);
    border: 1px solid rgba(138, 43, 226, 0.2);
    flex-shrink: 0;
}

.transport-details h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.transport-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* FAQ SECTION */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
}

.faq-question:hover {
    color: var(--yellow-neon);
}

.faq-icon {
    transition: transform var(--transition-speed) ease;
    color: var(--purple-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-answer p {
  padding-top: 12px;
}

.faq-item.active {
    border-color: var(--purple-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
    border-top-color: var(--border-color);
}

/* REGISTRATION MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 3, 18, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 550px; /* Slightly wider for the dropdown details */
    position: relative;
    z-index: 2010;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--yellow-neon);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(8, 3, 18, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

/* FOOTER */
footer {
    background-color: #05020a;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
    justify-content: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--yellow-neon);
}

.footer-credits {
    font-size: 0.85rem;
    color: rgba(180, 174, 208, 0.5);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }

    .rack-graphic {
        max-width: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 300px;
    }



    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-card {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* CUSTOM DROP DOWN STYLES */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: 8px;
    background: rgba(8, 3, 18, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform var(--transition-speed) ease;
    color: var(--purple-light);
}

.custom-select-container.open .select-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.custom-select-options.active {
    display: block;
}

.custom-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(42, 24, 71, 0.5);
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: var(--bg-card-hover);
}

.custom-option.selected {
    background-color: rgba(138, 43, 226, 0.2);
    border-left: 3px solid var(--yellow-neon);
}

.custom-option strong {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 700;
}

.custom-option span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.custom-select-container.disabled {
    pointer-events: none;
}
