/* Popoduck.fun - Professional Yellow Theme Design System */
:root {
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 193, 7, 0.3);
  --primary-color: #FFC107;
  --secondary-color: #FFB300;
  --accent-color: #FF8F00;
  --text-dark: #333333;
  --text-light: #666666;
  --gradient-bg: linear-gradient(135deg, #ffffff 0%, #fff8e1 100%);
  --yellow-section: #FFC107;
  --shadow-soft: 0 8px 32px rgba(255, 193, 7, 0.15);
  --shadow-hover: 0 12px 40px rgba(255, 193, 7, 0.25);
}

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

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

/* Glass Container Base */
.glass-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-container:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

/* Header */
header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: 2px solid transparent;
}

.nav-links a:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section - Override previous styles */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  background: var(--yellow-section);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-shadow: none;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  padding: 2rem;
  text-align: center;
  color: var(--text-dark);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

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

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.product-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #f8f9fa;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  main {
    padding: 1rem;
  }
  
  .card-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Styling */
.section {
  margin: 3rem 0;
  padding: 2rem;
}

.section h2 {
  text-align: center;
  color: var(--text-dark);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Yellow Hero Section */
.hero {
  background: var(--yellow-section);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.hero h1 {
  color: var(--text-dark);
  text-shadow: none;
  font-weight: 800;
}

.hero p {
  color: var(--text-dark);
  opacity: 0.8;
}
