* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #309177, #570141);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-attachment: fixed;
  background-size: cover;
}
header {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: #570141;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.socials a {
  font-size: 2rem;
  color: white;
  margin: 0 0.5rem;
  transition: transform 0.3s, color 0.3s;
}

.socials a:hover {
  transform: scale(1.2);
  color: #309177;
}
.video {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  text-align: center;
  margin-top: auto;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #309177;
}

.intro-cards {
  padding: 4rem 1rem;
  text-align: center;
  
}

.intro-cards h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #309177;
}


.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  width: 280px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid #309177;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: #570141;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #222;
}

.card h3 {
  margin: 1rem;
  font-size: 1.4rem;
}

.card p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #ddd;
}
@media (max-width: 600px) {
  .card {
    width: 100%;
    max-width: 90%;
  }
}
.background-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  bottom: -60px;
  animation: floatUp linear infinite;
  opacity: 0.6;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) rotate(720deg);
    opacity: 0;
  }
}
.shape.square {
  width: 40px;
  height: 40px;
  background: #30917744;
  animation-duration: 18s;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid #ffffff22;
  background: none;
  animation-duration: 20s;
}
.shape.rounded-square {
  width: 40px;
  height: 40px;
  background: #57014144;
  border-radius: 12px;
  animation-duration: 22s;
}

.shape.rounded-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid #ffffff22;
  animation-duration: 24s;
  filter: blur(0.4px); 
}
.shape.rounded-triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  width: 40px;
  height: 35px;
  background: #ffffff22;
  animation-duration: 24s;
  border-radius: 4px;
}
    
.background-shapes .shape:nth-child(1)  { left: 2%; animation-delay: 0s;  }
.background-shapes .shape:nth-child(2)  { left: 8%; animation-delay: 4s;  }
.background-shapes .shape:nth-child(3)  { left: 14%; animation-delay: 2s; transform: scale(0.9); }
.background-shapes .shape:nth-child(4)  { left: 21%; animation-delay: 8s; }
.background-shapes .shape:nth-child(5)  { left: 28%; animation-delay: 6s; }
.background-shapes .shape:nth-child(6)  { left: 35%; animation-delay: 4s; transform: scale(1.2); }
.background-shapes .shape:nth-child(7)  { left: 42%; animation-delay: 2s; }
.background-shapes .shape:nth-child(8)  { left: 49%; animation-delay: 10s; }
.background-shapes .shape:nth-child(9)  { left: 56%; animation-delay: 1s; transform: scale(1.1); }
.background-shapes .shape:nth-child(10) { left: 63%; animation-delay: 7s; }
.background-shapes .shape:nth-child(11) { left: 70%; animation-delay: 4.4s; }
.background-shapes .shape:nth-child(12) { left: 77%; animation-delay: 9.6s; }
.background-shapes .shape:nth-child(13) { left: 84%; animation-delay: 3s; transform: scale(0.8); }
.background-shapes .shape:nth-child(14) { left: 91%; animation-delay: 5.4s; }
.background-shapes .shape:nth-child(15) { left: 96%; animation-delay: 7.8s; }
.background-shapes .shape:nth-child(16) { left: 5%;  animation-delay: 2.6s; }
.background-shapes .shape:nth-child(17) { left: 18%; animation-delay: 5.6s; }
.background-shapes .shape:nth-child(18) { left: 33%; animation-delay: 6.6s; }
.background-shapes .shape:nth-child(19) { left: 67%; animation-delay: 8.8s; }
.background-shapes .shape:nth-child(20) { left: 82%; animation-delay: 10.2s; }
.background-shapes .shape:nth-child(21)  { left: 4%; animation-delay: 0.5s;}
.background-shapes .shape:nth-child(22)  { left: 16%; animation-delay: 8s;  }
.background-shapes .shape:nth-child(23)  { left: 28%; animation-delay: 4s; transform: scale(0.9); }
.background-shapes .shape:nth-child(24)  { left: 43%; animation-delay: 16s; }
.background-shapes .shape:nth-child(25)  { left: 57%; animation-delay: 12s; }
.background-shapes .shape:nth-child(26)  { left: 71%; animation-delay: 8s; transform: scale(1.2); }
.background-shapes .shape:nth-child(27)  { left: 85%; animation-delay: 4s; }
.background-shapes .shape:nth-child(28)  { left: 98%; animation-delay: 20s; }
.background-shapes .shape:nth-child(29)  { left: 12%; animation-delay: 2s; transform: scale(1.1); }
.background-shapes .shape:nth-child(30) { left: 26%; animation-delay: 14s; }
.background-shapes .shape:nth-child(31) { left: 60%; animation-delay: 8.8s; }
.background-shapes .shape:nth-child(32) { left: 54%; animation-delay: 19.2s; }
.background-shapes .shape:nth-child(33) { left: 68%; animation-delay: 6s; transform: scale(0.8); }
.background-shapes .shape:nth-child(34) { left: 82%; animation-delay: 10.8s; }
.background-shapes .shape:nth-child(35) { left: 92%; animation-delay: 15.6s; }
.background-shapes .shape:nth-child(36) { left: 10%;  animation-delay: 5.2s; }
.background-shapes .shape:nth-child(37) { left: 36%; animation-delay: 11.2s; }
.background-shapes .shape:nth-child(38) { left: 66%; animation-delay: 13.2s; }
.background-shapes .shape:nth-child(39) { left: 34%; animation-delay: 17.6s; }
.background-shapes .shape:nth-child(40) { left: 64%; animation-delay: 20.4s; }

.content-intro {
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.platform-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.platform-card h3 {
  margin-bottom: 1rem;
}

.platform-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.platform-card a {
  display: inline-block;
  background: #309177;
  padding: 0.6rem 1.2rem;
  border-radius: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.platform-card a:hover {
  background: #267865;
}
.content-overview {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.platform-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.platform-block:nth-child(even) {
  flex-direction: row-reverse;
}

.platform-block img {
  width: 100%;
  max-width: 560px;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.platform-text {
  max-width: 500px;
  color: #fff;
}

.platform-text h2 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.platform-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.devblog-listing {
max-width: 100%;
padding: 1rem 2rem;
color: #fff;
}


#blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: #ffffff10;
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 0 10px #0002;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 450px;
  margin: 0 auto;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #0003;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #309177;
}

.blog-card-text {
  padding: 1rem;
}

.blog-card-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #309177;
}
.post-date {
  font-size: 0.9rem;
  color: #ccc;
}
.devblog-listing form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.devblog-listing h1 {
text-align: center;
margin-bottom: 1rem;
}
.blog-card .tags {
font-size: 0.8rem;
color: #a0e0d0; 
margin-top: 0.5rem;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.blog-card .tags::before {
content: "🏷️ "; 
}
.blog-card .tags span {
background-color: rgba(48, 145, 119, 0.2);
padding: 0.2rem 0.5rem;
border-radius: 1rem;
border: 1px solid rgba(48, 145, 119, 0.4);
transition: all 0.2s ease;
}
.blog-card:hover .tags span {
background-color: rgba(48, 145, 119, 0.3);
border-color: rgba(48, 145, 119, 0.6);
}
.vegan-badge {
font-size: 1rem;
background-color: rgba(48, 145, 119, 0.3);
padding: 0.3rem 0.8rem;
border-radius: 2rem;
margin-left: 1rem;
vertical-align: middle;
border: 1px solid #309177;
}
.vegan-subtitle {
text-align: center;
color: #a0e0d0;
margin-top: -1rem;
margin-bottom: 2rem;
font-size: 0.9rem;
}
button[type="submit"] {
cursor: pointer;
transition: background-color 0.2s ease;
}
button[type="submit"]:hover {
background-color: #267865;
}
.pixelart-gallery {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.gallery-title {
text-align: center;
margin-bottom: 2rem;
color: #309177;
}
.art-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
padding: 1rem;
}
.art-tile {
aspect-ratio: 1/1;
background: rgba(0, 0, 0, 0.3);
border-radius: 8px;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
border: 2px solid #309177;
position: relative;
}
.art-tile:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
border-color: #570141;
}
.art-tile img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 1000;
justify-content: center;
align-items: center;
}
.lightbox-content {
max-width: 90%;
max-height: 90%;
}
.lightbox-content img {
max-width: 100%;
max-height: 90vh;
border: 3px solid #309177;
border-radius: 8px;
}
.close-lightbox {
position: absolute;
top: 20px;
right: 30px;
color: white;
font-size: 40px;
font-weight: bold;
cursor: pointer;
transition: color 0.3s;
}
.close-lightbox:hover {
color: #309177;
}
@media (max-width: 900px) {
.art-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.art-grid {
    grid-template-columns: 1fr;
}
.close-lightbox {
    top: 10px;
    right: 15px;
    font-size: 30px;
}
}
h2 a
{
color: #309177;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
h2 a:hover
{
color: #570141;
}
ul, ol {
padding-left: 1.5rem;
}
li {
margin-bottom: 0.5rem;
}
.blog-post img {
display: block;
margin: 1rem auto;
width: 100%;
max-width: 600px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
main.blog-post {
max-width: 800px;
margin: 2rem auto;
padding: 2rem;
border-radius: 12px;
text-align: center; 
gap: 1.5rem;
display: grid;
}
main.blog-post ul,
main.blog-post ol {
display: inline-block;
text-align: left;
margin: 0 auto;
}
@media (max-width: 800px) {
.video {
  display: none
}

}
@media (max-width: 800px) {
nav ul {
  display: none;
  position: absolute;
  top: 100%;
  right: 1rem;
  background: rgba(0, 0, 0, 0.85);
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
nav ul.open {
  display: flex;
}
.burger {
  display: block;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 101;
}
}
@media (min-width: 801px) {
.burger {
  display: none;
}
nav ul {
  display: flex;
  position: static;
  flex-direction: row;
  padding: 0;
  background: none;
  box-shadow: none;
}
}
@media (max-width: 550px) {
.blog-card {
  flex-direction: column;
  width: 100% !important;
  box-sizing: border-box;
}
.blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.blog-card-text {
  padding: 1rem;
}
}
@media (max-width: 550px) {
#blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
}
