/* Modern Pokemon Sleep Grader - Gaming Inspired Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Gaming Color Palette */
  --primary-neon: #00ff88;
  --primary-dark: #00cc6a;
  --secondary-neon: #ff6b35;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --card-bg: #1a1a1a;
  --card-border: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --success-glow: #00ff88;
  --warning-glow: #ffaa00;
  --danger-glow: #ff4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-neon), var(--accent-blue));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-neon), var(--accent-purple));
  --gradient-dark: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
  --gradient-card: linear-gradient(145deg, var(--card-bg), #222222);
  
  /* Shadows */
  --shadow-neon: 0 0 20px rgba(0, 255, 136, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p,.terms-heading{
  color:white;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-primary);
}

/* Gaming Container */
.gaming-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.gaming-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-section img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neon);
  transition: all 0.3s ease;
}

.logo-section img {
  transform: scale(1.015);
  box-shadow: 0 0 30px rgb(252 252 0);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.language-btn:hover {
  border-color: var(--primary-neon);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

/* Main Content */
.main-content {
  padding: 2rem 0;
  min-height: 80vh;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.hero-description {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.hero-description h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-neon);
}

/* Gaming Cards */
.gaming-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gaming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transition: left 0.5s ease;
}

.gaming-card:hover::before {
  left: 100%;
}

.gaming-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-neon);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.card-title-1 {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: var(--primary-neon);
  font-size: 1.2rem;
}

.card-body {
  color: var(--text-primary);
  line-height: 1.7;
}

.card-body h4 {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: var(--primary-neon);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem 0;
}

.card-body h4:first-child {
  margin-top: 0;
}

.card-body p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.card-body ul, .card-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.card-body li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.card-body iframe {
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
}

.card-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.card-body a {
  color: var(--primary-neon);
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-body a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Form Elements */
.gaming-form {
  display: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gaming-select {
  width: 100%;
  background: var(--darker-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gaming-select:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.gaming-select option {
  background: var(--darker-bg);
  color: var(--text-primary);
}

/* Subskills Grid */
.subskills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.subskill-item {
  background: var(--darker-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all 0.3s ease;
}

.subskill-item:hover {
  border-color: var(--primary-neon);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.subskill-item label {
  display: block;
  font-weight: 600;
  color: var(--primary-neon);
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Checkbox Styling */
.gaming-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-left: 2rem;
}

.gaming-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-neon);
  cursor: pointer;
}

.gaming-checkbox label {
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.gaming-checkbox label:hover {
  color: var(--primary-neon);
}

/* Gaming Buttons */
.gaming-btn {
  background: var(--gradient-primary);
  border: none;
  color: var(--dark-bg);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.gaming-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.gaming-btn:hover::before {
  left: 100%;
}

.gaming-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.gaming-btn:active {
  transform: translateY(-1px);
}

.gaming-btn-secondary {
  background: var(--gradient-secondary);
}

.gaming-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Results Section */
.results-section {
  display: none;
  margin-top: 2rem;
}

.results-table {
  width: 100%;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.results-table thead {
  background: var(--gradient-primary);
}

.results-table th {
  padding: 1.5rem;
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--dark-bg);
  font-size: 1.1rem;
}

.results-table td {
  padding: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  border-top: 1px solid var(--card-border);
}

.score-cell {
  color: var(--success-glow);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.grade-cell {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 1.5rem;
}

.percentile-cell {
  color: var(--accent-blue);
}

/* Score Explanation */
.score-explanation {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.score-explanation h4 {
  color: var(--primary-neon);
  margin-bottom: 1rem;
  font-family: 'Orbitron', monospace;
}

/* Footer */
.gaming-footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--card-border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.footer-social a:hover {
  color: var(--primary-neon);
  border-color: var(--primary-neon);
  transform: translateY(-2px);
}

.footer-version {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Cookie Popup */
.cookie-popup {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  max-width: 400px;
}

.cookie-popup p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Loading Animation */
.loading-spinner {
  display: none;
  width: 30px;
  height: 30px;
  border: 3px solid var(--card-border);
  border-top: 3px solid var(--primary-neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gaming-container {
    padding: 0 15px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .gaming-card {
    padding: 1rem;
  }
  
  .card-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .subskills-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .results-table th,
  .results-table td {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  
  .footer-links,
  .footer-social {
    flex-direction: column;
    align-items: center;
  }
  
  .gaming-btn {
    min-width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-description {
    padding: 1.5rem;
  }
  
  .gaming-card {
    margin-bottom: 1rem;
  }
  
  .results-table th,
  .results-table td {
    padding: 0.75rem 0.25rem;
    font-size: 0.9rem;
  }
  
  .subskill-item {
    padding: 0.75rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.glow-animation {
  animation: glow 2s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-neon);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection */
::selection {
  background: var(--primary-neon);
  color: var(--dark-bg);
}

/* Focus States */
*:focus {
  outline: 2px solid var(--primary-neon);
  outline-offset: 2px;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-card);
}

.border-neon {
  border-color: var(--primary-neon);
  box-shadow: var(--shadow-neon);
}

.shadow-neon {
  box-shadow: var(--shadow-neon);
}

.text-glow {
  text-shadow: 0 0 10px currentColor;
}

/* Bootstrap Overrides */
.table {
  color: var(--text-primary);
  border-color: var(--card-border);
}

.table th {
  border-color: var(--card-border);
}

.table td {
  border-color: var(--card-border);
}

.dropdown-menu {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.dropdown-item {
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-neon);
  color: var(--dark-bg);
}

/* Text utilities */
.text-muted {
  color: var(--text-muted) !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.75rem;
}
.social-share, 
.social-share a {
    color: #fff!important;
    fill: #fff!important;
}
.results-section,
.results-section * {
    color: #fff;
}
.dropdown-item:focus,
.dropdown-item:hover{
    color: #000!important;
}
@media (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
} 