body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfdfd;
}

.header-bg {
    background: linear-gradient(to right, #f43f5e, #f97316, #fcd34d);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #fde68a;
}

.btn-action,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-action {
    background-color: #f43f5e;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 20px rgba(244, 63, 94, 0.25);
}

.btn-secondary {
    background-color: #f9fafb;
    color: #1f2937;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.filter-select,
.filter-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25);
}

.section-title {
    font-weight: 700;
    color: #be123c;
}

.stat-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.body-content {
    transition: padding-top 0.3s ease-in-out;
}

.top-10-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-10-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.top-10-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.top-10-rank {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: #854d0e;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.top-10-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
    text-align: center;
}

.top-10-votes {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.card {
    border-radius: 1.25rem;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.stat-card {
    border-radius: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.35rem;
    word-break: break-all;
}

.countdown-value {
    font-weight: 700;
    font-size: 1.5rem;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-separator {
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-card-custom {
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
}

.modal-vote-btn-circle {
    width: 140px;
    height: 140px;
    border-radius: 9999px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(45deg, #14b8a6, #0d9488);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.modal-vote-btn-circle:hover:not(:disabled) {
    transform: scale(1.04);
}

/* Disabled gomb */
.modal-vote-btn-circle:disabled {
    background: linear-gradient(45deg, #cbd5e1, #94a3b8);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.9;
    color: #334155;
}
.modal-vote-btn-circle:disabled #modal-vote-btn-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    opacity: 1;
    line-height: 1.3;
}

.share-btn-modal {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.share-btn-modal:hover {
    transform: scale(1.08);
}

#back-to-top {
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 20px rgba(244, 63, 94, 0.3);
}

#back-to-top:hover {
    transform: translateY(-2px);
}

/* KÁRTYA ELRENDEZÉS */
.gallery-card {
    border-radius: 1.5rem;
    background-color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.14);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.gallery-card .info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.gallery-card .info h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.gallery-card .info p {
    color: #4b5563;
    font-size: 0.9rem;
}

.gallery-card .vote-pill {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background-color: rgba(244, 63, 94, 0.15);
    color: #be123c;
    font-weight: 600;
    font-size: 0.85rem;
}

.card-actions {
    display: flex;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
    flex-shrink: 0;
}

.card-action-btn {
    flex: 1 1 0%;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
}
.card-action-btn:hover { background-color: #f9fafb; }
.card-action-btn:first-child { border-right: 1px solid #f3f4f6; }
.card-action-btn i.fa-solid.fa-heart { color: #f43f5e; }

.modal-action-btn {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.modal-action-btn:hover { background-color: #f9fafb; border-color: #9ca3af; }
.modal-action-btn[data-active="true"] { background-color: #fef2f2; border-color: #fca5a5; color: #be123c; }

.hidden { display: none !important; }

/* miniMano placeholder/tippek */
.minimano-placeholder { max-width: 900px; margin-left: auto; margin-right: auto; }
