@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

.notice-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.notice-modal.active {
  opacity: 1;
  visibility: visible;
}

.notice-content {
  background: var(--card-color);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.notice-modal.active .notice-content {
  transform: translateY(0);
}

.notice-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.notice-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.notice-header h2 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.notice-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-points li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.notice-points li:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
}

.notice-close {
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
  border: none;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notice-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
  .notice-content {
    padding: 1.5rem;
  }
  
  .notice-header {
    margin-bottom: 1rem;
  }
  
  .notice-points li {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #d946ef;
  --background-color: #0f172a;
  --text-color: #e2e8f0;
  --card-color: rgba(30, 41, 59, 0.7);
}

:root[data-theme="dark"] {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #d946ef;
  --background-color: #0f172a;
  --text-color: #e2e8f0;
  --card-color: rgba(30, 41, 59, 0.7);
}

:root[data-theme="light"] {
  --primary-color: #4f46e5;
  --secondary-color: #7c3aed;
  --accent-color: #c026d3;
  --background-color: #f8fafc;
  --text-color: #1e293b;
  --card-color: rgba(255, 255, 255, 0.9);
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
}

#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 80px;
}

.header {
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  gap: 2px;
}

.logo-kash {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-vega {
  background: linear-gradient(135deg, #c026d3, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-symbol,
.animated-logo,
.logo-path,
.logo-circle {
  display: none;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-title .text-gradient-1 {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .text-gradient-2 {
  background: linear-gradient(135deg, #c026d3, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    gap: 0.3rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.8);
}

.generator {
  background: var(--card-color);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.prompt-wrapper {
  position: relative;
  width: 100%;
}

.prompt-input {
  width: 100%;
  padding: 1.2rem;
  border: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.prompt-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px var(--primary-color), 
              inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.suggest-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.suggest-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.1);
}

.suggest-btn img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.suggest-btn:hover img {
  opacity: 1;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--card-color);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.suggestions-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.suggestion-item {
  padding: 1rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-color: var(--primary-color);
}

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

.buttons-container {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.enhance-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.enhance-btn img {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.9;
}

.enhance-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.generate-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.generate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.generate-btn:hover::before {
  transform: translateX(100%);
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.generate-btn img {
  width: 1.4rem;
  height: 1.4rem;
}

.options-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.option-group {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
}

.option-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.option-title {
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.option-title img {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.9;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
}

.option-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.option-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  border: none;
  position: relative;
}

.option-btn.active::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 0.8rem;
  z-index: -1;
  animation: glow-border 2s linear infinite;
}

@keyframes glow-border {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

[data-style].active {
  background: linear-gradient(135deg, var(--primary-color), #4f46e5);
}

[data-shape].active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

[data-count].active {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

[data-model].active {
  background: linear-gradient(135deg, #d946ef, #6366f1);
}

[data-style="cartoon"].active {
  background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
}

[data-style="aesthetic"].active {
  background: linear-gradient(135deg, #A8E6CF, #FFD3B6);
}

[data-style="retro90s"].active {
  background: linear-gradient(135deg, #FF9A9E, #FAD0C4);
}

[data-style="cyberpunk"].active {
  background: linear-gradient(135deg, #FF00FF, #00FFFF);
}

[data-style="watercolor"].active {
  background: linear-gradient(135deg, #81DEEA, #E1BEE7);
}

.option-btn.active::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(217, 70, 239, 0.4);
  animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
  from {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.option-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.image-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  display: flex;
  flex-direction: column;
  background: var(--card-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  width: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card[style*="aspect-ratio: 3/4"] .image-wrapper {
  max-height: 400px;
}

.image-card[style*="aspect-ratio: 16/9"] .image-wrapper {
  max-height: 300px;
}

.image-card[style*="aspect-ratio: 1/1"] .image-wrapper {
  max-height: 350px;
}

.image-card[style*="aspect-ratio: 9/16"] .image-wrapper {
  max-height: 600px;
}

.loading {
  position: relative;
  background: var(--card-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  animation: pulseLoad 2s infinite;
  min-height: 250px;
}

@keyframes pulseLoad {
  0% {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
  }
  50% {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  }
  100% {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
  }
}

.loading::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(99, 102, 241, 0.1) 50%,
    transparent 75%
  );
  background-size: 200% 200%;
  animation: shimmer 2s infinite linear;
}

.loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s infinite ease-in-out;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-status {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--text-color);
  text-align: center;
  z-index: 1;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
  animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.download-btn {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 0.5rem;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}

.download-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.download-btn img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.download-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform-origin: left;
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

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

  .hero-title {
    font-size: 2rem;
    gap: 0.3rem;
  }

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

  .buttons-container {
    flex-direction: column;
    gap: 0.8rem;
  }

  .enhance-btn, .generate-btn {
    width: 100%;
  }

  .options-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .option-group {
    min-width: unset;
  }

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

  .prompt-suggestions {
    margin: 1rem 0;
  }

  .suggestion-item {
    padding: 0.8rem;
  }

  .suggestion-content {
    gap: 0.8rem;
  }

  .menu-container {
    top: 1rem;
    right: 1rem;
  }

  .menu-content {
    width: calc(100vw - 2rem);
    right: -1rem;
    max-width: 300px;
  }

  .modal-content {
    width: calc(100vw - 2rem);
    padding: 1.5rem;
    margin: 1rem;
  }

  .developer-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .developer-image {
    width: 120px;
    height: 120px;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

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

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .about-title-main {
    font-size: 1.8rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tech-item {
    padding: 0.8rem;
  }

  .loading {
    height: 200px;
  }

  .loading-status {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .prompt-input {
    min-height: 100px;
    padding: 1rem;
  }

  .footer {
    padding: 1.5rem 0;
    margin-top: 2rem;
  }
}

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

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

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

  .menu-content {
    width: calc(100vw - 2rem);
    max-width: none;
  }

  .option-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .social-link {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

@supports (-webkit-touch-callout: none) {
  .modal-overlay {
    height: -webkit-fill-available;
  }

  body {
    min-height: -webkit-fill-available;
  }
}

@media (hover: none) and (pointer: coarse) {
  .menu-button,
  .option-btn,
  .generate-btn,
  .enhance-btn,
  .download-btn,
  .social-link {
    min-height: 44px; /* Apple's recommended minimum touch target size */
  }

  .menu-item {
    padding: 12px 16px;
  }

  select.custom-select {
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  #background-canvas {
    opacity: 0.3; /* Reduce opacity for better contrast */
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}

.nav-left {
  width: 200px;
}

.nav-right {
  width: 200px;
  display: flex;
  justify-content: flex-end;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.nav-link img {
  width: 1.2rem;
  height: 1.2rem;
}

.login-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.5rem 1.2rem;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
  .nav-center {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem;
  }

  .nav-link span {
    display: none;
  }

  .login-btn {
    padding: 0.5rem;
  }
  
  .modal-content {
    padding: 2rem;
    margin: 1rem;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--card-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-modal-content {
  max-width: 400px;
  width: 90%;
}

.login-container {
  text-align: center;
}

.login-title {
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.login-submit-btn {
  padding: 1rem;
  border: none;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
  color: var(--text-color);
  opacity: 0.7;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.login-divider span {
  padding: 0 1rem;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.login-footer {
  color: var(--text-color);
  opacity: 0.8;
}

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

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

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem;
  }
  
  .nav-link span {
    display: none;
  }
  
  .nav-link img {
    margin: 0;
  }
  
  .login-btn {
    padding: 0.5rem;
  }
}

.menu-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
}

.menu-button {
  background: var(--card-color);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.menu-button img {
  width: 20px;
  height: 20px;
}

.menu-button:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.menu-content {
  position: absolute;
  top: 60px;
  right: 0;
  background: var(--card-color);
  border-radius: 1rem;
  padding: 1rem;
  min-width: 200px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.menu-content.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.menu-item:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(5px);
}

.menu-item img {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.social-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}

.developer-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.developer-content::-webkit-scrollbar {
  width: 8px;
}

.developer-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.developer-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.developer-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.developer-image {
  width: 150px;
  height: 150px;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.developer-info {
  flex: 1;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.about-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.about-title {
  font-size: 1.8rem;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--card-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-logo {
  font-weight: 600;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-section {
  margin-top: 6rem;
  padding: 4rem 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content-left {
  position: relative;
}

.about-title-main {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.about-title-main::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.feature-list {
  display: grid;
  gap: 2rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  padding: 8px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.05);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.feature-text {
  flex: 1;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.about-content-right {
  position: relative;
  padding: 2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tech-stack {
  margin-top: 3rem;
  text-align: center;
}

.tech-title {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 0.8rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
}

.tech-icon {
  width: 32px;
  height: 32px;
}

.tech-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 968px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 568px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-color);
  pointer-events: none;
}

.custom-select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
}

.custom-select:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color);
}

.custom-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.custom-select option {
  background: var(--background-color);
  border: none;
  color: var(--text-color);
  padding: 12px;
}

@media (max-width: 768px) {
  .logo-container {
    top: 1rem;
    left: 1rem;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-symbol {
    width: 32px;
    height: 32px;
  }
}

.modal-body {
  flex: 1;
  overflow: hidden;
}

@media (max-width: 768px) {
  .developer-content {
    flex-direction: column;
    max-height: 60vh;
  }
  
  .developer-image {
    width: 120px;
    height: 120px;
    align-self: center;
  }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  background: var(--card-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--text-color);
  z-index: 3000;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid #34D399;
}

.notification.error {
  border-left: 4px solid #EF4444;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-logged-in .generate-btn {
  background: linear-gradient(135deg, #34D399, #3B82F6);
}

.user-logged-in .enhance-btn:hover {
  border-color: #34D399;
}

.social-btn.google {
  background: #DB4437;
  color: white;
  border: none;
}

.social-btn.google:hover {
  background: #C1351D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(219, 68, 55, 0.3);
}

.social-btn.github {
  background: #333;
  color: white;
  border: none;
}

.social-btn.github:hover {
  background: #24292E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.social-btn img {
  width: 24px;
  height: 24px;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.social-btn.loading {
  position: relative;
  pointer-events: none;
}

.social-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

.social-btn.loading img,
.social-btn.loading span {
  opacity: 0;
}