/* Form Validation Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

body.dark-mode .form-group label {
  color: #e2e8f0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  background: white;
  color: var(--text-dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-msg {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--danger-color);
  font-weight: 500;
  min-height: 1.2rem;
}

.success-msg {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 500;
  min-height: 1.2rem;
}

/* Enhanced Password Strength Indicator */
.password-strength {
  margin-top: 0.75rem;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.password-strength-bar {
  height: 100%;
  transition: all var(--transition-base);
  border-radius: 3px;
  position: relative;
}

.strength-weak {
  width: 33%;
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.strength-medium {
  width: 66%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.strength-strong {
  width: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
}

.password-strength-bar::after {
  content: attr(title);
  position: absolute;
  top: -25px;
  right: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.password-strength-bar:hover::after {
  opacity: 1;
}

/* Registration Form Styles */
.register-modal {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.register-section {
  text-align: center;
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.register-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.login-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.login-link p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: all var(--transition-base);
  border-radius: 2px;
}

.strength-weak {
  width: 33%;
  background: var(--danger-color);
}

.strength-medium {
  width: 66%;
  background: #f59e0b;
}

.strength-strong {
  width: 100%;
  background: var(--secondary-color);
}

/* Enhanced Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.profile-info {
  flex: 1;
}

.profile-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.profile-info p {
  margin: 0.25rem 0;
  color: var(--text-light);
}

.profile-info p i {
  margin-right: 0.5rem;
  width: 16px;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Enhanced Profile Form */
.profile-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .profile-form {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* User Database Storage */
.user-database {
  display: none;
}

/* Registration Button */
#show-register-btn {
  margin-top: 1rem;
}

/* Profile Picture Upload */
.profile-picture-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-color);
  margin-bottom: 2rem;
}

body.dark-mode .profile-picture-upload {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.current-profile-pic {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.current-profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.current-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: 50%;
}

.current-profile-pic:hover .pic-overlay {
  opacity: 1;
}

.pic-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pic-overlay span {
  font-size: 0.9rem;
  font-weight: 500;
}

.pic-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pic-actions button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.9rem;
  font-weight: 500;
}

body.dark-mode .pic-actions button {
  background: var(--dark-bg);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.pic-actions button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.pic-actions button.danger:hover {
  background: var(--danger-color);
  border-color: var(--danger-color);
}

.pic-help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* Profile Picture Display Enhancement */
.profile-img {
  transition: all var(--transition-base);
  cursor: pointer;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Profile Completion Indicator */
.profile-completion {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

body.dark-mode .profile-completion {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.completion-label {
  font-weight: 600;
  color: var(--text-dark);
}

body.dark-mode .completion-label {
  color: #e2e8f0;
}

.completion-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.completion-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.completion-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.completion-tip {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* Profile Statistics */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

body.dark-mode .stat-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 24px;
}

.stat-item div {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

body.dark-mode .stat-value {
  color: #e2e8f0;
}

/* Skills Section */
.skills-section {
  margin-top: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.skill-item {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

body.dark-mode .skill-item {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

.skill-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.skill-name {
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

body.dark-mode .skill-name {
  color: #e2e8f0;
}

.skill-level {
  width: 100%;
}

.skill-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: width 0.8s ease;
}

/* Social Media Section */
.social-media-section {
  margin-top: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all var(--transition-base);
}

body.dark-mode .social-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.social-link i {
  font-size: 1.2rem;
}

/* Social Media Form Inputs */
.social-media-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.social-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--light-bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

body.dark-mode .social-input-group {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.social-input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.social-input-group i {
  color: var(--text-light);
  width: 20px;
  text-align: center;
}

.social-input-group input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
}

body.dark-mode .social-input-group input {
  color: #e2e8f0;
}

.social-input-group input::placeholder {
  color: var(--text-light);
}

/* Enhanced Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  user-select: none;
}

body.dark-mode .checkbox-container {
  color: #e2e8f0;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-base);
}

.forgot-password:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Button Loading State */
.btn-spinner {
  display: inline-block;
  margin-left: 8px;
}

.btn-primary.loading .btn-text {
  opacity: 0.7;
}

/* Security Features */
.security-features {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.security-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 450px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  animation: slideUpModal 0.3s ease;
}

body.dark-mode .modal-content {
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

body.dark-mode .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-mode .modal-header h3 {
  color: #e2e8f0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-base);
}

.modal-close:hover {
  color: var(--danger-color);
}

.modal-body {
  padding: 1.5rem;
}

.success-message {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 1rem;
}

.success-message i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Session Warning */
.session-warning {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--danger-color);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 10002;
  max-width: 350px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.warning-content i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.warning-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.warning-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.warning-actions {
  display: flex;
  gap: 0.5rem;
}

.warning-actions button {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-base);
}

.warning-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.warning-actions .btn-primary {
  background: white;
  color: var(--danger-color);
}

.warning-actions button:hover {
  transform: translateY(-1px);
}

/* User Role Badge */
.user-role-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Login Overlay */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.login-modal {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUpModal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .login-modal {
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-header {
  text-align: center;
  padding: 2rem 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.login-logo {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
  animation: floatBounce 2s ease-in-out infinite;
}

.login-form-container {
  padding: 2rem 2.5rem;
}

.login-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.login-divider span {
  background: white;
  color: var(--text-light);
  padding: 0 1rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

body.dark-mode .login-divider span {
  background: var(--dark-bg);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

body.dark-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: var(--light-bg-secondary);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

body.dark-mode .btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
}

.btn-block {
  width: 100%;
}

.login-info {
  background: var(--light-bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  margin-top: 1.5rem;
}

body.dark-mode .login-info {
  background: rgba(255, 255, 255, 0.03);
}

.login-info p {
  margin: 0.25rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.login-info strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* User Menu and Logout Buttons */
.user-menu-btn {
  background: var(--light-bg-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

body.dark-mode .user-menu-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.user-menu-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.logout-btn {
  background: var(--danger-color);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.logout-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Main App Container */
.main-app {
  animation: fadeIn 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --danger-color: #ef4444;
  --dark-bg: #1e293b;
  --dark-bg-secondary: #0f172a;
  --light-bg: #f8fafc;
  --light-bg-secondary: #f1f5f9;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body {
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

body.dark-mode {
  background: var(--dark-bg-secondary);
  color: #e2e8f0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-logo {
  font-size: 4rem;
  color: white;
  margin-bottom: 1.5rem;
  animation: floatBounce 2s ease-in-out infinite;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(-5deg);
  }

  50% {
    transform: translateY(0) rotate(0deg);
  }

  75% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.loading-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spinRing 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: rgba(255, 255, 255, 0.9);
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: rgba(255, 255, 255, 0.7);
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: rgba(255, 255, 255, 0.5);
}

@keyframes spinRing {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Drawer Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  left: -300px;
  top: 0;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-xl);
  transition: left var(--transition-base), box-shadow var(--transition-base);
  z-index: 1000;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

body.dark-mode .drawer {
  background: var(--dark-bg);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer.open {
  left: 0;
}

.drawer-header {
  padding: 2rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.drawer-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20%, -20%);
  }
}

.drawer-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.drawer-nav {
  padding: 1.5rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  margin: 0.25rem 0.75rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

body.dark-mode .nav-link {
  color: #cbd5e1;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.nav-link:hover {
  background: var(--light-bg-secondary);
  transform: translateX(4px);
}

body.dark-mode .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::before {
  transform: scaleY(1);
}

.nav-link.active {
  background: var(--light-bg-secondary);
  color: var(--primary-color);
  font-weight: 600;
}

body.dark-mode .nav-link.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
}

.nav-link.active::before {
  transform: scaleY(1);
}

.nav-link i {
  margin-right: 1rem;
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.nav-link:hover i {
  transform: scale(1.1);
}


.main-content {
  margin-left: 0;
  transition: margin-left 0.3s ease;
  min-height: 100vh;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--border-color);
}

body.dark-mode .header {
  background: rgba(30, 41, 59, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  background: var(--light-bg-secondary);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .menu-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.menu-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

#page-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

body.dark-mode #page-title {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  background: var(--light-bg-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
}

body.dark-mode .dark-mode-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
}

.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--shadow);
}

body.dark-mode .dark-mode-toggle:hover {
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.content-area {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page {
  display: none;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  text-align: center;
  padding: 4rem 0 3rem;
  position: relative;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -1px;
  line-height: 1.2;
}

body.dark-mode .hero-title {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-light);
  margin-bottom: 3rem;
  font-weight: 500;
  animation: fadeIn 1s ease 0.2s both;
}

body.dark-mode .hero-subtitle {
  color: var(--text-muted);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition-slow);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

body.dark-mode .feature-card {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

body.dark-mode .feature-card:hover {
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card i {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform var(--transition-base);
}

.feature-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

body.dark-mode .feature-card h3 {
  color: #e2e8f0;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

body.dark-mode .feature-card p {
  color: var(--text-muted);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary,
.btn-secondary {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--gradient-success);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

.google-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

body.dark-mode .google-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.google-btn:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

body.dark-mode .google-btn:hover {
  background: rgba(99, 102, 241, 0.1);
}

.profile-container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

body.dark-mode .profile-card {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--gradient-primary);
  opacity: 0.1;
  z-index: 0;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

body.dark-mode .profile-img {
  border-color: var(--dark-bg);
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.profile-section {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .profile-section {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.profile-section h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

body.dark-mode .profile-section h3 {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.classes-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.classes-table thead th {
  background: var(--gradient-primary);
  color: white;
  padding: 1.25rem 1rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.classes-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
  background: white;
}

body.dark-mode .classes-table tbody tr {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.classes-table tbody tr:hover {
  background: var(--light-bg-secondary);
  transform: scale(1.01);
}

body.dark-mode .classes-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.1);
}

.classes-table tbody tr:last-child {
  border-bottom: none;
}

.classes-table td {
  padding: 1.25rem 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

body.dark-mode .classes-table td {
  color: #cbd5e1;
}

.hobbies-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hobbies-list li {
  padding: 1.25rem 1.5rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

body.dark-mode .hobbies-list li {
  background: rgba(255, 255, 255, 0.03);
}

.hobbies-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.hobbies-list li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  background: white;
}

body.dark-mode .hobbies-list li:hover {
  background: rgba(99, 102, 241, 0.1);
}

.hobbies-list li:hover::before {
  transform: scaleY(1);
}

.hobbies-list li i {
  font-size: 1.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 30px;
  transition: transform var(--transition-base);
}

.hobbies-list li:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Enhanced Profile Sections */
.profile-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

body.dark-mode .profile-section {
  background: var(--dark-bg-secondary);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.profile-section:hover::before {
  opacity: 1;
}

.profile-section h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.dark-mode .profile-section h3 {
  color: #e2e8f0;
}

.profile-section h3 i {
  font-size: 1.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Hobbies List */
.hobbies-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.hobbies-list li {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

body.dark-mode .hobbies-list li {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

.hobbies-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.hobbies-list li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
  background: white;
  border-color: var(--primary-color);
}

body.dark-mode .hobbies-list li:hover {
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.hobbies-list li:hover::before {
  transform: scaleY(1);
}

.hobbies-list li i {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 30px;
  transition: all var(--transition-base);
}

.hobbies-list li:hover i {
  transform: scale(1.3) rotate(10deg);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.skills-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.skills-list li {
  padding: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(245, 158, 11, 0.2);
  cursor: default;
}

body.dark-mode .skills-list li {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.skills-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-secondary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.skills-list li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  border-color: var(--secondary-color);
}

body.dark-mode .skills-list li:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.skills-list li:hover::before {
  transform: scaleY(1);
}

.skills-list li i {
  font-size: 2rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 30px;
  transition: all var(--transition-base);
}

.skills-list li:hover i {
  transform: scale(1.3) rotate(-10deg);
  filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4));
}

.skills-list li span {
  font-weight: 600;
  color: #92400e;
  font-size: 0.95rem;
}

body.dark-mode .skills-list li span {
  color: #fbbf24;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #0c4a6e;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

body.dark-mode .social-link {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  transform: translateY(-100%);
  transition: transform var(--transition-base);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
  color: #1e40af;
}

body.dark-mode .social-link:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: #dbeafe;
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link i {
  font-size: 1.5rem;
  min-width: 24px;
  transition: all var(--transition-base);
}

.social-link:hover i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.social-link:hover i.fab.fa-facebook {
  color: #1877f2;
}

.social-link:hover i.fab.fa-twitter {
  color: #1da1f2;
}

.social-link:hover i.fab.fa-instagram {
  color: #e4405f;
}

.social-link:hover i.fab.fa-linkedin {
  color: #0077b5;
}

.social-link:hover i.fab.fa-github {
  color: #333;
}

.social-link:hover i.fas.fa-globe {
  color: #6366f1;
}

.no-social-links {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 2rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
  margin: 1rem 0;
}

body.dark-mode .no-social-links {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* Product Catalog Styles */
.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.products-container h2 {
  color: var(--text-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

body.dark-mode .products-container h2 {
  color: #e2e8f0;
}

.products-container .subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

body.dark-mode .filter-btn {
  background: var(--dark-bg-secondary);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .product-card {
  background: var(--dark-bg-secondary);
  border-color: rgba(255, 255, 255, 0.1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--danger-color);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

body.dark-mode .product-name {
  color: #e2e8f0;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background: var(--light-bg-secondary);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

body.dark-mode .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-rating i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.rating-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.product-price {
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  margin-right: 0.5rem;
}

.discounted-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--danger-color);
}

.product-stock {
  margin-bottom: 1.5rem;
}

.stock-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.low-stock {
  color: var(--danger-color);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.product-actions button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.add-to-cart {
  background: var(--primary-color);
  color: white;
}

.add-to-cart:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.view-details {
  background: var(--light-bg-secondary);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

body.dark-mode .view-details {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.view-details:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.no-products,
.error-message {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.error-message {
  color: var(--danger-color);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
}

/* Responsive Design */
@media (max-width: 768px) {
  .products-container {
    padding: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .category-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .current-price,
  .discounted-price {
    font-size: 1.25rem;
  }
}

/* Google OAuth Button Styles */
.google-btn {
  width: 100%;
  padding: 0.875rem;
  background: white;
  color: #757575;
  border: 1px solid #dadce0;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body.dark-mode .google-btn {
  background: var(--dark-bg-secondary);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.2);
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

body.dark-mode .google-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.google-btn i {
  font-size: 1.1rem;
  color: #4285f4;
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

body.dark-mode .divider::before {
  background: rgba(255, 255, 255, 0.2);
}

.divider span {
  background: white;
  color: var(--text-muted);
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

body.dark-mode .divider span {
  background: var(--dark-bg);
}

.mood-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.mood-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

body.dark-mode .mood-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.mood-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.mood-item:hover::before {
  transform: scaleX(1);
}

.mood-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

body.dark-mode .mood-item:hover {
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.mood-item b {
  display: block;
  margin-bottom: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
  font-weight: 700;
}

.mood-item img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 3px solid var(--border-color);
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
}

.mood-item:hover img {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}


.form-group {
  margin-bottom: 1.75rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

body.dark-mode .form-group label {
  color: #cbd5e1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: white;
  color: var(--text-dark);
  font-family: inherit;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-msg {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Contact Section */
.contact-section {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .contact-section {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  background: var(--light-bg-secondary);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-slow);
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

body.dark-mode .contact-method {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.contact-method:hover::before {
  transform: scaleX(1);
}

.contact-method:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
}

body.dark-mode .contact-method:hover {
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.contact-method i {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform var(--transition-base);
}

.contact-method:hover i {
  transform: scale(1.15) rotate(5deg);
}

.contact-method h4 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-method p {
  margin: 0.5rem 0;
  color: var(--text-dark);
}

body.dark-mode .contact-method p {
  color: var(--text-light);
}

.contact-method p strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-form-section {
  background: var(--light-bg-secondary);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  transition: all var(--transition-base);
  border: 2px solid var(--border-color);
}

body.dark-mode .contact-form-section {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-form-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.contact-form-section select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  cursor: pointer;
}

body.dark-mode .contact-form-section select {
  background: #1f2937;
  color: var(--text-light);
}

.contact-form-section select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.success-msg {
  color: #065f46;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-radius: var(--radius-md);
  display: none;
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.success-msg.show {
  display: block;
  animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.response-info {
  background: var(--light-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--secondary-color);
  margin-top: 2rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

body.dark-mode .response-info {
  background: rgba(255, 255, 255, 0.03);
}

.response-info:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.response-info h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.response-info p {
  margin: 0.75rem 0;
  line-height: 1.6;
  color: var(--text-dark);
}

body.dark-mode .response-info p {
  color: var(--text-light);
}

.response-info strong {
  color: var(--primary-color);
}

/* Interactive Demo */
.interactive-demo {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .interactive-demo {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.interactive-demo h3 {
  margin-bottom: 1.5rem;
}

.interactive-demo button {
  margin: 0.5rem;
}

.demo-box {
  margin-top: 2rem;
  padding: 2.5rem 2rem;
  background: var(--light-bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-color);
  transition: all var(--transition-slow);
  font-size: 1.1rem;
  font-weight: 500;
}

body.dark-mode .demo-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
}

.demo-box.animate {
  animation: pulseBox 1s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--gradient-primary);
  color: white;
  border-style: solid;
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

@keyframes pulseBox {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
}

.login-box {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .login-box {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
}

.google-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-base);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

body.dark-mode .google-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

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

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

.google-btn:hover {
  background: var(--light-bg-secondary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

body.dark-mode .google-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.google-btn i {
  color: #ea4335;
  font-size: 1.2rem;
}

.divider {
  margin: 1.5rem 0;
  text-align: center;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  background: white;
  padding: 0 1rem;
  position: relative;
  color: var(--text-light);
}

body.dark-mode .divider span {
  background: var(--dark-bg);
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* Quiz Section */
.quiz-section {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .quiz-section {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quiz-question {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quiz-options button {
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

body.dark-mode .quiz-options button {
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

.quiz-options button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.quiz-options button:hover {
  background: var(--light-bg-secondary);
  border-color: var(--primary-color);
  transform: translateX(4px);
}

body.dark-mode .quiz-options button:hover {
  background: rgba(99, 102, 241, 0.1);
}

.quiz-options button:hover::before {
  transform: scaleY(1);
}

.quiz-options button.correct {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.quiz-options button.wrong {
  background: var(--danger-color);
  color: white;
  border-color: var(--danger-color);
}

.quiz-feedback {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

.quiz-feedback.correct {
  background: #d1fae5;
  color: #065f46;
}

.quiz-feedback.wrong {
  background: #fee2e2;
  color: #991b1b;
}

#quiz-progress {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

.certificate-section {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

body.dark-mode .certificate-section {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.certificate {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
}

.certificate-border {
  border: 8px double transparent;
  background-image: var(--gradient-primary), white;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
}

body.dark-mode .certificate-border {
  background-image: var(--gradient-primary), var(--dark-bg);
}

.certificate-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.certificate-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0.5rem 0;
}

.certificate-name {
  font-size: 2rem;
  color: var(--text-dark);
  margin: 1rem 0;
  font-style: italic;
}

.certificate-course {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1rem 0;
}

.certificate-score {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 1rem 0;
}

.certificate-date {
  margin-top: 2rem;
  color: var(--text-light);
}

.signature-line {
  margin-top: 3rem;
}

.signature-line p {
  margin: 0.5rem 0;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

body.dark-mode .filter-btn {
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  transform: scaleX(1);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid var(--border-color);
  position: relative;
}

body.dark-mode .product-card {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  z-index: 1;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.4s ease;
}

body.dark-mode .product-name {
  color: var(--text-light);
}

.product-category {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.35rem 0.85rem;
  background: var(--light-bg-secondary);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

body.dark-mode .tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.tag:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.mobile-app-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.mobile-section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.mobile-section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

.video-container {
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
  position: relative;
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.video-container:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
}

.app-demo-video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
}

.app-actions {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}

.btn-launch-app {
  background: var(--gradient-primary);
  color: white;
  padding: 1.25rem 3rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-launch-app:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
  color: white;
  text-decoration: none;
}

.btn-launch-app:active {
  transform: translateY(-2px) scale(1);
}

.btn-launch-app i {
  font-size: 1.3rem;
}

/* Special styling for Thunkable link */
.btn-launch-app[href*="thunkable"] {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.btn-launch-app[href*="thunkable"]:hover {
  box-shadow: 0 12px 32px rgba(255, 107, 107, 0.4);
}

/* App preview thumbnail */
.app-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  text-align: center;
}

body.dark-mode .app-preview {
  background: var(--dark-bg-secondary);
}

.app-preview img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.app-preview h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

body.dark-mode .app-preview h4 {
  color: #e2e8f0;
}

.app-preview p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-area {
    padding: 2rem 1.5rem;
  }

  .feature-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }

  #page-title {
    font-size: 1.25rem;
  }

  .drawer {
    width: 280px;
    left: -280px;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .content-area {
    padding: 1.5rem 1rem;
  }

  .profile-card,
  .profile-section,
  .login-box,
  .quiz-section,
  .certificate-section {
    padding: 2rem 1.5rem;
  }

  .certificate-border {
    padding: 2rem 1rem;
  }

  .certificate-title {
    font-size: 1.8rem;
  }

  .certificate-name {
    font-size: 1.5rem;
  }

  .mobile-app-container {
    padding: 1.5rem 1rem;
  }

  .mobile-section-title {
    font-size: 2rem;
  }

  .mobile-section-subtitle {
    font-size: 1rem;
  }

  .app-demo-video {
    max-height: 400px;
  }

  .btn-launch-app {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  .btn-launch-app i {
    font-size: 1.1rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .mood-gallery {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .feature-card i {
    font-size: 2.5rem;
  }

  .feature-card h3 {
    font-size: 1.25rem;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .classes-table thead th,
  .classes-table td {
    padding: 0.875rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   26. CSV Import Section
   ========================================================================== */

.import-container {
  max-width: 800px;
  margin: 0 auto;
}

.import-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.import-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.import-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.import-header i {
  font-size: 2rem;
}

.import-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.import-body {
  padding: 2rem;
}

.upload-area {
  border: 2px dashed var(--primary);
  border-radius: var(--border-radius-md);
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--bg-color);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.upload-area:hover,
.upload-area.dragover {
  background-color: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-dark);
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--text-color);
  gap: 1rem;
}

.upload-icon {
  font-size: 3rem;
  color: var(--primary);
}

/* Verification Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.data-table th {
  background-color: var(--surface-light);
  font-weight: 600;
  color: var(--primary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.05);
}