@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Space+Grotesk:wght@300;400;600;700&display=swap');

:root {
  --neon-pink: #ff007f;
  --neon-cyan: #00f3ff;
  --neon-orange: #ffaa00;
  --dark-bg: #0a0a10;
  --darker-bg: #050508;
  --card-bg: rgba(15, 15, 20, 0.8);
  --text-main: #f0f0f0;
  --font-head: 'Russo One', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  background-image: 
    linear-gradient(to bottom, rgba(10,10,16,0.85), var(--darker-bg)),
    url('https://offertabs.s3.amazonaws.com/offer/uzctse/site/media/6af787b4326e70.71775319.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hidden {
  display: none !important;
}

/* Status Banner */
#status-container {
  background: var(--neon-pink);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
}

/* Header / Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  border-bottom: 2px solid var(--neon-pink);
  box-shadow: 0 5px 40px rgba(255, 0, 127, 0.4);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/uzctse/site/media/6af78513d4dd04.17228736.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) contrast(1.3) saturate(1.2);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,0,127,0.3) 0%, rgba(0,243,255,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.gta-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.gta-stars svg {
  width: 32px;
  height: 32px;
  fill: var(--neon-orange);
  filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.6));
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}

.title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  margin: 0;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.8), 0 0 20px rgba(255, 140, 0, 0.5);
}

.title span {
  display: block;
  font-size: 0.65em;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.4));
  margin-top: 10px;
}

.tagline {
  font-size: 1.8rem;
  margin-top: 30px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.9), 0 0 20px rgba(0, 243, 255, 0.8), 0 0 40px rgba(0, 243, 255, 0.4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 1px;
}

/* Main Content */
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Missions Grid */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

.mission-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--neon-cyan);
  padding: 35px 25px;
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 243, 255, 0.2);
  border-top-color: var(--neon-pink);
  border-bottom: 1px solid rgba(255,0,127,0.3);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}

.mission-card:hover::before {
  left: 200%;
}

.mission-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: -10px;
  right: 15px;
  transition: color 0.4s;
}

.mission-card:hover .mission-num {
  color: rgba(255,0,127,0.1);
}

.mission-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: #fff;
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mission-desc {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Form Container */
.form-container {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,0,127,0.3);
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 30px rgba(255,0,127,0.05);
}

.form-container h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 35px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  box-sizing: border-box;
  transition: all 0.3s;
}

input::placeholder {
  color: rgba(255,255,255,0.3);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(255,0,127,0.25);
  background: rgba(0,0,0,0.7);
}

/* Select styling */
select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2300f3ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px;
  cursor: pointer;
}

select option {
  background: #111;
  color: #fff;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-display {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
  transition: all 0.3s;
}

.file-upload-wrapper:hover .file-upload-display,
.file-upload-wrapper input:focus + .file-upload-display {
  border-color: var(--neon-cyan);
  background: rgba(0,243,255,0.05);
}

#file-name {
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  font-size: 1.05rem;
}

.btn-sm {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn-submit {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, #a200ff 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,0,127,0.5);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Error message */
.error-msg {
  background: rgba(255, 50, 50, 0.15);
  border-left: 4px solid #ff3232;
  color: #ffb3b3;
  padding: 18px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-size: 1rem;
  font-weight: 600;
}

/* Results Section */
.result-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,243,255,0.4);
  border-radius: 16px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.result-card h2 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  margin-top: 0;
  color: var(--neon-cyan);
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(0,243,255,0.4);
}

.result-card p {
  font-size: 1.15rem;
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Share Panel */
.share-panel {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
  border: 1px dashed rgba(255,255,255,0.2);
}

.share-panel h3 {
  color: var(--neon-orange);
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin-top: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.share-group {
  display: flex;
  margin-top: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.share-group input {
  flex: 1;
  border-radius: 8px 0 0 8px;
  border-right: none;
  background: rgba(0,0,0,0.6);
}

.btn-secondary {
  background: var(--neon-cyan);
  color: #000;
  border: none;
  padding: 0 25px;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(0,243,255,0.5);
}

/* Loader */
.loader {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
  margin-left: 12px;
}

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

/* Powered By Wrapper */
#wbx-powered-by-slot {
  margin-top: auto;
  padding: 40px 0 20px;
}

@media (max-width: 768px) {
  .title { font-size: 2.8rem; }
  .gta-stars svg { width: 24px; height: 24px; }
  .tagline { font-size: 1.3rem; }
  .form-row { flex-direction: column; gap: 0; }
  .form-container { padding: 30px 20px; }
  .result-card { padding: 40px 20px; }
  .share-group { flex-direction: column; }
  .share-group input { border-radius: 8px; border-right: 1px solid rgba(255,255,255,0.15); margin-bottom: 10px; }
  .btn-secondary { border-radius: 8px; padding: 18px; }
  .missions-grid { grid-template-columns: 1fr; }
}
