/* Brutalist Design for Olympus Sprint */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #D4AF37;
  --dark-gray: #222222;
  --light-gray: #EEEEEE;
}

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

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Brutalist Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
}

h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  border-bottom: 4px solid var(--gold);
  padding-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Navigation */
nav {
  background-color: var(--black);
  border-bottom: 4px solid var(--gold);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

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

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: -1;
}

.hero-content {
  grid-column: 2 / 10;
  z-index: 1;
}

.hero-image {
  grid-column: 10 / 13;
  z-index: 1;
}

.hero-image img {
  width: 200%;
  border: 4px solid var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--black);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  border: 4px solid var(--gold);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 1rem;
}

.btn:hover {
  background-color: var(--gold);
  color: var(--black);
}

/* Sections */
.section {
  padding: 5rem 0;
  border-bottom: 4px solid var(--white);
}

.section-title {
  grid-column: 1 / 13;
  margin-bottom: 3rem;
}

.section-content {
  grid-column: 1 / 8;
}

.section-image {
  grid-column: 8 / 13;
}

.section-image img {
  width: 100%;
  border: 4px solid var(--white);
}

/* How to Play */
.instructions {
  background-color: var(--dark-gray);
  padding: 2rem;
  border: 4px solid var(--white);
  margin-bottom: 2rem;
}

.instruction-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.instruction-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  color: var(--gold);
}

/* Download Section */
.download-option {
  background-color: var(--dark-gray);
  padding: 2rem;
  border: 4px solid var(--white);
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.download-option:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.download-option h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.code-block {
  background-color: var(--black);
  padding: 1rem;
  border: 2px solid var(--light-gray);
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 1rem;
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: var(--black);
  border-top: 4px solid var(--gold);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-links li {
  margin-left: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

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

/* Game Container */
.game-container {
  width: 100%;
  height: 600px;
  background-color: var(--dark-gray);
  border: 4px solid var(--white);
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Marble Texture */
.marble-bg {
  background-image: url('../images/marble-texture.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.marble-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .hero-content, 
  .hero-image, 
  .section-content, 
  .section-image {
    grid-column: 1 / 2;
  }
  
  .hero-image, 
  .section-image {
    margin-top: 2rem;
  }
  
  .nav-container {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 1rem;
  }
  
  .nav-links li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Animation for lightning effect */
@keyframes lightning {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.lightning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 0;
  pointer-events: none;
  animation: lightning 7s infinite;
}

/* Golden accents */
.gold-text {
  color: var(--gold);
}

.highlight {
  background-color: var(--gold);
  color: var(--black);
  padding: 0 5px;
}