/* ===================================================================
   GAMETECH STUDIO - MODERN CORPORATE STYLING & DESIGN SYSTEM
   =================================================================== */

:root {
  --primary-color: #00d287;
  --primary-gradient: linear-gradient(135deg, #00d287 0%, #00a86b 100%);
  --secondary-color: #121826;
  --accent-color: #3b82f6;
  --dark-bg: #0b0f19;
  --card-bg: #161f30;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(0, 210, 135, 0.25);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & typography */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--dark-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: #34e89e;
  text-decoration: none;
}

/* Utility classes */
.highlight-text {
  background: linear-gradient(90deg, #00d287, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 210, 135, 0.1);
  border: 1px solid rgba(0, 210, 135, 0.25);
  color: var(--primary-color);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ===================================================================
   HEADER & NAVBAR
   =================================================================== */
.navbar-custom {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
  padding: 16px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: auto;
  padding: 0;
}

.navbar-brand-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 210, 135, 0.4));
}

.navbar-brand-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.navbar-brand-text span {
  color: var(--primary-color);
}

.navbar-custom .navbar-nav > li > a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar-custom .nav-btn-contact {
  background: var(--primary-gradient);
  color: #0b0f19 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  margin-left: 15px;
  box-shadow: 0 4px 14px rgba(0, 210, 135, 0.35);
  transition: var(--transition);
}

.navbar-custom .nav-btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 135, 0.5);
  background: linear-gradient(135deg, #00e695 0%, #00b975 100%);
}

.navbar-custom .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-custom .navbar-toggle .icon-bar {
  background-color: #fff;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
#hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 210, 135, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
              var(--dark-bg);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 210, 135, 0.1);
  border: 1px solid rgba(0, 210, 135, 0.25);
  color: var(--primary-color);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tagline-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: #0b0f19;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 210, 135, 0.35);
  transition: var(--transition);
  border: none;
}

.btn-primary-custom:hover {
  color: #0b0f19;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 210, 135, 0.5);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  text-align: center;
}

.hero-logo-card {
  position: relative;
  display: inline-block;
  padding: 40px;
  background: radial-gradient(circle, rgba(22, 31, 48, 0.8) 0%, rgba(11, 15, 25, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-logo-img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 15px 25px rgba(0, 210, 135, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-stats-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #1e293b;
  border: 1px solid rgba(0, 210, 135, 0.3);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-stats-badge .icon {
  font-size: 24px;
}

.hero-stats-badge .text {
  text-align: left;
}

.hero-stats-badge .text strong {
  display: block;
  font-size: 16px;
  color: #fff;
}

.hero-stats-badge .text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================================================
   METRICS / STATS SECTION
   =================================================================== */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #0f1523;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.stat-number span {
  color: var(--primary-color);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ===================================================================
   ABOUT US SECTION
   =================================================================== */
#about {
  background: var(--dark-bg);
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 135, 0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.about-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 210, 135, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 26px;
  margin-bottom: 22px;
}

.about-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===================================================================
   GAMES & PRODUCTS SHOWCASE
   =================================================================== */
#games {
  background: #0f1523;
  position: relative;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 30px;
  text-align: center;
  transition: var(--transition);
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 135, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 135, 0.15);
}

.game-card-icon-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.game-card:hover .game-card-icon-wrap {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 210, 135, 0.3);
}

.game-card-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(0, 210, 135, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: center;
}

.game-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.game-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.game-card:hover .game-card-btn {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #0b0f19;
  font-weight: 700;
}

/* ===================================================================
   TESTIMONIALS SECTION
   =================================================================== */
#reviews {
  background: var(--dark-bg);
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 30px;
  margin-bottom: 30px;
  position: relative;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================================
   NEWSLETTER / CTA SECTION
   =================================================================== */
#newsletter {
  background: linear-gradient(180deg, #0f1523 0%, var(--dark-bg) 100%);
  padding: 80px 0;
}

.newsletter-box {
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #111827 100%);
  border: 1px solid rgba(0, 210, 135, 0.2);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.newsletter-box h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-box p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 30px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 14px 24px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  background: var(--primary-gradient);
  color: #0b0f19;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 135, 0.4);
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
#contact {
  background: var(--dark-bg);
}

.contact-info-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
}

.contact-info-panel h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 210, 135, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.contact-info-text a,
.contact-info-text span {
  font-size: 15px;
  color: var(--text-muted);
}

.contact-form-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
}

.contact-form-panel .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 14px 18px;
  height: auto;
  font-size: 15px;
  transition: var(--transition);
}

.contact-form-panel .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 210, 135, 0.2);
}

.contact-form-panel textarea.form-control {
  resize: vertical;
}

.contact-form-panel .btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 12px;
  color: #0b0f19;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 210, 135, 0.3);
}

.contact-form-panel .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 135, 0.5);
}

.contact-form .validate {
  color: #f87171;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.contact-form .loading {
  display: none;
  text-align: center;
  padding: 15px;
  color: var(--text-muted);
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid var(--primary-color);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-form .error-message {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form .sent-message {
  display: none;
  background: rgba(0, 210, 135, 0.15);
  border: 1px solid rgba(0, 210, 135, 0.3);
  color: #86efac;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer-corporate {
  background: #080c14;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: #6b7280;
  font-size: 13px;
}

.footer-bottom a {
  color: #9ca3af;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* ===================================================================
   RESPONSIVE QUERIES
   =================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-visual {
    margin-top: 50px;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 70px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 28px;
  }
  .navbar-custom .navbar-nav > li > a {
    padding: 10px 15px;
  }
  .navbar-custom .nav-btn-contact {
    margin: 10px 0 0 0;
    display: inline-block;
  }
}
