:root {
    --primary-color: #232b74;
    /* Blue primary */
    --secondary-color: #818cf8;
    /* Purple secondary */
    --background: #ffffff;
    /* White background */
    --text-color: #1e293b;
    /* Dark blue text */
    --light-bg: #f8fafc;
    /* Very light blue for sections */
    --card-bg: #ffffff;
    /* White for cards */
    --label-bg-color: #e74c3c;
    /* Red for labels */
    --label-text-color: #ffffff;
    /* White for label text */
    --border-color: #e2e8f0;
    /* Light gray for borders */
    --border-radius: 8px;
    /* Border radius for cards */
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    scroll-behavior: smooth;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex {
        display: flex;
}

@media (max-width: 768px) {
    .flex {
        flex-direction: column;
        align-items: stretch;
    }
}

ul {
    padding-left: 2rem;
    list-style-type: disc;
}

ul ul {
    list-style-type: circle;
}

li {
    margin-bottom: 0.5rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.button.download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button.download svg {
    margin-left: 0.5rem;
}

.button.disabled, .button[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

header {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.logo {
    display: block;
    margin: 0 auto;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    width: auto;
}

.headline {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    background-color: var(--card-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary-color);
}

.hero {
    position: relative;
    color: var(--background);
    text-align: center;
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background-image: url('hero-background.jpeg');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero p {
    position: relative;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--background);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.hero .button {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.25rem;
    transition: background-color 0.3s ease;
}

.accordion-button:hover,
.accordion-button.active {
    background-color: #ccc;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
    border-top: 1px solid #ccc;
    padding: 0 1rem;
}

.accordion-content p {
    margin: 1rem 0;
}

.accordion-content.active {
    max-height: 500px;
}

.events-grid,
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.event-card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
}

.event-date {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.button.past-event {
    background-color: var(--label-bg-color);
}

.event-poster {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.event-summary {
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    box-shadow: var(--box-shadow);
}

.event-summary h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.event-summary p {
    margin-bottom: 1rem;
}

.event-disclaimer {
    background: var(--light-bg);
    color: var(--label-bg-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-weight: bold;
    border: 2px solid var(--label-bg-color);
}

.event-schedule {
    margin-top: 2rem;
}

.event-schedule table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.event-schedule th,
.event-schedule td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.event-schedule th {
    background-color: var(--primary-color);
    color: var(--background);
}

.event-schedule tr:nth-child(even) {
    background-color: var(--light-bg);
}

.resource-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item h3 {
    color: var(--primary-color);
    font-family: 'Space Mono', monospace;
    margin-bottom: 1rem;
}

article {

    h2 {
        color: var(--primary-color);
        font-family: 'Space Mono', monospace;
    }

    p+h2,
    p+h3 {
        margin-top: 1rem;
    }

}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.gallery-slide {
    width: calc(33.333% - 1rem);
    margin: 0;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image.full-view {
    object-fit: contain;
    height: auto;
}

.session-details header {
    margin-bottom: 2rem;
}

.session-meta {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.session-meta p {
    margin: 0.5rem 0;
}

.recommendations {
    margin-top: 1.5rem;
}

.game-list, .media-list {
    list-style: none;
    padding: 0;
}

.game-list li, .media-list li {
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

.game-list strong, .media-list strong {
    color: var(--primary-color);
    display: block;
}

.game-list p, .media-list p {
    font-size: 0.9rem;
    margin: 0;
}

.inspiration {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

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

.inspiration-icon {
    width: 24px;
    height: 24px;
}

.inspiration-header h2 {
    margin: 0;
}

footer {
    background-color: var(--light-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

#scrollToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: var(--secondary-color);
}

#scrollToTopBtn svg {
    width: 24px;
    height: 24px;
}
