/* 
  Main Styles for Athena-sama Website
  Integrated Entertainment Portal
*/

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: #FF69B4;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF1493;
}

/* === HEADER COMPONENTS === */
.daily-message h3,
.athena-profile h3,
.fortune-panel h3 {
  color: #FF69B4;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid rgba(255, 105, 180, 0.3);
  padding-bottom: 0.5rem;
}

.daily-message p {
  font-size: 1.1rem;
  text-align: center;
  color: #4a5568;
  line-height: 1.6;
}

.profile-button {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #FF69B4, #87CEEB);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* === FORTUNE PANEL === */
.fortune-content {
  text-align: center;
}

.fortune-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FF69B4;
  margin-bottom: 1rem;
}

.fortune-message {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.fortune-details {
  background: rgba(255, 105, 180, 0.1);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}

.fortune-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.lucky-color,
.lucky-item {
  display: inline-block;
  background: linear-gradient(135deg, #FF69B4, #87CEEB);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin: 0.2rem;
}

/* === MAIN CONTENT === */
.blog-section h3,
.youtube-section h3 {
  color: #FF69B4;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 3px solid rgba(255, 105, 180, 0.3);
  padding-bottom: 0.8rem;
}

.blog-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #FF69B4;
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-item.loading {
  text-align: center;
  color: #999;
  font-style: italic;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #999;
  font-size: 0.85rem;
}

.blog-date {
  background: rgba(255, 105, 180, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  color: #FF69B4;
}

.blog-link {
  color: #FF69B4;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid #FF69B4;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.blog-link:hover {
  background: #FF69B4;
  color: white;
}

/* === YOUTUBE SECTION === */
.youtube-container {
  text-align: center;
}

.youtube-placeholder {
  background: rgba(255, 105, 180, 0.1);
  border-radius: 10px;
  padding: 3rem 2rem;
  color: #999;
  font-style: italic;
  border: 2px dashed rgba(255, 105, 180, 0.3);
}

.youtube-embed {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
  width: 100%;
  height: 315px;
  border: none;
}

/* === PROFILE MODAL === */
.profile-info h3 {
  color: #FF69B4;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
  border-bottom: 2px solid rgba(255, 105, 180, 0.3);
  padding-bottom: 0.5rem;
}

.profile-info h3:first-child {
  margin-top: 0;
}

.profile-info p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.profile-info ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.profile-info li {
  margin-bottom: 0.5rem;
  color: #555;
}

.profile-info strong {
  color: #FF69B4;
  font-weight: 600;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in.active {
  opacity: 1;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, #FF69B4, #87CEEB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* === GLASS EFFECT === */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === CUSTOM SCROLLBAR === */
.ui-layer::-webkit-scrollbar {
  width: 8px;
}

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

.ui-layer::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #FF69B4, #87CEEB);
  border-radius: 4px;
}

.ui-layer::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #FF1493, #4DA6FF);
}

/* === SPECIAL EFFECTS === */
.sparkle-effect {
  position: relative;
  overflow: hidden;
}

.sparkle-effect::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg) translateX(-100%);
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  50% {
    transform: rotate(45deg) translateX(100%);
  }
  100% {
    transform: rotate(45deg) translateX(-100%);
  }
}

/* === HOVER EFFECTS === */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}

/* === FOCUS STYLES === */
button:focus,
input:focus,
.profile-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.3);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .background-layer,
  .vrm-container,
  .loading-screen,
  .modal-overlay,
  .status-info {
    display: none !important;
  }
  
  .ui-layer {
    position: static;
    height: auto;
  }
  
  body {
    background: white;
    color: black;
  }
}