@import url('https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap');

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

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: #cbd5e1;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

header {
  background: rgba(26, 32, 44, 0.85);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.8);
}

.header {
  background: rgba(26, 32, 44, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.8);
}

nav, .navbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  height: 60px;
}

.logo {
  color: #d6bcfa;
  font-weight: 700;
  font-size: 1.4rem;
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(0.8rem, 2vw, 1.4rem);
}

.accent {
  color: #805ad5;
}

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

.nav-link, .nav-links li a {
  position: relative;
  color: #a0aec0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-link::after, .nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #9f7aea;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-links li a:hover,
.nav-links li a.active {
  color: #d6bcfa;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #d6bcfa;
  border-radius: 2px;
  transition: all 0.3s ease;
}

main.services-main {
  max-width: 900px;
  margin: 6rem auto 4rem;
  padding: 0 1.5rem;
  color: #cbd5e1;
  flex-grow: 1;
}

.services-main h1, .services-main h2 {
  color: #d6bcfa;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-main p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  padding: 0;
  margin: 0 0 2rem 0;
}

.services-list li {
  background: #2d3748;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  color: #a0aec0;
  box-shadow: 0 4px 10px rgb(214 188 250 / 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.services-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgb(214 188 250 / 0.35);
  color: #d6bcfa;
}

.why-choose {
  background: linear-gradient(90deg, #4c51bf88, #6b46c188);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  color: #f0e9ff;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgb(107 70 193 / 0.4);
}

.hero {
  margin-top: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  min-height: 80vh;
}

.hero-content {
  flex: 1 1 400px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #e9d8fd;
}

.hero-content p {
  font-size: 1.2rem;
  color: #cbd5e0;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #805ad5, #9f7aea);
  color: white;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 8px 15px rgba(159, 122, 234, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.btn:hover {
  background: linear-gradient(135deg, #9f7aea, #805ad5);
  box-shadow: 0 12px 24px rgba(128, 90, 213, 0.75);
}

.hero-image {
  flex: 1 1 300px;
  max-width: 350px;
  user-select: none;
  filter: drop-shadow(0 6px 8px rgba(159, 122, 234, 0.3));
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 220px;
    height: 100vh;
    background: linear-gradient(180deg, #1a202c, #2d3748);
    padding: 2rem 1rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.9);
    transition: right 0.3s ease;
    z-index: 9999;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li {
    margin: 0;
  }
  .nav-links li a {
    font-size: 1.2rem;
    color: #a0aec0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: transparent;
    display: block;
  }
  .nav-links li a:hover, .nav-links li a.active {
    background-color: #3c4a6e;
    color: #d6bcfa;
    text-decoration: none;
  }
  .hamburger {
    display: flex;
  }

  .portfolio-wrapper {
    padding-top: 4rem;
  }

  .portfolio-buttons {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-nav-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-banner {
    max-height: 33vh;
    overflow-y: auto;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .cookie-banner p {
    font-size: 0.9rem;
  }

  .cookie-banner button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

main.contact-main {
  max-width: 700px;
  margin: 6rem auto 4rem;
  padding: 0 1.5rem;
  flex-grow: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-form input, .contact-form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: #2d3748;
  color: #e2e8f0;
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  background: #3b475c;
  outline: 2px solid #805ad5;
}

.contact-form button.btn {
  align-self: flex-start;
  padding: 0.9rem 2.2rem;
}

.form-status {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  max-width: 500px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(10px);
}

.form-status.show {
  opacity: 1;
  transform: translateY(0);
}

.form-status.success {
  background: #38a169;
  color: white;
  box-shadow: 0 4px 12px rgba(56, 161, 105, 0.4);
}

.form-status.error {
  background: #e53e3e;
  color: white;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

.contact-discord {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.discord-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #5865f2;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.6);
}

.discord-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#g-recaptcha-response {
display: block !important;
position: absolute;
margin: -50px 0 0 0 !important;
z-index: -999999;
opacity: 0;
}

.grecaptcha-badge {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: #2d3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(128, 90, 213, 0.15);
}

.faq-question {
  background: none;
  color: #d6bcfa;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  padding: 1rem 1.2rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.faq-question:hover {
  background-color: #3c4a6e;
}

.faq-answer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid #4a5568;
  transition: max-height 0.4s ease, padding 0.4s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  opacity: 0;
}

.faq-question.active + .faq-answer {
  padding: 1rem 1.5rem;
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
}

.portfolio-wrapper {
  display: flex;
  padding-top: 5rem;
  flex-direction: column;
}

.portfolio-buttons {
  background: rgba(17, 17, 17, 0.8);
  box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1rem 2rem;
}

.portfolio-nav-btn {
  background-color: #121212;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 2px solid #a163f7;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(161, 99, 247, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-nav-btn:hover {
  background-color: #a163f7;
  color: #121212;
  box-shadow: 0 0 20px rgba(161, 99, 247, 0.8);
  transform: translateY(-3px);
}

.portfolio-content {
  flex: 1;
  padding: 2rem;
}

.portfolio-content section {
  margin-bottom: 4rem;
}

.portfolio-content h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: #1b1b1b;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.portfolio-card img {
  width: 100%;
  display: block;
}

.card-info {
  padding: 1rem;
}

.card-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.card-info p {
  color: #ccc;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.media-frame {
  background: #1a1a1a;
  border: 2px solid rgba(165, 111, 255, 0.5);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 0 10px rgba(165, 111, 255, 0.15);
  margin-bottom: 1rem;
  overflow: hidden;
}

.media-frame img, .media-frame video, .media-frame iframe {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.media-container {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.media-container > div {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.media-container > div img, .media-container > div video, .media-container > div iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.media-container > div:hover {
  filter: brightness(0.8);
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  opacity: 0;
  animation: lightboxFadeIn 0.3s ease forwards;
  overflow: hidden;
  background: #000;
}

.lightbox-content img, .lightbox-content video, .lightbox-content iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes lightboxFadeIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-lightbox {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #1a1a1a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
  z-index: 10000;
}

.close-lightbox:hover {
  transform: scale(1.1);
  background: #2c2c2c;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #222;
  color: #eee;
  padding: 1rem 1.5rem;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.cookie-consent-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-consent-content p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 1rem;
}

.cookie-consent-content a {
  color: #a78bfa;
  text-decoration: underline;
}

.cookie-consent-buttons {
  flex-shrink: 0;
  display: flex;
  gap: 0.8rem;
}

.btn {
  cursor: pointer;
  padding: 0.5rem 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  transition: background-color 0.25s ease;
  user-select: none;
}

.btn-primary {
  background-color: #7c3aed;
  color: white;
}

.btn-primary:hover {
  background-color: #5b21b6;
}

.btn-secondary {
  background-color: #444;
  color: #ccc;
}

.btn-secondary:hover {
  background-color: #666;
}

@media (max-width: 480px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-buttons {
    justify-content: center;
    width: 100%;
  }
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.cookie-modal {
  background: #222;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.cookie-modal h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cookie-modal p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.cookie-modal button {
  padding: 0.6rem 1.2rem;
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cookie-modal button:hover {
  background: #a78bfa;
}

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 0 10px;
}

.play-button {
  font-size: 32px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: background 0.2s;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.privacy-policy {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
  line-height: 1.8;
}

.policy-date {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-section ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.policy-section a {
  color: #68a0ff;
  text-decoration: underline;
}

.terms-service {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
  line-height: 1.8;
}

.terms-service-date {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.terms-service-section {
  margin-bottom: 2rem;
}

.terms-service-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.terms-service-section ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.terms-service-section a {
  color: #68a0ff;
  text-decoration: underline;
}

.form-disclaimer {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 1rem;
}

.form-disclaimer a {
  color: #b78bfa;
  text-decoration: underline;
}

.form-disclaimer a:hover {
  color: #d1aaff;
}

.site-footer {
  background-color: #1a1a1a;
  padding: 2rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 200px;
  margin-bottom: 1rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e2e2e2;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  margin: 0;
  color: #999;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-nav a {
  color: #b78cff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #d3adff;
}

.footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}
