/* CSS Variables - Thematic Color Palette */
:root {
  /* Primary Colors */
  --color-spark: #e63946; /* Ярко-красный */
  --paint-smooth: #457b9d; /* Глубокий синий */
  --tap-glow: #a8dadc; /* Мягкий бирюзовый */
  --shade-soft: #f1faee; /* Светло-мятный */
  --brush-warm: #ffb703; /* Янтарный */
  --canvas-light: #f8f9fa; /* Светло-серый */
  --ink-dark: #212529; /* Темно-угольный */
  --paper-white: #ffffff; /* Чистый белый */

  /* Secondary Colors */
  --border-soft: #dee2e6; /* Светло-серый */
  --text-primary: #001219; /* Почти черный */
  --text-secondary: #495057; /* Темно-серый */

  /* Gradient Colors */
  --gradient-purple-start: #7209b7; /* Фиолетовый */
  --gradient-purple-end: #3a0ca3; /* Темно-синий */
  --gradient-gray-start: #ffffff; /* Белый */
  --gradient-gray-end: #e9ecef; /* Светло-серый */

  /* Shadow Colors (новые базовые цвета для теней) */
  --shadow-gentle: rgba(33, 37, 41, 0.1);
  --shadow-deep: rgba(33, 37, 41, 0.2);
  --shadow-darker: rgba(33, 37, 41, 0.3);
  --shadow-darkest: rgba(33, 37, 41, 0.4);
  --shadow-black-5: rgba(33, 37, 41, 0.5);
  --shadow-black-6: rgba(33, 37, 41, 0.6);
  --shadow-black-7: rgba(33, 37, 41, 0.7);
  --shadow-black-8: rgba(33, 37, 41, 0.8);
  --shadow-black-9: rgba(33, 37, 41, 0.9);

  /* Transparent Colors (на основе новых цветов) */
  --white-90: rgba(255, 255, 255, 0.9);
  --white-95: rgba(255, 255, 255, 0.95);
  --white-100: rgba(255, 255, 255, 1);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-05: rgba(255, 255, 255, 0.05);

  /* Новые прозрачные цвета для --color-spark */
  --spark-10: rgba(230, 57, 70, 0.1);
  --spark-20: rgba(230, 57, 70, 0.2);
  --spark-30: rgba(230, 57, 70, 0.3);

  /* Новые прозрачные цвета для --ink-dark */
  --ink-80: rgba(33, 37, 41, 0.8);
  --ink-30: rgba(33, 37, 41, 0.3);

  /* Gradients */
  --gradient-sunset: linear-gradient(
    135deg,
    var(--color-spark),
    var(--paint-smooth)
  );
  --gradient-nature: linear-gradient(
    135deg,
    var(--tap-glow),
    var(--gradient-purple-end)
  );
  --gradient-creative: linear-gradient(
    135deg,
    var(--brush-warm),
    var(--color-spark)
  );
  --gradient-tools: linear-gradient(
    135deg,
    var(--gradient-purple-start),
    var(--gradient-purple-end)
  );
  --gradient-hero: linear-gradient(
    135deg,
    var(--gradient-purple-start) 0%,
    var(--gradient-purple-end) 100%
  );
  --gradient-gray: linear-gradient(
    135deg,
    var(--gradient-gray-start),
    var(--gradient-gray-end)
  );

  /* Overlay Gradients */
  --overlay-dark: linear-gradient(
    135deg,
    var(--shadow-black-7) 0%,
    var(--shadow-black-5) 50%,
    var(--shadow-black-7) 100%
  );
  --overlay-light: linear-gradient(
    135deg,
    var(--white-10) 0%,
    var(--white-05) 100%
  );
  --overlay-spark: linear-gradient(135deg, var(--spark-10), var(--spark-10));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--canvas-light);
  overflow-x: hidden;
}

/* Typography */
.brush-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink-dark);
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shade-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Layout Containers */
.splash-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.canvas-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brush-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Header Styles */
.paint-header {
  background: var(--paper-white);
  box-shadow: 0 2px 10px var(--shadow-gentle);
  position: relative;
  z-index: 1000;
  padding: 1rem 0;
}

.paint-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink-dark);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.logo-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.shade-navigation {
  display: flex;
  align-items: center;
}

.nav-left {
  flex: 1;
  justify-content: flex-start;
}

.nav-right {
  flex: 1;
  justify-content: flex-end;
}

.logo-zone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.nav-palette {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-spark);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-sunset);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-zone {
  display: none;
}

.burger-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--ink-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper-white);
  z-index: 999;
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.mobile-nav-palette {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
  padding: 1rem 0;
  display: block;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.mobile-nav-link:hover {
  color: var(--color-spark);
  border-bottom-color: var(--color-spark);
}

/* Hero Section */
.canvas-hero {
  background: var(--gradient-hero);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.easel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.palette-card {
  background: var(--white-95);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: 0 20px 40px var(--shadow-gentle);
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  flex-direction: row-reverse;
}

.paint-content {
  flex: 1;
}

.paint-content h2 {
  font-size: 2.5rem;
  color: var(--ink-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.paint-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.paint-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paint-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.canvas-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-deep);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-preview-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-darker);
}

.image-placeholder {
  background: linear-gradient(135deg, var(--color-spark), var(--paint-smooth));
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  color: white;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--shadow-deep);
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.placeholder-text {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Section Styles */
.palette-showcase,
.tutorial-section,
.artist-reviews,
.color-worlds,
.unlockables-tools {
  padding: 4rem 0;
}

/* Paint Gradient Card */
.paint-gradient-card {
  background: var(--gradient-sunset);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 40px var(--shadow-gentle);
  color: var(--paper-white);
  text-align: center;
}

.brush-header {
  margin-bottom: 3rem;
}

.palette-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--paper-white);
  font-weight: 700;
}

.paint-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--white-90);
  max-width: 800px;
  margin: 0 auto;
}

.color-cards-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.color-cards-row .paint-card {
  background: var(--white-95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  max-width: 400px;
  text-align: center;
  color: var(--ink-dark);
}

.color-cards-row .paint-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-deep);
}

.color-cards-row .paint-card h3 {
  color: var(--ink-dark);
}

.color-cards-row .paint-card p {
  color: var(--text-secondary);
}

/* Tutorial Section */
.tutorial-background {
  background-image: url("../public/paint-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  margin: 0 1rem;
}

.tutorial-overlay {
  background: var(--overlay-dark);
  padding: 4rem 2rem;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.tutorial-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--paper-white);
  font-weight: 700;
}

.tutorial-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.tutorial-cards .instruction-card {
  background: var(--white-95);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 25px var(--shadow-deep);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  text-align: center;
  color: var(--ink-dark);
}

.tutorial-cards .instruction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-darker);
}

.tutorial-cards .instruction-card h3 {
  color: var(--ink-dark);
}

.tutorial-cards .instruction-card p {
  color: var(--text-secondary);
}

/* Artist Reviews Section */
.reviews-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink-dark);
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive grid for reviews */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.reviews-grid .feedback-card {
  background: var(--gradient-sunset);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 25px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: var(--paper-white);
  position: relative;
  overflow: hidden;
}

.reviews-grid .feedback-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-light);
  pointer-events: none;
}

.reviews-grid .feedback-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-black-5);
}

.reviews-grid .feedback-stars {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.reviews-grid .feedback-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--paper-white);
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.reviews-grid .feedback-author {
  text-align: center;
  color: var(--white-90);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Color Worlds Section */
.worlds-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink-dark);
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.worlds-cards-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.world-gradient-card {
  background: var(--gradient-nature);
  border-radius: 25px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 35px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  max-width: 550px;
  color: var(--paper-white);
  position: relative;
  overflow: hidden;
}

.world-gradient-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-light);
  pointer-events: none;
}

.world-gradient-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-black-5);
}

.world-card-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--paper-white);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.world-card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--white-90);
  position: relative;
  z-index: 1;
}

.world-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.world-tag {
  background: var(--white-20);
  border: 1px solid var(--white-30);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paper-white);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.world-tag:hover {
  background: var(--white-30);
  transform: translateY(-2px);
}

/* Other Section Titles */
.tools-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink-dark);
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid Layouts */
.feature-grid,
.instruction-grid,
.feedback-grid,
.worlds-grid,
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature-card,
.world-card {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.tool-card {
  background: var(--gradient-tools);
  border-radius: 25px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  text-align: center;
  color: var(--paper-white);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-light);
  pointer-events: none;
}

.feature-card:hover,
.world-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-deep);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-black-5);
}

.brush-icon,
.world-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tool-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  z-index: 1;
}

.feature-card h3,
.world-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink-dark);
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--paper-white);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.feature-card p,
.world-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.tool-card p {
  color: var(--white-90);
  line-height: 1.6;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Footer Styles */
.canvas-footer {
  background: var(--ink-dark);
  color: var(--paper-white);
  padding: 3rem 0 1rem;
  margin-top: auto;
}

.footer-palette {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 2rem;
  justify-content: space-between;
}

.footer-block {
  flex: 1;
  min-width: 250px;
  background: var(--white-10);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid var(--white-20);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--paint-smooth);
}

.footer-list {
  list-style: none;
}

.footer-list-item {
  margin-bottom: 0.5rem;
}

.footer-link-brush {
  color: var(--paper-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link-brush:hover {
  color: var(--paint-smooth);
}

.footer-bottom-brush {
  border-top: 1px solid var(--text-secondary);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.footer-copyright-text {
  color: var(--paper-white);
  font-size: 0.9rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.footer-contact-icon {
  font-size: 1.2rem;
}

.footer-contact-link {
  color: var(--paper-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--paint-smooth);
}

.footer-contact-text {
  color: var(--paper-white);
}

/* Form Styles */
.paint-form {
  background: var(--paper-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-gentle);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ink-dark);
  text-align: center;
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-soft);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-spark);
}

.form-textarea {
  resize: none;
}

.submit-button {
  background: var(--gradient-sunset);
  color: var(--paper-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-deep);
}

/* Content Cards */
.feedback-card,
.update-card,
.diary-card {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-gentle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.feedback-card:hover,
.update-card:hover,
.diary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-deep);
}

.instruction-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.update-card h3,
.diary-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink-dark);
  text-align: center;
}

.update-card p,
.diary-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.feedback-stars {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feedback-text {
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-primary);
}

.feedback-author {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 500;
}

.update-date {
  color: var(--color-spark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.diary-author {
  color: var(--paper-white);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.error-message {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem;
  background: var(--paper-white);
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-gentle);
}

/* Contact Form Styles */
.contact-form-zone {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px var(--shadow-gentle);
  transition: all 0.3s ease;
}

.contact-form-zone:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow-deep);
}

.map-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ink-dark);
  text-align: center;
}

/* Legal Pages */
.legal-text {
  background: var(--paper-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-gentle);
  line-height: 1.8;
}

.legal-text h2 {
  color: var(--ink-dark);
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
}

.legal-text h3 {
  color: var(--ink-dark);
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.25rem;
}

.legal-text p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.disclaimer-date,
.cookies-date,
.privacy-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 2rem;
  text-align: center;
}

/* Policy Pages Styles */
.policy-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.policy-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-sunset);
  opacity: 0.1;
}

.policy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.1),
    rgba(255, 217, 61, 0.1)
  );
}

.policy-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1rem;
}

.policy-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--ink-dark);
  margin-bottom: 1rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.policy-content {
  padding: 4rem 0;
  background: var(--canvas-light);
}

.policy-cards-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.policy-card {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow-gentle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.policy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-nature);
  border-radius: 20px 20px 0 0;
}

.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-deep);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.policy-card-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-nature);
  border-radius: 15px;
  color: var(--paper-white);
  font-weight: bold;
}

.policy-card h2 {
  color: var(--ink-dark);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.policy-card-content {
  color: var(--text-primary);
}

.policy-card-content h3 {
  color: var(--text-secondary);
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.policy-card-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.policy-card-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.policy-card-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.policy-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .shade-navigation {
    display: none;
  }

  .burger-zone {
    display: block;
  }

  .logo-zone {
    position: static;
    transform: none;
  }

  .brush-container {
    justify-content: space-between;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu {
    top: 70px;
  }

  /* Hero responsive */
  .canvas-hero {
    padding: 2rem 0;
    min-height: auto;
  }

  .palette-card {
    flex-direction: column-reverse;
    padding: 2rem;
    gap: 2rem;
    text-align: center;
  }

  .paint-content h2 {
    font-size: 2rem;
  }

  .paint-content p {
    font-size: 1rem;
  }

  .paint-features {
    align-items: center;
  }

  .paint-feature {
    justify-content: center;
  }

  .app-preview-image {
    max-width: 90%;
    border-radius: 10px;
  }

  .image-placeholder {
    min-height: 200px;
    padding: 2rem;
  }

  .placeholder-icon {
    font-size: 3rem;
  }

  .placeholder-text {
    font-size: 1rem;
  }

  .footer-palette {
    flex-direction: column-reverse;
    text-align: center;
  }

  .contact-grid {
    flex-direction: column;
  }

  /* Paint Gradient Card responsive */
  .paint-gradient-card {
    padding: 2rem;
  }

  .paint-description {
    font-size: 1rem;
  }

  .color-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .color-cards-row .paint-card {
    max-width: 100%;
  }

  /* Tutorial Section responsive */
  .tutorial-background {
    margin: 0 0.5rem;
  }

  .tutorial-overlay {
    padding: 2rem 1rem;
    min-height: 400px;
  }

  .tutorial-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .tutorial-cards .instruction-card {
    max-width: 100%;
    min-width: auto;
  }

  /* Artist Reviews responsive */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reviews-grid .feedback-card {
    padding: 2rem 1.5rem;
  }

  /* Color Worlds responsive */
  .worlds-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .world-gradient-card {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .world-tags {
    justify-content: center;
  }

  .feature-grid,
  .worlds-grid,
  .tools-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-card,
  .world-card,
  .tool-card {
    min-width: auto;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .canvas-container,
  .brush-container {
    padding: 0 0.5rem;
  }

  .brush-title {
    font-size: 1.75rem;
  }

  .shade-subtitle {
    font-size: 0.9rem;
  }

  .feature-card,
  .world-card,
  .tool-card {
    padding: 1.5rem;
  }
}

/* News Hero Section Styles */
.news-hero {
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-creative);
  background-size: 400% 400%;
  animation: colorShift 8s ease infinite;
}

.news-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
}

.news-hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 0;
  width: 100%;
  height: 100%;
}

.news-hero-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.news-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--paper-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.news-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--paper-white);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.news-hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.news-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-feature:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.news-feature span:last-child {
  color: var(--paper-white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* News Hero Responsive */
@media (max-width: 1024px) {
  .news-hero-text {
    max-width: 100%;
    padding: 0 2rem;
  }

  .news-hero-features {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .news-hero {
    min-height: 60vh;
    padding: 2rem 0;
  }

  .news-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
  }

  .news-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
  }

  .news-hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .news-feature {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .news-hero {
    min-height: 60vh;
  }

  .news-hero-content {
    padding: 2rem 1rem;
  }

  .news-hero-text {
    padding: 0 1rem;
  }

  .news-hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .news-hero-subtitle {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  }

  .news-feature {
    max-width: 280px;
    padding: 0.5rem 0.75rem;
  }
}

/* News Section Styles */
.news-updates-section,
.news-diaries-section {
  padding: 4rem 0;
}

.news-updates-section {
  background: var(--canvas-light);
}

.news-updates-panel {
  background: var(--gradient-creative);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow-deep);
}

.news-updates-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  pointer-events: none;
}

.news-updates-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.news-updates-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--paper-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.news-updates-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-diaries-section {
  background: var(--canvas-light);
}

.news-diaries-panel {
  background: var(--gradient-nature);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow-deep);
}

.news-diaries-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  pointer-events: none;
}

.news-diaries-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.news-diaries-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--paper-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.news-diaries-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-updates-layout,
.news-diaries-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.news-updates-layout {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.news-diaries-layout {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 800px;
}

@media (min-width: 1200px) {
  .news-updates-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-diaries-layout {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

.update-card,
.diary-card {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px var(--shadow-gentle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.diary-card {
  background: url("../public/art-image.jpg") center/cover no-repeat;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper-white);
  overflow: hidden;
}

.diary-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
}

.diary-card > * {
  position: relative;
  z-index: 2;
}

.update-card::before,
.diary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-sunset);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.update-card:hover,
.diary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-deep);
}

.update-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.diary-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.diary-card:hover::after {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.update-card:hover::before,
.diary-card:hover::before {
  transform: scaleX(1);
}

.update-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.update-card .update-date {
  color: var(--color-spark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.update-card h3,
.diary-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.update-card h3 {
  color: var(--ink-dark);
  background: linear-gradient(135deg, var(--color-spark), var(--brush-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.update-card p,
.diary-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.update-card p {
  color: var(--text-primary);
  font-weight: 500;
}

.diary-author {
  font-size: 0.9rem;
  color: var(--paper-white);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.diary-card h3 {
  color: var(--paper-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.diary-card p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  margin-bottom: 0;
}

/* News Section Responsive */
@media (max-width: 768px) {
  .news-updates-section,
  .news-diaries-section {
    padding: 3rem 0;
  }

  .news-updates-panel {
    padding: 2rem 1rem;
    margin: 0 1rem;
  }

  .news-updates-header {
    margin-bottom: 2rem;
  }

  .news-updates-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .news-updates-description {
    font-size: 1rem;
  }

  .news-diaries-panel {
    padding: 2rem 1rem;
    margin: 0 1rem;
  }

  .news-diaries-header {
    margin-bottom: 2rem;
  }

  .news-diaries-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .news-diaries-description {
    font-size: 1rem;
  }

  .news-updates-layout,
  .news-diaries-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .update-card,
  .diary-card {
    padding: 1.5rem;
  }

  .update-card h3,
  .diary-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .news-updates-panel {
    padding: 1.5rem 0.5rem;
    margin: 0 0.5rem;
  }

  .news-diaries-panel {
    padding: 1.5rem 0.5rem;
    margin: 0 0.5rem;
  }

  .news-updates-layout,
  .news-diaries-layout {
    padding: 0;
  }

  .update-card,
  .diary-card {
    padding: 1.25rem;
  }

  .diary-card {
    min-height: 250px;
  }
}

/* Contact Form & Map Section */
.contact-hero-section {
  padding: 4rem 0;
  background: var(--canvas-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-panel {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px var(--shadow-gentle);
  transition: all 0.3s ease;
}

.contact-map-panel {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px var(--shadow-gentle);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-map-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow-deep);
}

.map-container {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 1rem;
}

.map-container iframe {
  border-radius: 15px;
  min-height: 400px;
}

/* Contact Info Cards Section */
.contact-info-section {
  padding: 4rem 0;
  background: var(--gradient-nature);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}

.contact-cards-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--paper-white);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-info-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.contact-info-panel {
  background: var(--paper-white);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 40px var(--shadow-deep);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-sunset);
  border-radius: 20px 20px 0 0;
}

.contact-info-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow-deep);
}

.contact-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contact-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-card-details {
  margin-top: 1rem;
}

.contact-card-link {
  color: var(--color-spark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card-link:hover {
  color: var(--brush-warm);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 2rem 0;
  }

  .contact-form-panel,
  .contact-map-panel {
    padding: 2rem;
  }

  .contact-info-section {
    padding: 2rem 0;
  }

  .contact-info-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info-panel {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-form-panel,
  .contact-map-panel {
    padding: 1.5rem;
  }

  .contact-info-panel {
    padding: 1.5rem;
  }

  .contact-card-icon {
    font-size: 2.5rem;
  }

  .contact-card-title {
    font-size: 1.3rem;
  }
}

/* Contact Modal Styles */
.contact-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.8),
    rgba(255, 107, 157, 0.3)
  );
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal-content {
  background: var(--paper-white);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border-radius: 25px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 107, 157, 0.2);
  min-width: 350px;
  max-width: 90vw;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.contact-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-sunset);
  border-radius: 25px 25px 0 0;
}

#contact-modal-message {
  font-size: 1.3rem;
  color: var(--ink-dark);
  margin-top: 2rem;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Простая галочка */
.contact-modal-content::after {
  content: "✓";
  font-size: 4rem;
  display: block;
  margin: 1rem auto 1.5rem auto;
  color: var(--tap-glow);
  font-weight: bold;
  animation: checkmarkAppear 0.6s ease-out 0.3s both;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes birdFly {
  0% {
    transform: scale(0) translateY(20px);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes checkmarkAppear {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Анимация появления модалки */
.contact-modal {
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Адаптивность для модалки */
@media (max-width: 768px) {
  .contact-modal-content {
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 300px;
    margin: 1rem;
  }

  #contact-modal-message {
    font-size: 1.1rem;
  }

  .contact-modal-content::after {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .contact-modal-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 280px;
  }

  #contact-modal-message {
    font-size: 1rem;
  }

  .contact-modal-content::after {
    font-size: 2.5rem;
  }
}

/* Loader Spinner for Button */
.submit-button {
  position: relative;
  overflow: hidden;
}

.button-spinner {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border: 2.5px solid var(--color-spark);
  border-top: 2.5px solid var(--paint-smooth);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 0.5em;
}

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

/* Policy Pages Responsive */
@media (max-width: 768px) {
  .policy-hero {
    min-height: 50vh;
  }

  .policy-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .policy-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .policy-cards-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .policy-card {
    padding: 1.5rem;
  }

  .policy-card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .policy-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .policy-card h2 {
    font-size: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .policy-hero {
    min-height: 40vh;
  }

  .policy-hero-content {
    padding: 1.5rem 1rem;
  }

  .policy-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .policy-hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }

  .policy-content {
    padding: 2rem 0;
  }

  .policy-cards-layout {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .policy-card {
    padding: 1rem;
  }

  .policy-card-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .policy-card h2 {
    font-size: 1.1rem;
  }

  .policy-card-content h3 {
    font-size: 1rem;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-sunset);
  border: none;
  border-radius: 20%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--paper-white);
  box-shadow: 0 4px 15px var(--shadow-deep);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-deep);
  background: var(--gradient-creative);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top::before {
  content: "";
  background-image: url("../public/up-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .scroll-to-top::before {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .scroll-to-top::before {
    width: 16px;
    height: 16px;
  }
}

/* Cookie Bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper-white);
  box-shadow: 0 -4px 20px var(--shadow-deep);
  padding: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--color-spark);
}

.cookie-bar.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--color-spark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: var(--brush-warm);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-accept-btn {
  background: var(--gradient-sunset);
  color: var(--paper-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-gentle);
}

.cookie-accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-deep);
  background: var(--gradient-creative);
}

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

.cookie-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: var(--color-spark);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-accept-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cookie-bar {
    padding: 0.75rem;
  }

  .cookie-text {
    font-size: 0.8rem;
  }

  .cookie-accept-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
