* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.italic {
    font-style: italic;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1f16;
    color: #e8e4d1;
    overflow-x: hidden;
}

/* Parallax Hero Section */
.hero-section {
    position: relative;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-container {
    position: absolute;
    width: 120%;
    height: 120%;
    min-width: 75vh;
}

.parallax-layer {
    height: 100%;
    width: 100%;
    position: absolute;
    background-repeat: no-repeat;
    /*background-position: center center;*/
    will-change: transform;
    transition: transform 0.1s ease-out;
    /*background-size: cover;*/
    background-size: 100%;
    background-position: center;
}

.layer-1 {
    background-image: url('images/parallax_layers/compressed/layer_1.webp');
    z-index: 5;
}

.layer-2 {
    background-image: url('images/parallax_layers/compressed/layer_2.webp');
    z-index: 4;
}

.layer-3 {
    background-image: url('images/parallax_layers/compressed/layer_3.webp');
    z-index: 3;
}

.layer-4 {
    background-image: url('images/parallax_layers/compressed/layer_4.webp');
    z-index: 2;
}

.layer-5 {
    background-image: url('images/parallax_layers/compressed/layer_5.webp');
    z-index: 1;
}

.layer-6 {
    background-image: url('images/parallax_layers/compressed/layer_6.webp');
    z-index: 0;
}

.logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
    /*animation: fadeInUp 1.5s ease-out;*/
    width: 100%;
    height: 100%;
}

#logo {
    margin-left: auto;
    margin-right: auto;
    background-image: url('images/logo.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.tagline {
    font-size: 1.2rem;
    color: #e8e4d1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 300;
}

#header {
    border-bottom: 3px solid #b8860b;
}

#spacer {
    border-top: 3px solid #b8860b;
}

#header, #spacer {
    background: linear-gradient(135deg, #4b5320, #2d3624);
    height: 1.5rem;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #4b5320, #2d3624);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 3px solid #b8860b;
}

.steam-button img {
    border-radius: 8px;
    border: 2px solid #b8860b;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.steam-button img:hover {
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.5);
}

.steam-button {
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.steam-button:hover {
    transform: translateY(-3px);
}

/* Video Section */
.video-section {
    padding: 4rem 2rem;
    text-align: center;
    background: #1a1f16;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /*padding-bottom: 56.25%;
    height: 0;*/
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    /*
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    */
    aspect-ratio: 16 / 9;
    width: 100%
}

/* Content Sections */
.content-section {
    padding: 3rem 2rem;
    max-width: 950px;
    margin: 0 auto;
}

footer {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #4b5320, #2d3624);
    padding-top: 2em;
    padding-bottom: 2em;
    border-top: 3px solid #b8860b;
}

a:link, a:visited {
    color: #b8860b;
}

ul {
    list-style-type: none;
}

.bold {
    font-weight: bold;
}

.social-icons a {
  text-decoration: none;
  margin: 5px;
}

.social-icons a:link, .social-icons a:visited {
  text-decoration: none;
}

.section-title {
    font-size: 2.5rem;
    color: #b8860b;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-info {
    background: linear-gradient(135deg, rgba(75, 83, 32, 0.3), rgba(45, 54, 36, 0.3));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(184, 134, 11, 0.3);
    margin-bottom: 3rem;
}

h1, h2, h3, h4 {
    font-family: "Jersey 15";
    font-weight: normal;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
}

h4 {
    font-size: 1.3rem;
}

.game-info h3 {
    color: #b8860b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-info p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Community Section */
.community-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-card {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.3), rgba(75, 83, 32, 0.3));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(184, 134, 11, 0.3);
    transition: transform 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
}

.discord-button, .newsletter-button, #mail-list-parent button {
    display: inline-block;
    background: linear-gradient(45deg, #4b5320, #6d7c2e);
    color: white !important;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #b8860b;
    font-size: 1em;
}

.discord-button:hover, .newsletter-button:hover, #mail-list-parent button:hover {
    background: linear-gradient(45deg, #6d7c2e, #4b5320);
    transform: translateY(-2px);
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form input, #mail-list-parent input[type="email"] {
    background: rgba(26, 31, 22, 0.8);
    border: 1px solid #b8860b;
    color: #e8e4d1;
    padding: 0.8rem;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(232, 228, 209, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

/* Mobile Styles */
/*
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .community-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 70vh;
    }
}
*/

/* Subtle throb with back-and-forth movement and skew */
@keyframes throb-subtle {
    0% {
        transform: scale(1) rotate(0deg) skew(0deg, 0deg);
    }
    25% {
        transform: scale(1.02) rotate(1deg) skew(0.5deg, 0.3deg);
    }
    50% {
        transform: scale(1.0) rotate(0deg) skew(0deg, 0deg);
    }
    75% {
        transform: scale(0.98) rotate(-1deg) skew(-0.5deg, -0.3deg);
    }
    100% {
        transform: scale(1) rotate(0deg) skew(0deg, 0deg);
    }
}

.throb-subtle {
  animation: throb-subtle 3s linear infinite;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  background-color: #5865F2;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.discord-button img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

.discord-button:hover {
  background-color: #4752c4; /* Slightly darker for hover */
}

.game-info video {
    width: 100%;
}