:root { --primary:#ff9900; --ink:#1a1a1a; --bg:#fff7e6; --muted:#6b7280; --blush-orange:#ffb366; }
* { box-sizing: border-box; }
body { margin:0; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color:var(--ink); background:var(--bg); position: relative; overflow-x: hidden; font-weight:400; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
h1, h2, h3, h4, h5, h6{ font-family:'Space Grotesk', sans-serif; font-weight:700; letter-spacing:-0.01em; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Home page background image - using URL path detection */
body:has(.hero) {
  background: var(--bg) url('/static/images/background/page-bg.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Home page hero text - white color */
body:has(.hero) .hero-text h1,
body:has(.hero) .hero-text p {
  color: white;
}

/* Home page sub-headings - more visible against background */
body:has(.hero) h2 {
  color: #1a1a1a;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-block;
  border: 3px solid #ff9900;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Blog styling */
.post-list {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}

.post-item {
  background: white;
  border: 3px solid #111;
  border-radius: 20px;
  padding: 0;
  box-shadow: 8px 8px 0 #00000040;
  overflow: hidden;
  transition: all 0.3s ease;
}

.post-item:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 #00000050;
}

.post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.post-item:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 24px;
}

.post-content h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.post-content h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-content h3 a:hover {
  color: var(--primary);
}

.muted {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.post-content p:last-child {
  margin: 0;
  line-height: 1.6;
}

/* Blog detail styling */
.post-detail {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 3px solid #111;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 8px 8px 0 #00000040;
  margin-bottom: 30px;
}

.post-detail h1 {
  margin: 0 0 16px;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #333;
}

.post-images {
  margin: 30px 0;
  display: grid;
  gap: 20px;
}

.post-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #00000020;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.post-image:hover img {
  transform: scale(1.02);
}

.content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
  margin: 30px 0;
}

.content p {
  margin: 0 0 20px;
  text-align: justify;
}

.content p:last-child {
  margin-bottom: 0;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
  margin: 30px 0 15px;
  color: #333;
  line-height: 1.3;
}

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

.content ul, .content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.content li {
  margin: 8px 0;
  line-height: 1.6;
}

.content blockquote {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  font-style: italic;
}

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

.content a:hover {
  text-decoration: underline;
}

.content strong {
  font-weight: 700;
  color: #333;
}

.content em {
  font-style: italic;
  color: #555;
}

.content code {
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.content pre {
  background: #f1f3f4;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.content pre code {
  background: none;
  padding: 0;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.content img:hover {
  transform: scale(1.02);
}

.post-detail > p:last-child {
  margin-top: 40px;
  text-align: center;
}

.post-detail > p:last-child a {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.post-detail > p:last-child a:hover {
  background: #ff6600;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 #00000030;
}

@media (max-width: 768px) {
  .post-detail {
    padding: 20px;
    margin: 0 10px 30px;
  }
  
  .post-detail h1 {
    font-size: 2rem;
  }
  
  .content {
    font-size: 1rem;
  }
}

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.site-header { background:#fff; border-bottom: 4px solid var(--primary); position: sticky; top:0; z-index: 10; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); font-weight:800; }
.brand img{ height:64px; }
.nav a{ margin: 0 8px; text-decoration:none; color:var(--ink); font-weight:600; font-family:'Inter', sans-serif; transition:all 0.3s ease; position:relative; }
.nav a:hover{ color:var(--primary); transform:translateY(-2px); }
.nav a::after{ content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--primary); transition:width 0.3s ease; }
.nav a:hover::after{ width:100%; }
.nav .btn{ padding:8px 14px; border-radius:999px; border:2px solid var(--ink); }
.btn{ display:inline-block; padding:12px 20px; border-radius:12px; border:2px solid var(--ink); color:var(--ink); text-decoration:none; background:#fff; box-shadow:4px 4px 0 #00000030; transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position:relative; overflow:hidden; font-weight:700; font-family:'Inter', sans-serif; }
.btn::before{ content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition:left 0.6s ease; }
.btn:hover{ transform:translateY(-3px) scale(1.05); box-shadow:6px 6px 0 #00000040, 0 4px 16px rgba(0,0,0,0.2); }
.btn:hover::before{ left:100%; }
.btn:active{ transform:translateY(0); }
.btn-primary{ background:var(--primary); color:#111; }
.btn-white{ background:#fff; color:#111; border-color:#111; }
.hero{ 
  display:grid; 
  grid-template-columns:1.2fr 1fr; 
  gap:24px; 
  align-items:center; 
  padding: 60px 24px; 
  color: white;
  border-radius: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.9), rgba(255, 102, 0, 0.9));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Hero background image */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.3), rgba(255, 102, 0, 0.3));
  z-index: 0;
  pointer-events: none;
}
.hero h1{ font-family:'Space Grotesk', sans-serif; font-size:48px; font-weight:800; margin:0 0 8px; letter-spacing:-0.02em; position: relative; z-index: 2; }
.hero-text{ position: relative; z-index: 2; }
.hero-ctas{ position: relative; z-index: 2; }
.hero-art{ min-height:240px; border-radius:24px; overflow:hidden; position:relative; }
.hero-art-image{ width:100%; height:100%; object-fit:cover; object-position:center; border-radius:24px; }
.card-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.card{ background:#fff; border:3px solid #111; border-radius:20px; padding:24px; box-shadow:8px 8px 0 #00000040, 0 0 0 1px rgba(255,153,0,0.1); transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position:relative; overflow:hidden; text-align:center; display:block; text-decoration:none; color:inherit; }
.card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, #ff9900, #ff6600, #ff9900); background-size:200% 100%; animation:shimmer 3s ease-in-out infinite; }
.card:hover{ transform:translateY(-8px) scale(1.02); box-shadow:12px 12px 0 #00000050, 0 8px 32px rgba(255,153,0,0.3); text-decoration:none; color:inherit; }
.card h3{ color:#333; margin-bottom:12px; font-size:1.4rem; font-weight:700; font-family:'Space Grotesk', sans-serif; }
.card p{ color:#666; margin-bottom:16px; line-height:1.5; }

/* Event Card Flyer Popup */
.event-card{ position:relative; cursor:pointer; display:flex; flex-direction:column; }
.event-card .card-content{ transition:all 0.3s ease; flex:1; display:flex; flex-direction:column; }
.event-card .flyer-overlay{ position:absolute; top:0; right:0; width:50%; height:100%; background:rgba(0,0,0,0.9); display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:all 0.3s ease; z-index:10; border-radius:0 20px 20px 0; }
.event-card:hover .flyer-overlay{ opacity:1; visibility:visible; }
.event-card:hover .card-content{ transform:translateX(-10px); }
.flyer-image{ position:relative; width:100%; height:100%; text-align:center; display:flex; align-items:center; justify-content:center; padding:10px; }
.flyer-image img{ width:100%; height:100%; object-fit:contain; border-radius:12px; box-shadow:0 8px 32px rgba(0,0,0,0.5); }
.flyer-placeholder{ display:flex; flex-direction:column; align-items:center; justify-content:center; color:white; padding:20px; }
.flyer-placeholder .flyer-icon{ font-size:3rem; margin-bottom:12px; opacity:0.7; }
.flyer-placeholder p{ font-size:1rem; font-weight:600; margin:0; }

/* Register Button Always Visible */
.event-card .btn{ margin-top:auto; transition:all 0.3s ease; }
.event-card:hover .btn{ transform:scale(1.05); box-shadow:0 4px 16px rgba(255,153,0,0.4); background:var(--primary); color:white; }
@keyframes shimmer{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
@keyframes cardPulse{ 0%, 100%{ box-shadow:8px 8px 0 #00000040, 0 0 0 1px rgba(255,153,0,0.1); } 50%{ box-shadow:8px 8px 0 #00000040, 0 0 0 1px rgba(255,153,0,0.3); } }
.card{ animation:cardPulse 4s ease-in-out infinite; }
.card:hover{ animation:none; }
.muted{ color:var(--muted); }
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; justify-items:center; max-width:1000px; margin:0 auto; }
.team-card{ background:#fff; border:2px solid #111; border-radius:16px; padding:8px; text-align:center; box-shadow:8px 8px 0 #00000030; transition:transform 0.2s ease, box-shadow 0.2s ease; width:100%; max-width:220px; }
.team-card:hover{ transform:translateY(-4px); box-shadow:12px 12px 0 #00000040; }
.team-card img{ width:100%; height:200px; object-fit:cover; border-radius:12px; border:2px solid #111; background:var(--bg); }
.logo-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:12px; align-items:center; }
.logo-cell{ background:#fff; border-radius:50%; padding:0; text-align:center; transition:all 0.3s ease; width:120px; height:120px; display:flex; align-items:center; justify-content:center; margin:0 auto; overflow:hidden; }
.logo-cell:hover{ transform:translateY(-2px); box-shadow:4px 4px 0 #00000020; }
.logo-cell img{ width:120px; height:120px; object-fit:cover; border-radius:50%; }
.logo-cell a{ display:block; width:100%; height:100%; border-radius:50%; overflow:hidden; }
.logo-cell a:hover{ text-decoration:none; }
.post-list .post-item{ background:#fff; border:2px solid #111; border-radius:12px; padding:16px; margin-bottom:12px; }
.form label{ display:block; margin-bottom:12px; font-weight:800; }
.form input, .form textarea{ width:100%; padding:10px; border:2px solid #111; border-radius:10px; background:#fff; }
.checkbox-group{ margin:16px 0; }
.checkbox-label{ display:flex; align-items:flex-start; gap:8px; font-weight:600; cursor:pointer; }
.checkbox-label input[type="checkbox"], .checkbox-label input[type="radio"]{ width:auto; margin:0; }
.nationality-selection{ text-align:center; margin:32px 0; }
.nationality-options{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:16px; }
.nationality-btn{ min-width:200px; }
.donate-box{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.qr{ background:#fff; border:2px solid #111; width:max-content; padding:12px; border-radius:12px; margin:8px auto; }
.qr[data-copy-text]{ cursor:pointer; transition:all 0.2s ease; }
.qr[data-copy-text]:hover{ transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.15); border-color:#ff9900; }
.qr[data-copy-text]:active{ transform:translateY(0); }
.qr[data-copy-text]:focus{ outline:3px solid #ff9900; outline-offset:2px; }
.qr{ position:relative; }
.qr-overlay{ position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(255,153,0,0.1); display:none; align-items:center; justify-content:center; border-radius:12px; font-weight:bold; color:#ff9900; }
.qr[data-copy-text]:hover .qr-overlay{ display:flex; }
.support-section{ margin-top:32px; padding:24px; background:#fff; border:2px solid #111; border-radius:16px; text-align:center; }
.support-section h2{ margin-top:0; }
.copy-row{ display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.copy-row code{ background:#fff; border:2px dashed #111; border-radius:8px; padding:6px 8px; user-select:all; }
.calendar{ background:#fff; border:2px solid #111; border-radius:16px; padding:16px; }
.calendar-list{ list-style:none; padding:0; margin:0; }
.calendar-list li{ padding:8px 0; border-bottom:1px dashed #ccc; }

/* Calendar Grid Styles */
.calendar-container{ background:#fff; border:2px solid #111; border-radius:16px; padding:20px; margin:20px 0; }
.calendar-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.calendar-header h3{ margin:0; font-size:1.5rem; color:#333; }
.calendar-nav{ background:var(--primary); color:white; border:none; border-radius:8px; padding:8px 16px; cursor:pointer; font-size:1.2rem; transition:all 0.3s ease; background-image:url('/images/buttons/nav-bg.jpg'); background-size:cover; background-position:center; }
.calendar-nav:hover{ background:#e68900; transform:translateY(-2px); }
.calendar-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:2px; margin-bottom:20px; }
.calendar-day-header{ background:#f0f0f0; border:1px solid #ddd; padding:12px 8px; text-align:center; font-weight:bold; color:#666; font-size:0.9rem; }
.calendar-day{ background:#fff; border:1px solid #ddd; padding:12px 8px; text-align:center; cursor:pointer; transition:all 0.3s ease; min-height:40px; display:flex; align-items:center; justify-content:center; position:relative; }
.calendar-day:hover{ background:#f8f8f8; transform:translateY(-1px); }
.calendar-day.empty{ background:transparent; border:none; cursor:default; }
.calendar-day.today{ background:#fff; color:#333; font-weight:bold; border:3px solid var(--primary) !important; }
.calendar-day.has-event{ font-weight:bold; position:relative; }
.calendar-day.has-event::after{ content:''; position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:6px; height:6px; border-radius:50%; }
.calendar-day.event-color-1{ background:linear-gradient(135deg, #ff9900, #ff6600), url('/images/events/training-bg.jpg'); background-size:cover; background-position:center; color:white; }
.calendar-day.event-color-1::after{ background:white; }
.calendar-day.event-color-2{ background:linear-gradient(135deg, #8b5cf6, #7c3aed); color:white; }
.calendar-day.event-color-2::after{ background:white; }
.calendar-day.event-color-3{ background:linear-gradient(135deg, #10b981, #059669); color:white; }
.calendar-day.event-color-3::after{ background:white; }
.calendar-legend{ display:flex; justify-content:center; gap:20px; flex-wrap:wrap; margin-top:20px; }
.legend-item{ display:flex; align-items:center; gap:8px; }
.legend-item.clickable{ cursor:pointer; padding:8px 12px; border-radius:8px; transition:all 0.3s ease; }
.legend-item.clickable:hover{ background:rgba(255,153,0,0.1); transform:translateY(-2px); }
.legend-color{ width:16px; height:16px; border-radius:50%; }
.event-color-1{ background:linear-gradient(135deg, #ff9900, #ff6600); }
.event-color-2{ background:linear-gradient(135deg, #8b5cf6, #7c3aed); }
.event-color-3{ background:linear-gradient(135deg, #10b981, #059669); }
.legend-highlight{ animation:pulse 1s ease-in-out; }
@keyframes pulse{ 0%, 100%{ transform:scale(1); } 50%{ transform:scale(1.1); } }

/* Event Types Section */
.event-types{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; margin:24px 0; }
.event-type-card{ background:#fff; border:3px solid #111; border-radius:20px; padding:24px; text-align:center; box-shadow:6px 6px 0 #00000030; transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position:relative; overflow:hidden; display:block; text-decoration:none; color:inherit; }
.event-type-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, #ff9900, #ff6600, #ff9900); background-size:200% 100%; animation:shimmer 3s ease-in-out infinite; }
.event-type-card:hover{ transform:translateY(-6px) scale(1.02); box-shadow:10px 10px 0 #00000040, 0 6px 24px rgba(255,153,0,0.2); text-decoration:none; color:inherit; }
.event-type-icon{ font-size:3rem; margin-bottom:16px; display:block; }
.event-type-card h3{ color:#333; margin-bottom:12px; font-size:1.3rem; font-weight:700; font-family:'Space Grotesk', sans-serif; }
.event-type-card p{ color:#666; line-height:1.6; margin:0; }
.site-footer{ background:#fff; margin-top:40px; border-top:4px solid var(--primary); }
.social-media{ margin-top:16px; display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }
.social-link{ display:flex; align-items:center; gap:8px; padding:8px 16px; background:rgba(0,0,0,0.05); border-radius:20px; transition:all 0.3s ease; text-decoration:none; color:#333; }
.social-link:hover{ background:rgba(255,153,0,0.1); transform:translateY(-2px); text-decoration:none; }
.social-link svg{ width:20px; height:20px; }
.social-link.twitter:hover{ color:#1da1f2; }
.social-link.nostr{ background:linear-gradient(135deg, #8b5cf6, #7c3aed); color:white; }
.social-link.nostr:hover{ background:linear-gradient(135deg, #7c3aed, #6d28d9); color:white; transform:translateY(-2px) scale(1.05); }
@media (max-width: 800px){ .hero{ grid-template-columns:1fr; } .donate-box{ grid-template-columns:1fr; } .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px){ .team-grid{ grid-template-columns:1fr; } }

/* Page transition animations */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Pan animations for different directions */
.pan-left {
  animation: panLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pan-right {
  animation: panRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pan-up {
  animation: panUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pan-down {
  animation: panDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes panLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

@keyframes panRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes panUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes panDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}


/* Page content animations */
.page-content {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.page-content.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Animated background waves */
.waves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
  animation: waveMove 8s linear infinite;
  opacity: 0.3;
}

.wave:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.wave:nth-child(2) {
  top: 40%;
  animation-delay: -2s;
  animation-duration: 10s;
  opacity: 0.2;
}

.wave:nth-child(3) {
  top: 60%;
  animation-delay: -4s;
  animation-duration: 14s;
  opacity: 0.15;
}

.wave:nth-child(4) {
  top: 80%;
  animation-delay: -6s;
  animation-duration: 16s;
  opacity: 0.1;
}

@keyframes waveMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Cartoon Bitcoin characters */
.bitcoin-character {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  animation: bitcoinFloat 6s ease-in-out infinite;
}

.bitcoin-character.left {
  left: -20px;
  top: 20%;
  animation-delay: 0s;
}

.bitcoin-character.right {
  right: -20px;
  top: 30%;
  animation-delay: 2s;
}

.bitcoin-character.bottom-left {
  left: -15px;
  bottom: 20%;
  animation-delay: 4s;
}

.bitcoin-character.bottom-right {
  right: -15px;
  bottom: 30%;
  animation-delay: 1s;
}

.bitcoin-character.top-left {
  left: -25px;
  top: 10%;
  animation-delay: 3s;
}

.bitcoin-character.top-right {
  right: -25px;
  top: 15%;
  animation-delay: 5s;
}

@keyframes bitcoinFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
  75% { transform: translateY(-15px) rotate(2deg); }
}

.bitcoin-svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: bitcoinWiggle 3s ease-in-out infinite;
}

@keyframes bitcoinWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(5deg); }
  50% { transform: scale(0.95) rotate(-3deg); }
  75% { transform: scale(1.05) rotate(2deg); }
}

/* Eyes animation */
.bitcoin-eyes {
  animation: blink 4s infinite;
}

@keyframes blink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0; }
}

/* About page header with picture background */
.about-header {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.8), rgba(255, 102, 0, 0.8)), 
              url('/images/about/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 80px 0;
  text-align: center;
  border-radius: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.about-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-header .subtitle {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.about-header .description {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Mission section with images */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.mission-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mission-item:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 #00000035;
}

.mission-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ff6600, #ff3300);
}

.mission-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.mission-item:nth-child(even) .mission-icon {
  animation-delay: 0.5s;
}

.mission-item p {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Admin slideshow page styles */
.admin-header {
  text-align: center;
  margin: 40px 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #ff9900, #ff6600);
  color: white;
  border-radius: 20px;
}

.admin-header h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 48px;
  margin: 0 0 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.admin-header p {
  font-size: 20px;
  margin: 0;
  opacity: 0.9;
}

.slideshow-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.slides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.slide-card {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.slide-preview {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.slide-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
}

.slide-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.slide-status.success {
  background: #4CAF50;
  color: white;
}

.slide-status.warning {
  background: #ff9800;
  color: white;
}

.slide-controls h3 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #333;
}

.upload-form {
  margin-bottom: 15px;
}

.file-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 2px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-label:hover {
  background: #e9ecef;
  border-color: #999;
}

.file-text {
  font-weight: 600;
  color: #333;
}

.file-icon {
  font-size: 20px;
}

.upload-btn, .delete-btn {
  width: 100%;
  margin-bottom: 10px;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.delete-btn:hover {
  background: #c82333;
  border-color: #bd2130;
}

.admin-info {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
}

.admin-info h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.admin-info ul {
  margin: 0 0 20px 20px;
  color: #666;
}

.admin-info li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.message-area {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
}

.message {
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Border admin page styles */
.borders-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.borders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.border-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.border-item:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.border-preview {
  position: relative;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.border-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.border-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
}

.border-status {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.border-status.success {
  background: #4CAF50;
  color: white;
}

.border-status.warning {
  background: #ff9800;
  color: white;
}

.border-controls h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #333;
}

.border-controls .upload-form {
  margin-bottom: 10px;
}

.border-controls .file-input-wrapper {
  margin-bottom: 10px;
}

.border-controls .file-label {
  padding: 8px 12px;
  font-size: 14px;
}

.border-controls .file-text {
  font-size: 14px;
}

.border-controls .file-icon {
  font-size: 16px;
}

.border-controls .upload-btn, .border-controls .delete-btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Card admin page styles */
.cards-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.card-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.card-preview {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.card-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
}

.card-status {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.card-status.success {
  background: #4CAF50;
  color: white;
}

.card-status.warning {
  background: #ff9800;
  color: white;
}

.card-controls h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #333;
}

.card-controls .upload-form {
  margin-bottom: 10px;
}

.card-controls .file-input-wrapper {
  margin-bottom: 10px;
}

.card-controls .file-label {
  padding: 8px 12px;
  font-size: 14px;
}

.card-controls .file-text {
  font-size: 14px;
}

.card-controls .file-icon {
  font-size: 16px;
}

.card-controls .upload-btn, .card-controls .delete-btn {
  padding: 8px 16px;
  font-size: 14px;
}

.page-content.slide-out-up {
  transform: translateY(-100%);
  opacity: 0;
}

.page-content.slide-out-down {
  transform: translateY(100%);
  opacity: 0;
}

.page-content.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.page-content.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Animated background waves */
.waves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
  animation: waveMove 8s linear infinite;
  opacity: 0.3;
}

.wave:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.wave:nth-child(2) {
  top: 40%;
  animation-delay: -2s;
  animation-duration: 10s;
  opacity: 0.2;
}

.wave:nth-child(3) {
  top: 60%;
  animation-delay: -4s;
  animation-duration: 14s;
  opacity: 0.15;
}

.wave:nth-child(4) {
  top: 80%;
  animation-delay: -6s;
  animation-duration: 16s;
  opacity: 0.1;
}

@keyframes waveMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Cartoon Bitcoin characters */
.bitcoin-character {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  animation: bitcoinFloat 6s ease-in-out infinite;
}

.bitcoin-character.left {
  left: -20px;
  top: 20%;
  animation-delay: 0s;
}

.bitcoin-character.right {
  right: -20px;
  top: 30%;
  animation-delay: 2s;
}

.bitcoin-character.bottom-left {
  left: -15px;
  bottom: 20%;
  animation-delay: 4s;
}

.bitcoin-character.bottom-right {
  right: -15px;
  bottom: 30%;
  animation-delay: 1s;
}

.bitcoin-character.top-left {
  left: -25px;
  top: 10%;
  animation-delay: 3s;
}

.bitcoin-character.top-right {
  right: -25px;
  top: 15%;
  animation-delay: 5s;
}

@keyframes bitcoinFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
  75% { transform: translateY(-15px) rotate(2deg); }
}

.bitcoin-svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: bitcoinWiggle 3s ease-in-out infinite;
}

@keyframes bitcoinWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(5deg); }
  50% { transform: scale(0.95) rotate(-3deg); }
  75% { transform: scale(1.05) rotate(2deg); }
}

/* Eyes animation */
.bitcoin-eyes {
  animation: blink 4s infinite;
}

@keyframes blink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0; }
}

/* About page header with picture background */
.about-header {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.8), rgba(255, 102, 0, 0.8)), 
              url('/images/about/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 80px 0;
  text-align: center;
  border-radius: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.about-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-header .subtitle {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.about-header .description {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Mission section with images */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.mission-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mission-item:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 #00000035;
}

.mission-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ff6600, #ff3300);
}

.mission-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.mission-item:nth-child(even) .mission-icon {
  animation-delay: 0.5s;
}

.mission-item p {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Admin slideshow page styles */
.admin-header {
  text-align: center;
  margin: 40px 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #ff9900, #ff6600);
  color: white;
  border-radius: 20px;
}

.admin-header h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 48px;
  margin: 0 0 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.admin-header p {
  font-size: 20px;
  margin: 0;
  opacity: 0.9;
}

.slideshow-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.slides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.slide-card {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.slide-preview {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.slide-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
}

.slide-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.slide-status.success {
  background: #4CAF50;
  color: white;
}

.slide-status.warning {
  background: #ff9800;
  color: white;
}

.slide-controls h3 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #333;
}

.upload-form {
  margin-bottom: 15px;
}

.file-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 2px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-label:hover {
  background: #e9ecef;
  border-color: #999;
}

.file-text {
  font-weight: 600;
  color: #333;
}

.file-icon {
  font-size: 20px;
}

.upload-btn, .delete-btn {
  width: 100%;
  margin-bottom: 10px;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.delete-btn:hover {
  background: #c82333;
  border-color: #bd2130;
}

.admin-info {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
}

.admin-info h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.admin-info ul {
  margin: 0 0 20px 20px;
  color: #666;
}

.admin-info li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.message-area {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
}

.message {
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Border admin page styles */
.borders-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.borders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.border-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.border-item:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.border-preview {
  position: relative;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.border-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.border-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
}

.border-status {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.border-status.success {
  background: #4CAF50;
  color: white;
}

.border-status.warning {
  background: #ff9800;
  color: white;
}

.border-controls h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #333;
}

.border-controls .upload-form {
  margin-bottom: 10px;
}

.border-controls .file-input-wrapper {
  margin-bottom: 10px;
}

.border-controls .file-label {
  padding: 8px 12px;
  font-size: 14px;
}

.border-controls .file-text {
  font-size: 14px;
}

.border-controls .file-icon {
  font-size: 16px;
}

.border-controls .upload-btn, .border-controls .delete-btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Card admin page styles */
.cards-admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.card-item {
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 #00000025;
  transition: all 0.3s ease;
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #00000035;
}

.card-preview {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.card-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
}

.card-status {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.card-status.success {
  background: #4CAF50;
  color: white;
}

.card-status.warning {
  background: #ff9800;
  color: white;
}

.card-controls h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #333;
}

.card-controls .upload-form {
  margin-bottom: 10px;
}

.card-controls .file-input-wrapper {
  margin-bottom: 10px;
}

.card-controls .file-label {
  padding: 8px 12px;
  font-size: 14px;
}

.card-controls .file-text {
  font-size: 14px;
}

.card-controls .file-icon {
  font-size: 16px;
}

.card-controls .upload-btn, .card-controls .delete-btn {
  padding: 8px 16px;
  font-size: 14px;
}
