* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at center, #0d1b3e 0%, #050b1a 100%);
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Animacja Fade In dla całej strony */
.fade-in {
    animation: pageFadeIn 0.8s ease-in-out;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Banery reklamowe */
.ads-banner {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    z-index: 10;
}

.top-banner {
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.bottom-banner {
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.ads-placeholder {
    width: 728px;
    height: 90px;
    background: #112240;
    border: 1px dashed #00ffff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ffff;
    font-family: "Sarpanch", sans-serif;
    font-size: 1rem;
}

/* Główny wrapper */
.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 2rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.header-content {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container .logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
}

.app-link {
    display: inline-block;
    font-family: "Zen Dots", sans-serif;
    font-size: 1.8rem;
    color: #00ffff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.app-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.9);
}

/* Menu */
.main-menu {
    margin-bottom: 2rem;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-menu li a {
    font-family: "Sarpanch", sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-menu li a:hover, 
.main-menu li a.active {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Kontener Zawartości (Centralny) */
.tab-content {
    background: rgba(10, 25, 47, 0.85);
    padding: 2.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    margin-top: 1rem;
}

.tab-content h2 {
    font-family: "Zen Dots", sans-serif;
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.text-content p {
    font-family: "Sarpanch", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1.2rem;
}

.text-content strong {
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.action-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    border: 1px solid #00ffff;
    color: #00ffff;
    text-decoration: none;
    font-family: "Zen Dots", sans-serif;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background: #00ffff;
    color: #0a192f;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* Formularz kontaktowy */
.contact-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: #0a192f;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    color: #fff;
    font-family: "Sarpanch", sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-group label {
    font-family: "Sarpanch", sans-serif;
    color: #00ffff;
}

.captcha-group input {
    width: 80px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-family: "Zen Dots", sans-serif;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #00ffff;
    color: #0a192f;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* LinkedIn Link */
.linkedin-container {
    text-align: center;
    margin-top: 1rem;
}

.linkedin-link {
    font-family: "Sarpanch", sans-serif;
    font-size: 1.1rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Honeypot */
.hidden-field {
    display: none;
}

/* Popup AdBlock */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #0a192f;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    max-width: 500px;
}

.popup-content h2 {
    font-family: "Zen Dots", sans-serif;
    color: #00ffff;
    margin-bottom: 1.5rem;
}

.popup-content p {
    font-family: "Sarpanch", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.reload-btn {
    margin-top: 1.5rem;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-family: "Zen Dots", sans-serif;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.reload-btn:hover {
    background: #00ffff;
    color: #0a192f;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* Responsywność */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 1rem;
    }
    
    .app-link {
        font-size: 1.2rem;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .ads-placeholder {
        width: 320px;
        height: 50px;
        font-size: 0.8rem;
    }
}
