:root {
    --primary: #d32f2f;
    --secondary: #1976d2;
    --gray: #f4f4f4; /* Ez a szürke szín */
}

body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; background: #fff; color: #333; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.main-header { background: #222; color: white; text-align: center; padding: 40px 0; }
.main-header h1 { margin: 0; font-size: 2.5rem; font-family: 'Montserrat'; text-transform: uppercase; }
.main-header h2 { margin: 10px 0; color: var(--primary); font-family: 'Montserrat'; }
.motto { font-style: italic; font-size: 1.2rem; }

/* Hero Section */
.hero-donation { display: flex; gap: 40px; margin-top: 30px; align-items: stretch; } /* Stretch segít az igazításban */
.hero-column-left { flex: 1; display: flex; flex-direction: column; }
.donation-box { flex: 1; background: var(--gray); padding: 30px; border-radius: 10px; position: relative; }

/* Képek */
.hero-image img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Bal oldali szürke blokk */
.manual-transfer.static-block {
    background: var(--gray); /* Most már szürke, mint a jobb oldal */
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    margin-top: auto; /* Ez tolja le a blokkot az aljára, hogy egyvonalban legyen a jobb oldal aljával */
}

.static-block h4 { margin: 0 0 15px 0; color: #444; border-bottom: 2px solid var(--secondary); padding-bottom: 5px; }
.manual-transfer { font-size: 0.9rem; }
.transfer-comments { padding-left: 15px; margin: 5px 0; font-size: 0.8rem; color: #555; }

/* RePont a jobb oldalon */
.repont { text-align: center; margin-top: 25px; border-top: 1px solid #ccc; padding-top: 20px; }
.qr-placeholder { background: #fff; height: 120px; width: 120px; display: flex; align-items: center; justify-content: center; border: 1px dashed #999; margin: 0 auto; font-size: 0.75rem; color: #888; }

/* Counter & Form */
.dev-badge { background: #ff9800; color: white; padding: 5px 15px; font-weight: bold; position: absolute; top: -10px; right: -10px; transform: rotate(5deg); }
.counter { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 20px; border: 2px solid var(--secondary); text-align: center; }
.counter .amount { display: block; font-size: 1.8rem; font-weight: bold; color: var(--secondary); }
.amount-presets { display: flex; gap: 10px; margin-bottom: 15px; }
.amount-presets button { flex: 1; padding: 12px; cursor: pointer; border: 1px solid #ccc; background: #fff; font-weight: bold; }
.donation-form input[type="number"] { width: 100%; padding: 12px; margin-bottom: 15px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }
.target-select { margin-bottom: 20px; text-align: left; margin-top: 20px;}
.target-select label { display: block; margin-bottom: 8px; font-size: 0.9rem; cursor: pointer; }
.btn-pay { width: 100%; padding: 15px; background: #ccc; color: white; border: none; font-size: 1.1rem; font-weight: bold; border-radius: 5px; cursor: not-allowed; }

/* Bio Section */
.bio-section { margin: 60px 0; }
.bio-tabs { display: flex; border-bottom: 2px solid #ddd; margin-bottom: 20px; }
.tab-btn { padding: 15px 25px; border: none; background: none; cursor: pointer; font-size: 1rem; font-weight: bold; color: #777; }
.tab-btn.active { color: var(--primary); border-bottom: 4px solid var(--primary); }
.bio-content { display: none; line-height: 1.8; font-size: 1.1rem; text-align: justify; hyphens: auto; }
.bio-content.active { display: block; }
.quote-box { background: #f9f9f9; padding: 30px; border-left: 5px solid var(--primary); margin: 35px 0; font-style: italic; font-weight: bold; text-align: center; }

/* Galéria */
.haha-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.gallery-item { text-align: center; background: var(--gray); padding: 10px; border-radius: 8px; }
.gallery-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }

/* Alsó gombok */
.bottom-cta { display: flex; justify-content: center; gap: 20px; margin-top: 40px; padding: 25px 0; border-top: 1px solid #eee; }
.btn-scroll { background-color: #27ae60; color: white; }
.btn-next-tab { background-color: var(--secondary); color: white; }
.btn-scroll, .btn-next-tab { padding: 15px 35px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; }

@media (max-width: 800px) {
    .hero-donation { flex-direction: column; }
    .bottom-cta { flex-direction: column; }
}