/* ============================================
   ROOPOKIES REGISTER PAGE - Matching Homepage Theme
   Dark Casino-Style UI, Responsive, Modern
   ============================================ */

/* CSS Variables - Matching Homepage */
:root {
  --bg-main: #060714;
  --bg-section: #0e1024;
  --bg-card: #171a36;
  --accent-primary: #f5a623;
  --accent-secondary: #b24bff;
  --accent-cta: #ff4b6e;
  --text-main: #ffffff;
  --text-muted: #a0a3b1;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-glow: rgba(245, 166, 35, 0.3);
  --shadow-glow-secondary: rgba(178, 75, 255, 0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Roboto', 'Oxygen', 'Cantarell', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navbar Styles */
.header {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  position: relative;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  position: absolute;
}

.hamburger-menu span:nth-child(1) {
  top: 12px;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
  bottom: 12px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.hamburger-menu.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.logo img {
  height: 40px;
  width: auto;
}

.navbar-spacer {
  flex: 1;
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Show menu when active on all screen sizes */
.navbar-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-section);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.navbar-menu li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  display: block;
  text-decoration: none;
  width: 100%;
  padding: 1rem;
  color: var(--text-main);
  font-weight: 500;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--accent-primary);
  background: rgba(249, 182, 2, 0.1);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: rgba(14, 16, 36, 0.8);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-primary);
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-item:last-child {
  color: var(--accent-primary);
}

/* Register Hero Section */
.register-hero {
  padding: 4rem 0 2rem;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-soft);
}

.register-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  text-align: center;
}

.register-intro {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.register-hero p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* Register Form Section */
.register-form-section {
  padding: 3rem 0;
}

.register-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.register-card h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  text-align: center;
}

/* Form Styles */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input select {
  cursor: pointer;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #ff8c42);
  color: var(--bg-main);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(245, 166, 35, 0.1);
}

.form-footer-links {
  text-align: center;
  margin-top: 0.5rem;
}

/* Steps Section */
.register-steps-section {
  padding: 4rem 0;
  background: var(--bg-section);
}

.register-steps-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  text-align: center;
}

.register-steps-section > p {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-primary), #ff8c42);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Requirements Section */
.register-requirements {
  padding: 4rem 0;
}

.requirements-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.requirements-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.requirements-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.requirements-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.requirements-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.requirements-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.requirement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.requirement-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.2);
}

.requirement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.requirement-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.requirement-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Verification Section */
.register-verification {
  padding: 4rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.register-verification h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  text-align: center;
}

.register-verification p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.register-verification ul {
  margin: 1rem auto;
  max-width: 900px;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.register-verification li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem auto;
  max-width: 900px;
}

.verification-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem;
}

.verification-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.verification-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.verification-warning {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  background: rgba(245, 166, 35, 0.1);
  border-left: 4px solid var(--accent-primary);
  border-radius: 8px;
}

.verification-warning p {
  margin: 0;
  color: var(--text-main);
  font-weight: 500;
}

/* Safety Section */
.register-safety-section {
  padding: 4rem 0;
}

.register-safety-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  text-align: center;
}

.register-safety-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.safety-tips-card {
  max-width: 900px;
  margin: 2rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2.5rem;
}

.safety-tips-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.safety-tips-card ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.safety-tips-card li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.safety-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 75, 110, 0.1);
  border-left: 4px solid var(--accent-cta);
  border-radius: 6px;
  color: var(--text-main) !important;
  font-weight: 500;
}

/* Bonuses Section */
.register-bonuses-section {
  padding: 4rem 0;
  background: var(--bg-section);
}

.register-bonuses-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  text-align: center;
}

.register-bonuses-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.register-bonuses-section ul {
  margin: 1rem auto;
  max-width: 900px;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.register-bonuses-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Troubleshooting Section */
.register-troubleshooting {
  padding: 4rem 0;
}

.register-troubleshooting h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  text-align: center;
}

.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.troubleshooting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.troubleshooting-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.2);
}

.troubleshooting-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.troubleshooting-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.troubleshooting-card ul {
  text-align: left;
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.troubleshooting-card li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Responsible Gambling Section */
.register-responsible {
  padding: 4rem 0;
  background: var(--bg-section);
}

.responsible-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(245, 166, 35, 0.1);
  border: 2px solid var(--accent-primary);
  border-radius: 12px;
  text-align: center;
}

.responsible-banner h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.responsible-banner p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.responsible-banner ul {
  margin: 1.5rem auto;
  max-width: 700px;
  text-align: left;
  color: var(--text-muted);
  list-style: none;
  padding: 0;
}

.responsible-banner li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.responsible-banner li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 1.5rem;
  line-height: 1;
}

.responsible-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 75, 110, 0.1);
  border-left: 4px solid var(--accent-cta);
  border-radius: 8px;
  color: var(--text-main) !important;
  font-weight: 500;
  text-align: left;
}

/* FAQ Section */
.register-faqs {
  padding: 4rem 0;
}

.register-faqs h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  transition: all 0.3s ease;
}

.faq-item summary:hover {
  background: rgba(245, 166, 35, 0.05);
  color: var(--accent-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  float: right;
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-weight: 300;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Footer Styles */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column h4 {
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.age-badge {
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.gamble-responsibly {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hamburger-menu {
    display: flex;
  }

  .requirements-layout {
    grid-template-columns: 1fr;
  }

  .verification-grid {
    grid-template-columns: 1fr;
  }

  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .register-hero h1 {
    font-size: 2rem;
  }

  .register-intro {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .register-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .register-steps-section > p {
    padding: 0 1rem;
  }

  .register-verification p,
  .register-safety-section p,
  .register-bonuses-section p {
    padding: 0 1rem;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-section);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: left 0.3s ease;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex !important;
    list-style: none;
    overflow-y: auto;
    margin: 0;
  }

  .navbar-menu.active {
    left: 0;
    display: flex !important;
  }

  .navbar-menu li {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu li a {
    width: 100%;
    display: block;
    padding: 1.25rem 1rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .navbar-menu li a:hover,
  .navbar-menu li a.active {
    color: var(--accent-primary);
    background: rgba(249, 182, 2, 0.1);
    padding-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .register-hero {
    padding: 3rem 0 1.5rem;
  }

  .register-hero h1 {
    font-size: 1.75rem;
  }

  .register-card {
    padding: 1.5rem 1rem;
  }

  .register-card h2 {
    font-size: 1.5rem;
  }

  .steps-grid,
  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }

  .responsible-banner {
    padding: 2rem 1.5rem;
  }
}
