:root {
    --primary-red: #d32f2f;
    --bg-light: #ffffff;
    --dot-color: rgba(211, 47, 47, 0.15);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    background-image: radial-gradient(var(--dot-color) 2px, transparent 2px);
    background-size: 30px 30px;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.main-logo {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 140px;
    margin: 0 auto 30px auto;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--glow-color);
    filter: brightness(1.1);
}

.btn i {
    position: absolute;
    left: 20px;
    font-size: 22px;
}

.btn .custom-icon {
    position: absolute;
    left: 20px;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.btn-facebook {
    background: linear-gradient(to top right, #1877F2, #4294ff);
    color: #ffffff;
    --glow-color: rgba(24, 119, 242, 0.4);
}

.btn-paypal {
    background: linear-gradient(to top right, #0070BA, #009cde);
    color: #ffffff;
    --glow-color: rgba(0, 112, 186, 0.4);
}

.btn-kingmods {
    background: linear-gradient(to top right, #7D9000, #9bb300);
    color: #ffffff;
    --glow-color: rgba(125, 144, 0, 0.4);
}

.btn-modhub {
    background: linear-gradient(to top right, #3D5C00, #5c8a00);
    color: #ffffff;
    --glow-color: rgba(61, 92, 0, 0.4);
}

.btn-tiktok {
    background: linear-gradient(to top right, #000000, #444444);
    color: #ffffff;
    --glow-color: rgba(0, 0, 0, 0.4);
}

.btn-email {
    background: transparent;
    color: #666666;
    border: 2px solid #666666;
    --glow-color: rgba(102, 102, 102, 0.3);
}

.btn-email:hover {
    background: #666666;
    color: #ffffff;
}

.btn-highlight {
    background: linear-gradient(to top right, #f4f4f9, #ffffff);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    --glow-color: rgba(211, 47, 47, 0.5);
    animation: pulse-glow 2s infinite;
}

.btn-highlight:hover {
    background: linear-gradient(to top right, var(--primary-red), #f44336);
    color: white;
    animation: none;
    border-color: transparent;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { box-shadow: 0 0 15px 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

#captcha-container {
    display: none;
    margin-top: 5px;
    padding: 15px;
    background: #fff3f3;
    border: 1px dashed var(--primary-red);
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#captcha-container p { margin: 0; font-size: 14px; color: #555; font-weight: 600; }

#email-result { display: none; margin-top: 5px; padding: 15px; background: #f4f4f9; border-radius: 8px; font-weight: bold; font-size: 18px; }
#email-result a { color: var(--primary-red); text-decoration: none; word-break: break-all; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 100;
}

.lang-switcher button {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #888888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-switcher button:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.lang-switcher button.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
}

/* ----- Projekt oldal ----- */

.project-card {
    max-width: 500px;
    text-align: left;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #666666;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: var(--primary-red);
}

.project-title {
    font-size: 26px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 20px 0;
    text-align: center;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.info-block {
    text-align: center;
}

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999999;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-value {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
}

.platforms-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 8px;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #444444;
}

.platform-icon i {
    font-size: 24px;
}

.platform-icon .platform-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fsh-box {
    margin: 24px 0;
    padding: 18px;
    background: #fff3f3;
    border: 1px dashed var(--primary-red);
    border-radius: 8px;
    text-align: center;
}

.fsh-box p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #444444;
    font-weight: 600;
}

.fsh-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.fsh-box a:hover {
    text-decoration: underline;
}

.content-section {
    margin-bottom: 26px;
}

.content-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 10px 0;
}

.content-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 10px 0;
}

.content-section ul {
    margin: 0;
    padding-left: 20px;
}

.content-section ul li {
    font-size: 14px;
    line-height: 1.7;
    color: #444444;
}

@media (min-width: 700px) {
    .project-card {
        max-width: 700px;
        padding: 50px 60px;
    }

    .info-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .info-block {
        flex: 1;
    }

    .project-title {
        font-size: 30px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.gallery-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}
