/* 
   OKARUN PREMIUM CYBERPUNK THEME 
   Design Agressivo - Vermelho Neon / Branco / Preto Profundo
*/

:root {
  --primary: #ff0000;
  --primary-glow: rgba(255, 0, 0, 0.6);
  --secondary: #ffffff;
  --bg-dark: #050505;
  --card-bg: rgba(10, 10, 10, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Poppins', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800;900&display=swap');

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--secondary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  padding: 40px 0;
}

/* BACKGROUND VIDEO & OVERLAY */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.4) contrast(1.1);
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
  z-index: -1;
}

/* CONTAINER PREMIUM */
.container {
  width: 95%;
  max-width: 420px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  animation: containerAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
  z-index: -1;
  border-radius: 32px;
  opacity: 0.3;
  filter: blur(10px);
}

@keyframes containerAppear {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* PROFILE & HEADER */
.profile-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.profile-gif {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  padding: 5px;
  background: var(--bg-dark);
  box-shadow: 0 0 30px var(--primary-glow);
  transition: transform 0.5s ease;
}

.profile-wrapper:hover .profile-gif {
  transform: rotate(5deg) scale(1.05);
}

h1 {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  color: var(--secondary);
  position: relative;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 35px;
  opacity: 0.8;
}

/* CUSTOM SELECT - REDESIGN TOTAL */
.form-container {
  text-align: left;
}

.label-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
  padding-left: 5px;
}

.custom-select-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.custom-select__trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select__trigger:hover {
  background: rgba(255, 0, 0, 0.05);
  border-color: var(--primary);
}

.custom-select__trigger span {
  font-weight: 600;
  font-size: 0.95rem;
}

.arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.custom-select.open .arrow {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #0f0f0f;
  border: 1px solid var(--primary);
  border-radius: 15px;
  overflow: hidden;
  z-index: 100;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.custom-select.open .custom-options {
  max-height: 280px;
  opacity: 1;
  overflow-y: auto;
}

.custom-option {
  padding: 15px 22px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.custom-option:hover {
  background: var(--primary);
  color: white;
  padding-left: 30px;
}

.custom-option.selected {
  background: rgba(255, 0, 0, 0.2);
  color: var(--primary);
  font-weight: 700;
}

/* BUTTON PREMIUM */
.button {
  width: 100%;
  background: var(--secondary);
  color: #000;
  border: none;
  padding: 20px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button i {
  font-size: 1.2rem;
}

.button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--primary-glow);
}

.button:active {
  transform: translateY(0);
}

/* QR CODE AREA */
#qrCodeContainer {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#qrCodeImage {
  width: 180px;
  height: 180px;
  background: white;
  padding: 10px;
  border-radius: 15px;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

#statusPagamento {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 15px;
}

/* FOOTER */
footer {
  margin-top: 40px;
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 1px;
  padding-bottom: 20px;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* MOBILE ADJUSTMENTS */
@media (max-width: 400px) {
  .container { padding: 30px 20px; }
  h1 { font-size: 1.3rem; }
}
