/* Alapbeállítások */
:root{
  --bg: #0b0f14;
  --card: #1a1012;
  --text: #f0e0e0;
  --muted: #af9ca3;
  --ring-bg: #261218;
  --size: 220px;
  --thick: 16px;
  --primary: #e63946;
  --secondary: #d90429;
  --tertiary: #9d0208;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #0a0a0a, #111);
  color: #fff;
  line-height: 1.6;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

.supp {
  padding: 3rem 1rem;
  width: 80%;
  display: block;       /* blokk elem legyen */
  margin: 0 auto;       /* vízszintesen középre igazítja */
  text-align: center;   /* a belső tartalmat is középre hozza */
}


.wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,0,0,0.03), rgba(0,0,0,0.8));
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2), inset 0 0 0 1px rgba(255,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.6), transparent);
  animation: scanline 4s linear infinite;
}

@keyframes scanline {
  0% { top: 0; }
  100% { top: 100%; }
}

.meter{
  position: relative;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 6px 20px rgba(230, 57, 70, 0.3));
}

.meter .ring{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, transparent calc(50% - var(--thick)), var(--ring-bg) calc(50% - var(--thick) + 1px) 50%, transparent calc(50% + 1px)),
    conic-gradient(
      var(--primary) 0deg,
      var(--secondary) 120deg,
      var(--tertiary) 240deg,
      #6a040f 360deg
    );
  mask:
    radial-gradient(closest-side, transparent calc(50% - var(--thick)), black calc(50% - var(--thick)));
  transition: background 0.5s ease;
}

.meter::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, transparent calc(50% - var(--thick)), var(--ring-bg) calc(50% - var(--thick) + 1px) 50%, transparent calc(50% + 1px));
  filter: brightness(0.7);
}

.meter::after{
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 57, 70, 0.15), transparent 70%);
  pointer-events: none;
}

.center{
  position: absolute;
  width: calc(var(--size) - var(--thick) * 2 - 16px);
  height: calc(var(--size) - var(--thick) * 2 - 16px);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.1), rgba(0,0,0,0.5));
  border: 1px solid rgba(230, 57, 70, 0.3);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.value{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(230, 57, 70, 0.7);
  animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(230, 57, 70, 0.7); }
  100% { text-shadow: 0 0 15px rgba(230, 57, 70, 0.9), 0 0 20px rgba(230, 57, 70, 0.5); }
}

.label{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blood-drips {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 30% 10%, transparent 50%, rgba(230, 57, 70, 0.3) 51%, transparent 52%),
    radial-gradient(circle at 70% 20%, transparent 50%, rgba(230, 57, 70, 0.3) 51%, transparent 52%),
    radial-gradient(circle at 20% 80%, transparent 50%, rgba(230, 57, 70, 0.3) 51%, transparent 52%),
    radial-gradient(circle at 80% 70%, transparent 50%, rgba(230, 57, 70, 0.3) 51%, transparent 52%);
  animation: drip 8s infinite linear;
}

@keyframes drip {
  0% { transform: translateY(-5px); opacity: 0; }
  10% { opacity: 0.5; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Horror stílusú elemek */
.blood-drips {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,0 Q30,15 20,30 Q10,45 20,60 Q30,75 20,90 L25,100 L30,90 Q20,75 30,60 Q40,45 30,30 Q20,15 30,0 Z" fill="rgba(150,0,0,0.1)"/></svg>');
  background-size: 200px 200px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

.flicker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}

.blood-text {
  color: #ff3333;
  text-shadow: 0 0 5px #ff0000, 0 0 15px #7f0000;
}

.glow-text {
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.custom-hr {
  height: 3px;
  width: 400px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.blood {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ff3333, transparent);
  animation: bloodFlow 3s infinite linear;
}

@keyframes bloodFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Fejléc */
header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeIn 1s ease forwards;
  position: relative;
}

header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-family: 'Creepster', cursive;
  letter-spacing: 2px;
}

header p {
  color: #ccc;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.intro {
  background: rgba(20, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid #ff3333;
  margin: 30px auto;
  max-width: 800px;
}

.rewards {
  background: rgba(40, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #ff3333;
  max-width: 700px;
  margin: 0 auto;
}

.reward-list {
  text-align: left;
  list-style-type: none;
  padding: 0 20px;
}

.reward-list li {
  margin: 15px 0;
  padding-left: 30px;
  position: relative;
}

.reward-list li:before {
  content: '🩸';
  position: absolute;
  left: 0;
}

/* Kártyák */
.card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  animation: fadeIn 1.2s ease forwards;
}

.card {
  background: rgba(30, 0, 0, 0.5);
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid #ff3333;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,50,50,0.1) 0%, rgba(30,0,0,0.5) 70%);
  z-index: -1;
}

.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,0,0,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}

.card:hover .card-hover {
  opacity: 1;
}

.card img {
  max-width: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ff9999;
  font-family: 'Creepster', cursive;
  letter-spacing: 1px;
}

.card p {
  color: #bbb;
  font-size: 0.95rem;
}

/* Lábléc */
footer {
  text-align: center;
  margin-top: 100px;
  font-size: 1rem;
  background: linear-gradient(to right, #1a0000, #0f0f0f);
  padding: 30px 20px;
  border-top: 2px solid #ff3333;
  box-shadow: 0 -5px 20px rgba(255, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="10" viewBox="0 0 100 10"><path d="M0,0 L20,10 L40,0 L60,10 L80,0 L100,10" stroke="rgba(255,0,0,0.5)" fill="none" stroke-width="2"/></svg>');
  background-size: 100px 10px;
}

/* Animáció */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 0.4; }
  100% { opacity: 0.8; }
}

.support-wall {
  background-color: rgba(10, 0, 0, 0.7);
  padding: 3rem 2rem;
  color: #fff;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid #ff3333;
  border-bottom: 1px solid #ff3333;
  position: relative;
}

.support-wall h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Creepster', cursive;
  letter-spacing: 2px;
  animation: pulse 2s infinite;
}

.support-card {
  display: inline-block;
  background-color: rgba(40, 0, 0, 0.5);
  border: 1px solid #ff3333;
  padding: 1rem 1.5rem;
  margin: 0.5rem;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.support-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.support-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
}

.support-card:hover:before {
  left: 100%;
}

.support-name {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.support-amount {
  font-size: 0.9rem;
  color: #ffcc00;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.background-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.background-image {
  position: absolute;
  inset: 0;
  background: url('../images/catnap.png') no-repeat center center;
  background-size: cover;
  z-index: -3;
  filter: brightness(0.5) contrast(1.2);
}

#smokeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  
  .custom-hr {
    width: 80%;
  }
  
  .card {
    width: 100%;
    max-width: 350px;
  }
}

/* Brutális videós preloader stílusok */
/* Preloader alapok */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Videó konténer (reszponzív) */
.harley-video-container {
    width: 200px;  /* Smaller fixed size */
    height: 100px;
    position: relative;
}

.harley-eyes-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    filter: contrast(1.2) brightness(0.9) drop-shadow(0 0 10px #ff0000);
}

/* Betöltési szöveg */
.loading-text {
    font-family: 'Savate', sans-serif;
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
    margin: 15px 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Progress bar konténer */
.progress-container {
    width: 60%;
    max-width: 300px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 0, 0, 0.2);
}


.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff0000, #ff6666);
    transition: width 0.3s ease;
}

.loading-message {
    color: #ff5555;
    font-family: 'Truculenta', sans-serif;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animációk */
@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #ff0000;
    }
    20%, 22%, 24%, 55% {
        opacity: 0.3;
        text-shadow: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .harley-video-container {
        width: 150px;
        height: 75px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    .progress-container {
        width: 70%;
    }
}