/* ============================================
   TEMA 1: BENTO GRID LAYOUT
   Japon Bento Kutusu İlhamlı Modüler Grid
   2026 Trend: Card-based information density
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bento-bg: #0a0a0f;
  --bento-surface: #151520;
  --bento-surface-hover: #1e1e2d;
  --bento-border: rgba(255,255,255,0.06);
  --bento-accent: #6366f1;
  --bento-accent-light: #818cf8;
  --bento-gold: #fbbf24;
  --bento-text: #fafafa;
  --bento-text-secondary: #a1a1aa;
  --bento-text-muted: #71717a;
  --bento-radius: 24px;
  --bento-gap: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bento-bg);
  color: var(--bento-text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99,102,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(251,191,36,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.bento-container { max-width: 1400px; margin: 0 auto; padding: 24px; }

/* Bento Grid System */
.bento-grid {
  display: grid;
  gap: var(--bento-gap);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
}

.bento-cell {
  background: var(--bento-surface);
  border: 1px solid var(--bento-border);
  border-radius: var(--bento-radius);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.bento-cell:hover {
  background: var(--bento-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* Cell Spans */
.bento-span-1 { grid-column: span 1; }
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }
.bento-row-2 { grid-row: span 2; }

/* Featured Cell */
.bento-featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(251,191,36,0.05) 100%);
  border-color: rgba(99,102,241,0.3);
}

.bento-featured .bento-icon { background: rgba(99,102,241,0.2); }
.bento-featured .bento-icon i { color: var(--bento-accent-light); }

/* Gold Cell */
.bento-gold {
  background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(251,191,36,0.05) 100%);
  border-color: rgba(251,191,36,0.3);
}

.bento-gold .bento-icon { background: rgba(251,191,36,0.2); }
.bento-gold .bento-icon i { color: var(--bento-gold); }

/* Header */
.bento-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bento-border);
}

.bento-header .bento-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: 80px;
}

.bento-logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bento-accent) 0%, var(--bento-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bento-logo i { font-size: 1.5rem; color: var(--bento-gold); -webkit-text-fill-color: initial; }

.bento-nav { display: flex; gap: 8px; }

.bento-nav a {
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--bento-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.bento-nav a:hover { background: var(--bento-surface); color: var(--bento-text); }

.bento-cta {
  background: linear-gradient(135deg, var(--bento-accent) 0%, #8b5cf6 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.bento-cta:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(99,102,241,0.4); }

/* Main */
.bento-main { padding-top: 100px; min-height: 100vh; }

/* Cell Content */
.bento-cell h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.bento-cell h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--bento-text-secondary); }
.bento-cell p { color: var(--bento-text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Icon */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99,102,241,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon i { font-size: 1.75rem; color: var(--bento-accent-light); }

/* Stats */
.bento-stat { text-align: center; justify-content: center; }
.bento-stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bento-accent) 0%, var(--bento-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--bento-text-muted); }

/* Badge */
.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bento-accent-light);
  margin-bottom: 16px;
  width: fit-content;
}

.bento-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--bento-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero Cell */
.bento-hero {
  justify-content: center;
  text-align: center;
}

.bento-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bento-text) 0%, var(--bento-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-hero p { font-size: 1.1rem; max-width: 500px; margin: 0 auto 24px; }

/* List */
.bento-list { list-style: none; }
.bento-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bento-border);
}
.bento-list li:last-child { border-bottom: none; }
.bento-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-list-icon i { color: #10b981; font-size: 0.875rem; }

/* Buttons */
.bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  margin-top: auto;
  width: fit-content;
}

.bento-btn-primary {
  background: linear-gradient(135deg, var(--bento-accent) 0%, #8b5cf6 100%);
  color: white;
}

.bento-btn-secondary {
  background: transparent;
  color: var(--bento-text);
  border: 1px solid var(--bento-border);
}

.bento-btn:hover { transform: translateY(-2px); }

/* Footer */
.bento-footer {
  background: var(--bento-surface);
  border-top: 1px solid var(--bento-border);
  padding: 48px 0;
  margin-top: 48px;
}

.bento-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
  .bento-span-4, .bento-span-6, .bento-span-8, .bento-span-12 { grid-column: span 6; }
  .bento-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-nav { display: none; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-1, .bento-span-2, .bento-span-3, .bento-span-4, 
  .bento-span-6, .bento-span-8, .bento-span-12 { grid-column: span 1; }
  .bento-row-2 { grid-row: span 1; }
  .bento-hero h1 { font-size: 1.75rem; }
  .bento-footer-grid { grid-template-columns: 1fr; }
}
