:root {
  --primary-color: #f34a4a;
  --secondary-color: #615049;
  --dark-color: #262f34;
  --light-color: #f1d3bc;
  --text-light: #8a7a6b;
  --gradient: linear-gradient(135deg, #f34a4a 0%, #615049 100%);
  --warm-gradient: linear-gradient(135deg, #f1d3bc 0%, #f34a4a 100%);
  --dark-gradient: linear-gradient(135deg, #262f34 0%, #615049 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  background: var(--light-color);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(38, 47, 52, 0.95);
  color: var(--light-color);
  padding: 25px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 4px solid var(--primary-color);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner button {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(243, 74, 74, 0.3);
}

.cookie-banner button:hover {
  background: #d63d3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 74, 74, 0.4);
}

.navbar {
  background: rgba(241, 211, 188, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 25px rgba(38, 47, 52, 0.15);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  margin: 0 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  filter: sepia(20%) contrast(1.2) brightness(0.9);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
  animation: vintage-slide 1s ease;
  filter: sepia(10%) contrast(1.1);
}

@keyframes vintage-slide {
  0% {
    transform: scale(1.1) rotate(0.5deg);
    filter: sepia(30%) contrast(1.3) brightness(0.8);
  }
  50% {
    transform: scale(1.05) rotate(-0.2deg);
    filter: sepia(20%) contrast(1.2);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: sepia(10%) contrast(1.1);
  }
}

.hero-slide:nth-child(1) {
  background-image: url("assets/img1.avif");
}

.hero-slide:nth-child(2) {
  background-image: url("assets/img2.avif");
}

.hero-slide:nth-child(3) {
  background-image: url("assets/img3.avif");
}

.hero-content {
  text-align: center;
  color: var(--light-color);
  z-index: 2;
  background: linear-gradient(135deg, rgba(38, 47, 52, 0.8), rgba(97, 80, 73, 0.7));
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  background: var(--warm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-style: italic;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.5s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio {
  padding: 120px 0;
  background: var(--dark-color);
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--warm-gradient);
}

.portfolio-item {
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 20px;
}

.portfolio-number {
  font-size: 10rem;
  font-weight: 900;
  background: var(--warm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 10px rgba(243, 74, 74, 0.5));
}

.portfolio-text {
  flex: 1;
}

.portfolio-text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--light-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-text p {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
}

.portfolio-image {
  flex: 2;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  border: 3px solid var(--primary-color);
}

.portfolio-image:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 35px 70px rgba(243, 74, 74, 0.3);
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover::after {
  opacity: 0.1;
}

.portfolio-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-image:hover img {
  transform: scale(1.05);
}

.characters {
  padding: 120px 0;
  background: var(--light-color);
  position: relative;
}

.characters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dark-gradient);
}

.section-title {
  text-align: center;
  margin-bottom: 100px;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.character-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 15px 30px rgba(38, 47, 52, 0.2);
  border: 3px solid var(--secondary-color);
}

.character-card:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 25px 50px rgba(243, 74, 74, 0.4);
  border-color: var(--primary-color);
}

.character-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 17px;
  transition: all 0.5s ease;
  min-height: 350px;
  filter: sepia(10%) contrast(1.1);
}

.character-card:hover .character-photo {
  transform: scale(1.1);
  filter: sepia(20%) contrast(1.2) brightness(1.1);
}

.character-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(38, 47, 52, 0.9), transparent);
  color: var(--light-color);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: 0 0 17px 17px;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.view-all-btn {
  display: inline-block;
  margin-top: 60px;
  padding: 18px 45px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(243, 74, 74, 0.3);
  border: 2px solid transparent;
}

.view-all-btn:hover {
  transform: translateY(-5px) scale(1.05);
  color: white;
  box-shadow: 0 15px 35px rgba(243, 74, 74, 0.5);
  border-color: var(--light-color);
}

.contact-form {
  padding: 120px 0;
  background: var(--dark-gradient);
  color: var(--light-color);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--warm-gradient);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(241, 211, 188, 0.1);
  padding: 60px;
  border-radius: 25px;
  backdrop-filter: blur(15px);
  border: 2px solid var(--primary-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.form-container h3 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--warm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-color);
}

.form-group input {
  width: 100%;
  padding: 18px;
  border: 2px solid var(--secondary-color);
  border-radius: 15px;
  background: rgba(241, 211, 188, 0.95);
  color: var(--dark-color);
  font-size: 1.1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(243, 74, 74, 0.3);
  transform: translateY(-2px);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 35px 0;
  padding: 20px;
  background: rgba(97, 80, 73, 0.2);
  border-radius: 15px;
  border: 1px solid var(--secondary-color);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
  transform: scale(1.2);
}

.checkbox-group label {
  flex: 1;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.checkbox-group a:hover {
  color: var(--light-color);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: inherit;
}

.submit-btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(243, 74, 74, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.footer h5 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .portfolio-item {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .portfolio-number {
    font-size: 6rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .form-container {
    margin: 0 20px;
    padding: 40px;
  }
}

.thank-you-container {
  background: var(--light-color);
  padding: 70px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(38, 47, 52, 0.2);
  max-width: 550px;
  width: 100%;
  border: 3px solid var(--primary-color);
}

.success-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 35px;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 25px rgba(243, 74, 74, 0.4);
}

.thank-you-container h1 {
  color: var(--dark-color);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.thank-you-container p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 45px;
  line-height: 1.8;
  font-style: italic;
}

.back-btn {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: inherit;
}

.back-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(243, 74, 74, 0.4);
  color: white;
  border-color: var(--dark-color);
}

@media (max-width: 768px) {
  .thank-you-container {
    padding: 50px 35px;
  }

  .thank-you-container h1 {
    font-size: 2.2rem;
  }
}

.game-portfolio-section {
  background: var(--dark-gradient);
  border-top: 4px solid var(--primary-color);
}

.game-portfolio-title {
  color: var(--primary-color);
  font-weight: 900;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.game-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(243, 74, 74, 0.4);
  border-color: var(--primary-color);
}

.game-card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.game-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
  filter: sepia(10%) contrast(1.1);
}

.game-card:hover .game-card-img {
  transform: scale(1.1);
  filter: sepia(20%) contrast(1.2) brightness(1.1);
}

.game-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(38, 47, 52, 0.9), transparent);
  z-index: 2;
}

.game-card-title {
  color: var(--light-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  transition: opacity 0.5s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 0.95;
}

.game-card-description {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.gamepage-section {
  padding: 6rem 0;
  background: var(--light-color);
}

.gamepage-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.gamepage-text {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

.gamepage-image {
  width: 100%;
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 15px 30px rgba(38, 47, 52, 0.2);
}

.gamepage-image:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(243, 74, 74, 0.3);
  border-color: var(--primary-color);
}

.gamepage-divider {
  height: 6px;
  width: 100px;
  background: var(--gradient);
  border-radius: 50px;
  margin: 4rem auto;
  box-shadow: 0 2px 10px rgba(243, 74, 74, 0.3);
}

.about-title {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2.5rem;
  user-select: none;
  animation: vintage-glow 4s infinite alternate;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes vintage-glow {
  0%, 100% { 
    filter: brightness(1) drop-shadow(0 0 5px rgba(243, 74, 74, 0.3)); 
  }
  50% { 
    filter: brightness(1.3) drop-shadow(0 0 15px rgba(243, 74, 74, 0.6)); 
  }
}

.team-section {
  max-width: 1000px;
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.team-member {
  background: var(--dark-color);
  border-radius: 20px;
  padding: 2rem;
  width: 200px;
  box-shadow: 0 15px 30px rgba(243, 74, 74, 0.3);
  transition: all 0.4s ease;
  cursor: default;
  user-select: none;
  border: 3px solid var(--secondary-color);
}

.team-member:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(243, 74, 74, 0.5);
  border-color: var(--primary-color);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  filter: drop-shadow(0 5px 15px rgba(243, 74, 74, 0.4));
  transition: filter 0.3s ease;
}

.team-member:hover .team-avatar {
  filter: drop-shadow(0 10px 25px rgba(243, 74, 74, 0.7));
}

.team-name {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--light-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-role {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

.fun-facts {
  max-width: 700px;
  background: var(--dark-color);
  border-radius: 25px;
  padding: 2.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 20px 40px rgba(97, 80, 73, 0.4);
  font-size: 1.2rem;
  user-select: none;
  border: 2px solid var(--secondary-color);
}

.fun-facts h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fun-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fun-facts-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--light-color);
  font-weight: 600;
  line-height: 1.6;
}

.fun-facts-list li::before {
  content: '🔥';
  font-size: 1.5rem;
}

.fun-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fun-facts-list li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.fun-facts-list li::before {
  content: '✨';
  color: var(--primary-color);
  font-size: 1.3rem;
}

.quote-block {
  font-style: italic;
  font-size: 1.3rem;
  max-width: 700px;
  color: var(--secondary-color);
  border-left: 5px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 3rem;
  user-select: none;
}

.btn-contact {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(243, 74, 74, 0.4);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
  user-select: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-contact:hover {
  background: var(--warm-gradient);
  box-shadow: 0 10px 30px rgba(243, 74, 74, 0.6);
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

.about-section {
  transition: all 0.3s ease;
}

.character-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(243, 74, 74, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(243, 74, 74, 0.35);
}

.character-card img {
  border-radius: 12px;
  transition: transform 0.5s ease;
  display: block;
  width: 100%;
  height: auto;
}

.character-card:hover img {
  transform: scale(1.02);
}

.character-name {
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  transition: color 0.3s ease;
  margin-top: 0.5rem;
}

.character-card:hover .character-name {
  color: var(--secondary-color);
}