:root {
  --primary-color: #dcdcdc;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --soft-blue: #667eea;
  --dark-bg: #0f0f1a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #b8c6db;
  --text-muted: #8892b0;
  --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-secondary: 0 10px 30px rgba(103, 126, 234, 0.2);
  --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.4);
  --glow: 0 0 30px rgba(103, 126, 234, 0.3);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --input-border: #444;
  --input-bg: #1e1e2f;
  --form-bg: #181828;
  --text-color: #f0f0f0;
  --highlight-color: hsl(208, 100%, 62%);
  --accent-color: #ff7aa2;
  --button-bg: #3ea6ff;
  --button-hover-bg: #296fa8;
  --success-color: #4caf50;
  --error-color: #f44336;
  --border-radius: 16px;
  --card-padding: 1.5rem;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  letter-spacing: 0.5px;
}

body {
  background: var(--dark-bg);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.2) 0%, transparent 50%);
  min-height: 100vh;
  color: var(--text-primary);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== LAYOUT COMPONENTS ===== */
.header-wrapper {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
}

.container {
  margin-bottom: 7rem;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .layout {
    grid-template-columns: 2fr 1fr;
  }
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-wrapper {
  margin-top: auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: none;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--highlight-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-header blockquote {
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--highlight-color);
  padding-left: 1.2rem;
  max-width: 600px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

  /* margin: 1.5rem auto 1rem; */
}

.page-header blockquote p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.page-header blockquote footer {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-header blockquote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}


/* ===== PANEL STYLES ===== */
.panel {
  background: rgba(30, 30, 47, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;

  /* padding: var(--card-padding); */
}

.panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(103, 126, 234, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.panel-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header i {
  font-size: 1.5rem;
  color: var(--highlight-color);
  margin-right: 15px;
  background: rgba(62, 166, 255, 0.15);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-header h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
}

.panel-content {
  position: relative;
  z-index: 1;
}

/* ===== QUESTION FORM ===== */
.question-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  gap: 10px;
}

.form-label i {
  color: var(--highlight-color);
  font-size: 1.2rem;
}

.form-textarea,
.form-input {
  width: 100%;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(10, 10, 20, 0.5);
  color: var(--text-primary);
  font-family: inherit;
}

.form-textarea:focus,
.form-input:focus {
  border-color: var(--highlight-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.2);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.character-count {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-submit {
  background: var(--button-bg);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(62, 166, 255, 0.3);
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(62, 166, 255, 0.5);
  background: var(--button-hover-bg);
}

.form-submit i {
  font-size: 1.2rem;
}

.message-output {
  display: none;
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
}

.message-output.success {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.3);
  color: #a5d6a7;
}

.message-output.error {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.3);
  color: #ef9a9a;
}

/* .message-output.hidden {
  display: none !important;
} */


/* @keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		visibility: hidden;
	}
}

.message-output.fade-out {
	animation: fadeOut 1s ease forwards;
} */


/* ===== ACCORDION STYLES ===== */
.accordion {
  background: rgba(30, 30, 47, 0.85);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-primary);
  overflow: hidden;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}

.accordion-header:hover {
  background: rgba(103, 126, 234, 0.08);
}

.accordion-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion-header h3 i {
  color: var(--highlight-color);
  font-size: 1.3rem;
}

.accordion-header i:last-child {
  color: var(--highlight-color);
  transition: var(--transition);
  font-size: 1.1rem;
}

.custom-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  background: transparent;
}

.accordion-item.active .custom-accordion-content {
  max-height: 500px;
  padding: 0 1.8rem 1.8rem;
}

.accordion-item.active .accordion-header i:last-child {
  transform: rotate(180deg);
}

.custom-rules-list {
  list-style-type: none;
  padding: 0;
}

.custom-rules-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.custom-rules-list li:before {
  content: "•";
  color: var(--highlight-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.4rem;
  line-height: 1;
}

/* ===== USER SECTION ===== */
.combined-user-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-info {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  margin-bottom: 1.5rem;
}

.user-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--highlight-color);
  box-shadow: 0 8px 25px rgba(62, 166, 255, 0.3);
}

.user-info h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.user-email {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.user-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.detail-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: .7rem;
  transition: var(--transition);
  border: 1px solid var(--card-border);
  text-align: center;
  backdrop-filter: blur(5px);
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 126, 234, 0.4);
  box-shadow: var(--shadow-secondary);
}

.detail-card i {
  font-size: 1.5rem;
  color: var(--highlight-color);
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(62, 166, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
}

.detail-card h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 600;
}

.detail-card p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

/* ===== STATS SECTION ===== */
/* .stats-section {
  padding-top: 2rem;
} */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: .7rem;
  transition: var(--transition);
  border: 1px solid var(--card-border);
  text-align: center;
  backdrop-filter: blur(5px);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 126, 234, 0.4);
  box-shadow: var(--shadow-secondary);
}

.stat-card i {
  font-size: 1.5rem;
  color: var(--highlight-color);
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(62, 166, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
}

.stat-card h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 600;
}

.stat-card .value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}



/*// 🎨 Bendra sekcija */
.featured-content {
  max-width: 800px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

/* 🌟 Header su žvaigžde */
.panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #ffc107;
  font-size: 1.5rem;
}

/* 💬 Klausimas */
blockquote {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #00bcd4;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #e0e0e0;
  transition: background 0.3s ease;
}

blockquote:hover {
  background: rgba(0, 188, 212, 0.1);
}

/* 🧍 Autorius */
blockquote cite {
  display: block;
  text-align: right;
  color: #a0aec0;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* 🧠 Informacinis tekstas */
.motivation-text {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #aaa;
}

/* ✨ Responsive tweaks */
/* @media (max-width: 600px) {
  .featured-content {
    padding: 1.5rem;
  }

  .panel-header h2 {
    font-size: 1.3rem;
  }

  blockquote {
    font-size: 1rem;
  }
} */




/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (min-width: 280px) {
  .container {
    max-width: 1200px;
    margin: 1rem auto;
    margin-bottom: 7rem;
    padding: .5rem;
    flex: 1;
  }

  .panel {
    padding: var(--card-padding);
  }
}



@media (min-width: 576px) {
  .container {
    padding: 0 1rem 5.5rem;
    margin-bottom: 2rem;
  }

  .page-header {
    display: block;
    padding: .5rem 0;

    margin-bottom: .5rem;
  }

  .panel-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .panel-header i {
    margin-right: 0;
  }

  .user-details,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .accordion-header {
    padding: 1rem;
  }

  .accordion-header h3 {
    font-size: 1rem;
  }

  .featured-content {
    padding: 1.5rem;
  }

  .panel-header h2 {
    font-size: 1.3rem;
  }

  blockquote {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .container {
    margin: 2rem auto;
  }

  .layout {
    gap: 3rem;
  }

  .user-details,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .combined-user-section {
    gap: 2.5rem;
  }
}

@media (min-width: 992px) {
  .page-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    align-content: space-between;
    margin-bottom: 1rem;
  }


  .sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
  }

  .user-details,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .user-details,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}