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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
  user-select: none;
}

.app-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Main Content */
.main-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.main-content .section {
  overflow-y: auto;
}

/* Loading Screen */
.loading-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(220, 38, 38, 0.3);
  border-top: 3px solid #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.loading-text {
  color: #888;
  font-size: 0.9rem;
}

/* Profile Setup */
.profile-setup {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  overflow-y: auto;
}

.profile-setup h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #dc2626;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #dc2626;
}

/* Social Media Inputs */
.social-media-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.social-input:hover .social-icon {
  color: rgba(255, 255, 255, 0.9);
}

.social-input:focus-within .social-icon {
  color: #dc2626;
}

.social-input input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
}

.social-input input:focus {
  outline: none;
  border-color: #dc2626;
}

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  padding: 0;
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.form-group select option {
  background: #2d2d2d;
  color: #ffffff;
}

/* Card Stack */
.card-stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  perspective: 1000px;
  pointer-events: none;
}

.profile-card {
  width: 90%;
  max-width: none;
  height: 70vh;
  background: #2d2d2d;
  border-radius: 20px;
  overflow: hidden;
  position: absolute;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  cursor: grab;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  backface-visibility: hidden;
  pointer-events: auto;
  will-change: transform, opacity;
  contain: layout style paint;
}

.profile-card.dragging {
  cursor: grabbing;
  transition: none;
}

.profile-card.top-card {
  z-index: 10;
  transform: scale(1) translateY(0) rotateY(0deg);
}

.profile-card.next-card {
  z-index: 9;
  transform: scale(0.95) translateY(20px);
  opacity: 0.8;
}

.profile-card.hidden-card {
  z-index: 8;
  transform: scale(0.9) translateY(40px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.profile-card.swiping-right {
  transform: translateX(100px) rotate(10deg) scale(1.02);
  opacity: 0.8;
}

.profile-card.swiping-left {
  transform: translateX(-100px) rotate(-10deg) scale(1.02);
  opacity: 0.8;
}

.profile-card.swipe-out-right {
  transform: translateX(150vw) rotate(30deg) scale(0.8);
  opacity: 0;
}

.profile-card.swipe-out-left {
  transform: translateX(-150vw) rotate(-30deg) scale(0.8);
  opacity: 0;
}

.card-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #333, #555);
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 4rem 1.5rem 4rem;
  color: white;
}

.card-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card-overlay .age {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.9;
  margin-left: 0.5rem;
}

.card-header {
  margin-bottom: 1rem;
}

.card-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.card-tag {
  background: rgba(220, 38, 38, 0.2);
  color: #dc2626;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

.card-tag.native-lang {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  font-weight: 600;
}

.country-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.card-bio {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
}

/* No Cards */
.no-cards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-cards-content {
  text-align: center;
  padding: 2rem;
}

.no-cards-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-cards-content h3 {
  margin-bottom: 1rem;
  color: #dc2626;
}

/* Action Buttons */
.action-buttons {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 60;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  pointer-events: auto;
}

.action-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(217, 73, 73, 0.3);
}

.action-btn:active {
  transform: scale(0.95);
}

.action-btn svg {
  stroke: #d94949;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: all 0.2s ease;
}

/* Dislike button - крестик */
.dislike-btn {
  background: #ffffff;
}

.dislike-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

/* Undo button - стрелка назад */
.undo-btn {
  background: #ffffff;
}

.undo-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

/* Detail button - три точки */
.detail-btn {
  background: #ffffff;
}

.detail-btn svg {
  fill: #d94949;
  stroke: none;
}

.detail-btn:hover svg {
  fill: #c54444;
}

/* Skip button - стрелка вперёд */
.skip-btn {
  background: #ffffff;
}

.skip-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

/* Like button - сердце */
.like-btn {
  background: #ffffff;
}

.like-btn svg {
  fill: none;
  stroke: #d94949;
}

.like-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

/* Bottom Navigation */
.bottom-nav {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.7rem;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #333;
}

.nav-btn {
  background: none;
  border: none;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-btn svg {
  stroke: #888;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: all 0.2s ease;
}

.nav-btn.active,
.nav-btn:hover {
  color: #d94949;
}

.nav-btn.active svg,
.nav-btn:hover svg {
  stroke: #d94949;
  stroke-width: 3;
}

.nav-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-btn.disabled:hover {
  color: #888;
}

.nav-btn.disabled:hover svg {
  stroke: #888;
}

.nav-btn span {
  font-size: 0.7rem;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.2s ease;
}

.nav-btn.active .nav-logo,
.nav-btn:hover .nav-logo {
  filter: grayscale(0) brightness(1);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #2d2d2d;
  border-radius: 20px;
  padding: 2rem;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

/* Profile Detail Modal */
.profile-detail-modal {
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}

.modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
  z-index: 20;
  border-radius: 0;
}

.modal-close {
  position: absolute;
  top: 5rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 30;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.05);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-body {
  overflow-y: auto;
  height: 100vh;
  width: 100%;
  position: relative;
}

/* Photo Carousel in Modal */
.profile-photo-carousel {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-photos {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}

.carousel-photo {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-photo.no-photo {
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #666;
}

.carousel-indicators {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 15;
}

.carousel-indicator {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.carousel-indicator.active {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Profile Information Section */
.profile-info-section {
  padding: 1.5rem;
  background: linear-gradient(to bottom, #2d2d2d 0%, #1a1a1a 100%);
  min-height: 40vh;
}

.profile-detail-modal .profile-info-section {
  background: #1a1a1a;
}

.profile-header {
  margin-bottom: 1.5rem;
  text-align: center;
  padding-top: 0.5rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.profile-age {
  font-size: 1.3rem;
  color: #cccccc;
}

.profile-details {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.detail-item {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: #999999;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.detail-value {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Modal Action Buttons */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.modal-action-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(217, 73, 73, 0.3);
}

.modal-action-btn:active {
  transform: scale(0.95);
}

.modal-action-btn svg {
  stroke: #d94949;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: all 0.2s ease;
}

.modal-dislike-btn {
  background: #ffffff;
}

.modal-dislike-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

.modal-like-btn {
  background: #ffffff;
}

.modal-like-btn svg {
  fill: none;
  stroke: #d94949;
}

.modal-like-btn:hover svg {
  stroke: #c54444;
  stroke-width: 3.5;
}

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

.match-celebration {
  animation: celebrationBounce 0.6s ease-out;
}

@keyframes celebrationBounce {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.match-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.match-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.match-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #dc2626;
}

.match-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-heart {
  font-size: 2rem;
  animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.match-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid #333;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Utility */
.hidden {
  display: none !important;
}

/* Section Styles */
.section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    overflow-y: auto;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.section-header p {
    color: #888888;
    font-size: 16px;
}

/* Likes Section */
.likes-grid, .matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888888;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.5;
}

/* Match Cards */
.match-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease;
}

.match-card:hover {
    transform: translateY(-2px);
}

.match-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.match-bio {
    font-size: 12px;
    color: #888888;
    margin-bottom: 12px;
    line-height: 1.4;
}

.match-actions {
    margin-top: 12px;
}

.btn-chat {
    font-size: 14px;
    padding: 8px 16px;
    min-width: 100px;
    text-decoration: none;
    display: inline-block;
}

/* Profile Section */
.profile-content {
    max-width: 400px;
    margin: 0 auto;
}

.profile-photo-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-placeholder {
    font-size: 32px;
    color: #666;
}

.profile-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    color: #888;
    font-weight: 500;
}

.info-item span {
    color: #ffffff;
    text-align: right;
}

/* Settings Section */
.settings-content {
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.settings-group {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.settings-group h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    color: #cccccc;
    font-weight: 500;
}

.setting-item input[type="number"],
.setting-item select {
    background: #333;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    width: 100px;
}

.setting-item input[type="number"]:focus,
.setting-item select:focus {
    outline: none;
    border-color: #dc2626;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Gender Preference Checkboxes */
.gender-preference-setting {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.gender-checkboxes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gender-checkboxes .checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.gender-checkboxes .checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.gender-checkboxes .checkbox-label span {
    color: #cccccc;
}

/* Age Range Slider */
.age-range-setting {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.age-range-setting label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ageRangeDisplay {
    color: #dc2626;
    font-weight: 600;
}

.age-range-slider {
    position: relative;
    height: 40px;
    width: 100%;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-range {
    position: absolute;
    height: 4px;
    background: #dc2626;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: 50%;
    transform: translateY(-50%);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.range-slider::-webkit-slider-thumb:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.range-slider::-moz-range-thumb:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.toggle-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Section Responsive adjustments */
@media (max-width: 480px) {
    .section {
        padding: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .likes-grid, .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    
    .settings-group {
        padding: 16px;
    }
}

/* Profile View Container */
.profile-view-container {
    max-width: 500px;
    margin: 0 auto;
    background: #2d2d2d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Own Profile Actions */
.own-profile-actions {
    padding: 1.5rem 0 0.5rem;
    display: flex;
    justify-content: center;
}

.btn-profile-settings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
}

.btn-profile-settings svg {
    flex-shrink: 0;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .action-buttons {
      bottom: 10%;
      gap: 0.8rem;
      padding: 0.6rem 1.2rem;
  }

  .action-btn {
      width: 55px;
      height: 55px;
  }

  .action-btn svg {
      width: 26px;
      height: 26px;
  }

  .profile-card {
      width: 95%;
      height: 75vh;
  }

  .profile-view-container {
      border-radius: 12px;
  }

  .btn-profile-settings {
      font-size: 0.9rem;
      padding: 0.8rem 1.5rem;
  }
}

/* Photo Upload Styles */
.photo-upload-section {
    margin-top: 12px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    max-width: 300px;
}

.photo-slot {
    aspect-ratio: 1;
    border: 2px dashed #555;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-slot:hover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.photo-slot.has-photo {
    border: 2px solid #dc2626;
    cursor: default;
}

.photo-slot.has-photo:hover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.photo-slot-placeholder {
    color: #888;
    font-size: 24px;
}

.photo-slot.has-photo .photo-slot-placeholder {
    display: none;
}

.photo-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.photo-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.photo-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc2626;
    font-size: 20px;
}

/* Photo drag handle for reordering */
.photo-drag-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    color: white;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: grab;
    z-index: 11;
    transition: all 0.2s ease;
    user-select: none;
    padding: 6px;
}

/* Визуальные полоски для drag handle */
.photo-drag-handle::before,
.photo-drag-handle::after {
    content: '';
    width: 14px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.photo-drag-handle:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.15);
}

.photo-drag-handle:hover::before,
.photo-drag-handle:hover::after {
    background: #fde047;
}

.photo-drag-handle:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Star button for making photo main */
.photo-star-btn {
    position: absolute;
    top: 4px;
    right: 32px;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fbbf24;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.photo-star-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.15);
}

.photo-star-btn.star-active {
    background: rgba(220, 38, 38, 0.9);
    color: #fde047;
    cursor: default;
}

.photo-star-btn.star-active:hover {
    transform: none;
}

/* Main photo badge */
.main-photo-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SortableJS animation classes */
.sortable-ghost {
    opacity: 0.4;
    background: rgba(220, 38, 38, 0.2);
    border: 2px dashed #dc2626 !important;
}

.sortable-chosen {
    cursor: grabbing;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.sortable-drag {
    opacity: 0.9;
    transform: rotate(2deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Улучшение для мобильных устройств */
@media (max-width: 768px) {
    .photo-drag-handle {
        width: 36px;
        height: 36px;
        touch-action: none;
    }

    .sortable-chosen {
        transform: scale(1.08);
    }
}

.photo-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ef4444;
    font-size: 12px;
    text-align: center;
}

.photo-upload-controls {
    text-align: center;
}

#addPhotoBtn {
    margin-bottom: 8px;
    width: 100%;
    max-width: 200px;
}

/* Photo grid responsive */
@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 240px;
    }
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu.active {
    pointer-events: all;
    opacity: 1;
}

.side-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.side-menu-content {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.active .side-menu-content {
    left: 0;
}

.side-menu-header {
    padding: 6rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.side-menu-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-avatar #sideMenuAvatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.avatar-placeholder {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.avatar-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.side-menu-user-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.side-menu-user-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.side-menu-items {
    padding: 1rem 0;
}

.side-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.side-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.side-menu-item:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

.side-menu-item svg {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.side-menu-item span {
    font-weight: 500;
}

/* Support Section */
.support-content {
    padding: 1rem;
}

.support-info {
    margin-bottom: 1.5rem;
}

.support-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.support-form {
    margin-bottom: 2rem;
}

.support-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.support-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.support-contacts h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.contact-item span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* New Settings Section */
.new-settings-content {
    padding: 1rem;
}

.new-settings-content .settings-group {
    margin-bottom: 2rem;
}

.new-settings-content .settings-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.document-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.document-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.document-link:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

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

/* Photo Carousel */
.photo-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    pointer-events: auto;
}

.photo-indicators {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.photo-indicator {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.photo-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.photo-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 5;
}

.photo-nav-left,
.photo-nav-right {
    flex: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .app-container {
        max-width: 100vw;
    }

    .main-content {
        padding-bottom: 80px;
    }

    .side-menu-content {
        width: 300px;
        left: -300px;
    }

    .photo-indicator {
        width: 20px;
        height: 2px;
    }

    .photo-indicators {
        top: 10px;
        gap: 4px;
    }

    .carousel-indicator {
        width: 20px;
        height: 2px;
    }

    .carousel-indicators {
        top: 50px;
        gap: 4px;
    }
}

/* Moderation Notification */
.moderation-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 90%;
    width: 400px;
    opacity: 1;
    transition: opacity 0.3s ease;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.moderation-notification-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.moderation-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.moderation-text {
    flex: 1;
}

.moderation-text strong {
    display: block;
    font-size: 16px;
    color: #fbbf24;
    margin-bottom: 8px;
}

.moderation-text p {
    font-size: 14px;
    color: #d1d5db;
    margin: 4px 0;
}

.moderation-hint {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 8px !important;
}

.moderation-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.moderation-close:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .moderation-notification {
        top: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }

    .moderation-notification-content {
        padding: 15px;
        gap: 10px;
    }

    .moderation-icon {
        font-size: 24px;
    }

    .moderation-text strong {
        font-size: 14px;
    }

    .moderation-text p {
        font-size: 12px;
    }

    .moderation-hint {
        font-size: 11px !important;
    }
}

/* Moderation Status Badge */
.moderation-status-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.moderation-status-badge.hidden {
    display: none;
}

.moderation-status-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.moderation-status-icon {
    font-size: 24px;
    line-height: 1;
}

.moderation-status-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.moderation-status-details {
    margin-top: 8px;
    padding-left: 36px;
}

.moderation-status-details small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Status-specific styles */
.moderation-status-badge.status-pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.moderation-status-badge.status-pending .moderation-status-text {
    color: #fbbf24;
}

.moderation-status-badge.status-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.moderation-status-badge.status-active .moderation-status-text {
    color: #22c55e;
}

.moderation-status-badge.status-rejected {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.moderation-status-badge.status-rejected .moderation-status-text {
    color: #ef4444;
}

.moderation-status-badge.status-suspended {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%);
    border-color: rgba(107, 114, 128, 0.3);
}

.moderation-status-badge.status-suspended .moderation-status-text {
    color: #6b7280;
}

@media (max-width: 768px) {
    .moderation-status-badge {
        padding: 10px 14px;
        margin-bottom: 12px;
    }

    .moderation-status-icon {
        font-size: 20px;
    }

    .moderation-status-text {
        font-size: 14px;
    }

    .moderation-status-details {
        padding-left: 32px;
    }

    .moderation-status-details small {
        font-size: 12px;
    }
}

/* Moderation Pending Screen */
.moderation-pending-screen {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.moderation-pending-content {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
}

.moderation-pending-content .moderation-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.moderation-pending-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.moderation-pending-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.moderation-actions {
    margin-top: 2rem;
}

.moderation-actions .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .moderation-pending-content {
        padding: 1.5rem;
    }

    .moderation-pending-content .moderation-icon {
        font-size: 4rem;
    }

    .moderation-pending-content h2 {
        font-size: 1.5rem;
    }

    .moderation-pending-content p {
        font-size: 0.9rem;
    }

    .moderation-actions .btn {
        min-width: 150px;
    }
}

/* ===== STORIES MODAL ===== */
.stories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.stories-modal.hidden {
    display: none;
    opacity: 0;
}

.stories-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Progress bars */
.stories-progress-container {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 10001;
    padding: 0 10px;
}

.stories-progress-bar {
    flex: 1;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stories-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(255, 255, 255, 0.9);
    transition: width 0.1s linear;
}

.stories-progress-bar.active::after {
    animation: progressBar 5s linear forwards;
}

.stories-progress-bar.completed::after {
    width: 100%;
}

@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Skip button */
.stories-skip-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10002;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stories-skip-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(217, 73, 73, 0.3);
}

.stories-skip-btn:active {
    transform: scale(0.95);
}

.stories-skip-btn svg {
    stroke: #d94949;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Stories content */
.stories-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stories-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Navigation areas */
.stories-nav-area {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    z-index: 10000;
    cursor: pointer;
}

.stories-nav-prev {
    left: 0;
}

.stories-nav-next {
    right: 0;
}

/* Touch feedback removed - no visual feedback on tap */

/* Mobile optimizations */
@media (max-width: 768px) {
    .stories-progress-container {
        top: 15px;
        gap: 3px;
    }

    .stories-progress-bar {
        height: 2px;
    }

    .stories-skip-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .stories-skip-btn svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.5;
    }
}

/* Prevent scrolling when stories are open */
body.stories-open {
    overflow: hidden;
}