/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #121212;
    color: #e0e0e0;
    text-align: center;
}

header {
    margin-top: 1em;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding: .5em 0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

header span,
header p,
header i {
    color: #bb86fc;
    font-size: 1.2rem;
}

h3 {
    margin-bottom: 1em;
    font-size: 1.4rem;
}

nav {
    margin: 1em 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0.5em;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.3em 0.5em;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;

}

nav a:hover {
    background: #3700b3;
    color: #bb86fc;
}

hr {
    width: 95%;
    margin: 1em auto;
    border: 1px solid #e0e0e0;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5em 0 1em 0;
    letter-spacing: 2px;
    text-align: center;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2a2a2a;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 6px;
}

.dropdown-content a {
    color: #e0e0e0;
    padding: 0.5em 1em;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #3700b3;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.quote-box {
    background: #252525;
    color: #e0e0e0;
    padding: 1em 1.5em;
    margin: 1.5em auto;
    border-left: 4px solid #ff6b6b;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    max-width: 500px;
}

.resource-link {
    margin-top: 1em;
}

.steam-link {
    margin-top: 2em;
    margin-bottom: 2em;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 854px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 2em auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5em;
    margin: 2em auto;
    max-width: 950px;
    padding: 0 1em;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
}

.contributions {
    background: linear-gradient(135deg, #2a1810, #1a1a1a);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: 1.2em;
    margin: 2em auto;
    max-width: 650px;
    text-align: left;
}

.contributions p {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    margin-bottom: 1em;
    margin-left: 0em;
}

.contributions li {
    font-size: .85em;
    margin-left: 2em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.contributions-plus {
    color: #ff6b6b;
    font-size: 1.3em;
    margin-right: 0.5em;
}

.work-section {
    background: linear-gradient(135deg, #2a1810, #1a1a1a);
    border: 1.5px solid #ff6b6b;
    border-radius: 12px;
    padding: 0;
    margin: 2em auto;
    max-width: 800px;
    text-align: left;
    overflow: hidden;
}

.work-section video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5 auto;
}

.work-section summary {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    font-weight: normal;
    padding: 1em;
    cursor: pointer;
    outline: none;
    user-select: none;
    color: #fff;
    justify-content: space-between;
}

.collapsible-plus {
    color: #ff6b6b;
    font-size: 1.3em;
    margin-right: 0.5em;
    margin-left: 1em;
    margin-right: 0;
    transition: transform 0.2s;
}

.work-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5em auto;
    border-radius: 8px;
    /* optional for rounded corners */
}

.work-section iframe {
    width: 100%;
    max-width: 100%;
    height: 520px;
    /* or adjust as needed */
    display: block;
    margin: 0.5em auto;
    border-radius: 8px;
    /* optional for rounded corners */
    box-sizing: border-box;
}

.work-section[open] .collapsible-plus {
    transform: rotate(45deg);
}

.work-section ul {
    padding: 0 1.2em 1.2em 2em;
    margin: 0;
}

.work-section li {
    font-size: .95em;
    margin-bottom: 0.5em;
    line-height: 1.6;
    margin-left: 1em;
}

.work-section ul p {
    font-size: .95em;
}

.description {
    max-width: 700px;
    margin: 2em auto 1em auto;
    color: #fff;
    font-size: .85em;
    text-align: left;
    line-height: 1.7;
    background: none;
}


@media (max-width: 600px) {
    .video-container {
        max-width: 100%;
    }
}