/* Modern Home Page Styles */

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #0f0f23;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

.home-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 25px 20px 15px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-features {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(20deg);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Floating Shapes */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-gradient);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary-gradient);
  top: 50%;
  right: -50px;
  animation-delay: -7s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--success-gradient);
  bottom: 20%;
  left: 10%;
  animation-delay: -14s;
}

@keyframes float {

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

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Games Section */
.games-section {
  flex: 1;
  padding: 15px 20px 50px;
}

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 15px 0;
}

/* Game Card */
.game-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.game-card:hover::before {
  opacity: 0.1;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(102, 126, 234, 0.5);
}

.game-card-inner {
  position: relative;
  z-index: 1;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 350px;
}

/* Game Icon */
.game-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 18px;
  color: white;
  font-size: 2.2rem;
  transition: transform 0.4s ease;
}

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

.game-icon svg {
  width: 50px;
  height: 50px;
  color: white;
}

/* Game Content */
.game-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.game-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* Feature Tags */
.game-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.feature-tag i {
  font-size: 0.9rem;
}

/* Game Button */
.game-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.game-button:hover {
  transform: translateX(5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.game-button i {
  transition: transform 0.3s ease;
}

.game-button:hover i {
  transform: translateX(5px);
}

/* Coming Soon Cards */
.game-card.coming-soon {
  opacity: 0.6;
  cursor: default;
}

.game-card.coming-soon:hover {
  transform: translateY(-5px);
}

.game-card.coming-soon .game-icon {
  background: linear-gradient(135deg, #667eea50 0%, #764ba250 100%);
}

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

/* Footer */
.footer {
  padding: 35px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.install-app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(102, 126, 234, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 25px;
  color: #a8b5ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.install-app-link:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.install-app-link i {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 20px 20px 12px;
  }

  .games-section {
    padding: 12px 20px 35px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .game-card-inner {
    padding: 25px 18px;
    min-height: 300px;
  }

  .section-title {
    margin-bottom: 15px;
  }

  .footer-content {
    gap: 12px;
  }

  .install-app-link {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

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

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

.game-card {
  animation: fadeInUp 0.6s ease forwards;
}

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

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

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

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

.game-card:nth-child(5) {
  animation-delay: 0.5s;
}

.game-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* AI Tag Highlight */
.feature-tag.ai-tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: rgba(102, 126, 234, 0.4);
  color: #a8b5ff;
  font-weight: 600;
  animation: ai-pulse 2s ease-in-out infinite;
}

.feature-tag.ai-tag i {
  color: #667eea;
}

@keyframes ai-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }

  50% {
    box-shadow: 0 0 10px 2px rgba(102, 126, 234, 0.2);
  }
}

.game-card:hover .feature-tag.ai-tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  border-color: rgba(102, 126, 234, 0.6);
  transform: scale(1.05);
}

/* PWA Install Banner */
.pwa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-gradient);
  box-shadow: 0 -4px 20px rgba(102, 126, 234, 0.3);
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pwa-banner-content>i {
  font-size: 32px;
  color: white;
}

.pwa-banner-text {
  flex: 1;
  color: white;
}

.pwa-banner-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 700;
}

.pwa-banner-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.pwa-install-button {
  background: white;
  color: #667eea;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pwa-install-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.pwa-close-button {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.pwa-close-button:hover {
  opacity: 1;
}

/* Responsive PWA Banner */
@media (max-width: 768px) {
  .pwa-banner-content {
    padding: 12px 15px;
    gap: 10px;
  }

  .pwa-banner-content>i {
    font-size: 24px;
  }

  .pwa-banner-text strong {
    font-size: 16px;
  }

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

  .pwa-install-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .pwa-banner-content {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .pwa-banner-text {
    flex-basis: 100%;
  }

  .pwa-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

/* Search Container */
.search-container {
  max-width: 600px;
  margin: 0 auto 40px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  padding: 0 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-box:focus-within {
  border-color: rgba(102, 126, 234, 0.6);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
  color: #667eea;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 16px 0;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.clear-search {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.clear-search:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.search-results-count {
  text-align: center;
  margin-top: 15px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  min-height: 20px;
}

/* Hidden game cards */
.game-card.hidden {
  display: none;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.no-results i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.no-results p {
  font-size: 1rem;
}

/* Search highlight */
.game-card.search-match {
  animation: searchPulse 0.5s ease;
}

@keyframes searchPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
  }

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

/* Responsive Search */
@media (max-width: 768px) {
  .search-container {
    margin-bottom: 30px;
  }

  .search-box {
    padding: 0 16px;
  }

  .search-input {
    padding: 14px 0;
    font-size: 0.95rem;
  }

  .search-icon {
    font-size: 1rem;
  }
}

/* Feedback Section */
.feedback-section {
  max-width: 700px;
  margin: 0 auto 35px;
  padding: 40px 35px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.feedback-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feedback-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 35px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  position: relative;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-secondary);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  padding-bottom: 35px;
}

.char-counter {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  pointer-events: none;
  background: rgba(15, 15, 35, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
}

.feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  align-self: center;
}

.feedback-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-submit i {
  font-size: 1rem;
}

.feedback-status {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.3s ease;
}

.feedback-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #81c784;
}

.feedback-status.error {
  display: block;
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #e57373;
}

.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 40px 0 30px;
}

/* Responsive Feedback Form */
@media (max-width: 768px) {
  .feedback-section {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feedback-title {
    font-size: 1.5rem;
  }

  .feedback-submit {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* Logo Styles */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.3));
  transition: transform 0.3s ease;
  /* Обрезаем пустое пространство */
  object-position: center;
  padding: 0;
  margin: 0;
}

.hero-logo:hover {
  transform: scale(1.05) rotate(2deg);
}

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

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

@media (max-width: 768px) {
  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .logo-container {
    margin-bottom: 15px;
  }
}

/* Debugging Badge for Games in Development */
.game-card.debugging {
  border-color: rgba(245, 166, 35, 0.5);
  position: relative;
}

.game-card.debugging::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(245, 166, 35, 0.4);
  border-radius: 20px;
  pointer-events: none;
}

.debugging-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f5a623, #f39c12);
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
  animation: debugPulse 2s ease-in-out infinite;
}

.debugging-badge i {
  font-size: 0.8rem;
}

@keyframes debugPulse {

  0%,
  100% {
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
  }

  50% {
    box-shadow: 0 2px 15px rgba(245, 166, 35, 0.7);
  }
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
}

.footer-links a i {
  font-size: 0.85rem;
}

/* Privacy Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-container {
  background: linear-gradient(165deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-header {
  text-align: center;
  padding: 30px 30px 20px;
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
}

.privacy-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.about-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

.modal-body {
  padding: 0 30px 30px;
}

.privacy-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.privacy-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-item i {
  font-size: 1.5rem;
  color: #27ae60;
  flex-shrink: 0;
  margin-top: 3px;
}

.privacy-item h4 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1rem;
}

.privacy-item p {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-footer {
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(39, 174, 96, 0.2);
  text-align: center;
}

.privacy-footer p {
  margin: 0;
  color: #2ecc71;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .modal-container {
    border-radius: 15px;
  }

  .modal-header {
    padding: 25px 20px 15px;
  }

  .modal-body {
    padding: 0 20px 25px;
  }

  .privacy-item,
  .about-item {
    padding: 12px;
  }

  .privacy-item i,
  .about-item i {
    font-size: 1.3rem;
  }
}

/* About Modal Styles (reuse privacy structure) */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-item i {
  font-size: 1.5rem;
  color: #667eea;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-item h4 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1rem;
}

.about-item p {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-footer {
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  text-align: center;
}

.about-footer p {
  margin: 0;
  color: #667eea;
  font-size: 1rem;
  font-weight: 500;
}