@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,401,500,700&display=swap');

:root {
    --background: #222222;
    --text: #fdfdfd;
    --text-darker: #cccccc;
    --link: #399cff;
    --container: #1c1c1c;
    --footer: #0d0d12;
    --navbar: #2c2c2c;
    --section: #272727;
}

* {
    font-family: 'Satoshi', sans-serif !important;
}

body {
    background-color: var(--background);
    color: var(--text);
    padding: 0;
    margin: 0;
}

/* -- START STRONA GŁOWNA -- */

.navbar {
    padding: 0 40px;
    display: flex;
    position: fixed;
    width: 100%;
    z-index: 999;
    justify-content: space-between;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.scrolled {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.75);
    /* background-color: var(--footer); */
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.navbar-logo {
    width: 70px;
    scale: 85%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-wrap {
    transform: translateX(180px);
}

.nav-visible {
    opacity: 1;
}

.menu {
    border-radius: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translateX(-180px);
    display: flex;
    z-index: 999;
    align-items: center;
    transition: all 0.3s ease;
}

.menu > li {
    position: relative;
    margin: 0 15px;
}

.menu > li > a {
    color: var(--text);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s ease;
    border-radius: 10px;
}

.menu > li > a:hover {
    background-color: #444;
    color: var(--link);
}

.dropdown-arrow {
    display: none;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 0;
}

.arrow-flip {
    transform: rotate(180deg);
}

.mega-nav {
    display: none;
    position: absolute;
    z-index: 9999;
    border-radius: 10px;
    top: 100%;
    right: 1%;
    background-color: #333;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    text-align: right;
}

.mega-nav a {
    border-radius: 5px;
    transition: all 0.3s ease;
    color: var(--text);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.mega-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-nav li:last-child {
    border-bottom: none;
}

.mega-nav a:hover {
    background-color: #555;
    color: var(--link);
}

/* hover dla komputerowych ekranow */
@media (min-width: 601px) {
    .menu > li:hover .mega-nav {
        display: block;
    }
}

.hero {
    position: relative;
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    overflow: hidden;
}

.hero-content-wrapper {

}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -999;
}

.hero-backdrop video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px) brightness(40%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse at center bottom,
        rgba(0, 136, 255, 0.204) 0%,
        transparent 70%
    );
    filter: blur(100px);
    z-index: -5;
    pointer-events: none;
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.05;
    filter: blur(2px);  
    pointer-events: none;
    background-color: #cd46b4;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 10px;
}

.hero-title span {
    background: linear-gradient(90deg, #FFB6B6, #00d2ff, #3a7bd5, #FFB6B6);
    background-size: 400% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gemini-flash 20s linear infinite;
    font-size: 40px;
}

@keyframes gemini-flash {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.hero-top img {
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    height: auto;
    filter: drop-shadow(1rem 1rem 1.3rem #000000);
}

.hero-description {
    color: cornflowerblue;
    margin: 20px;
}

.hero-btns button {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    margin: 3px;
    width: 190px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.2;
    position: relative;
}

.main-cta {
    background-color: #2463eb;
    color: #fff;
    border: 1px solid #1949b2;
}

.main-cta:hover {
    background-color: #1c52cf;
    border-color: #1c52cf;
    box-shadow: 0 0 18px rgba(63, 122, 255, 0.4);
    border: 1px solid rgba(106, 166, 255, 0.6);
}

.sub-cta {
    background-color: rgba(14, 46, 121, 0.27);
    color: #ffffff;
    border: 1px solid rgba(106, 166, 255, 0.6);
}

.sub-cta:hover {
    background-color: rgba(63, 122, 255, 0.1);
    border-color: rgba(106, 166, 255, 1);
    box-shadow: 0 0 18px rgba(63, 122, 255, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: translateX(-20px);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-active {
    display: flex;
}

.site-footer {
    background-color: var(--footer);
    border: 2px solid rgba(255, 255, 255, 0.125);
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-column p, .footer-column a {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    max-width: 100px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.news-placeholder {
    display: flex;
    transform: translateY(50px);
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 30px;
}

.news {
    display: flex;
}

.news-placeholder h2 {
    font-size: 32px;
}

.news-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background-color: var(--container);
    max-width: 450px;
    margin: 10px;
    border-radius: 20px;
    box-shadow: 1px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-box h3 {
    font-size: 28px;
    margin: 10px;
}

.news-box p {
    margin: 0;
}

.news-content {
    filter: blur(10px);
}

.secret button {
    opacity: 0.3%;
    font-size: 50px;
    padding: 30px 30px;
}

.msza {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 1000;
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: center;
}

.xd {
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    color: red;
    font-family: sans-serif;
}

.msza.sigma {
    display: flex !important;
}

.edit-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(57, 156, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.edit-btn:hover {
    background: rgba(57, 156, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .hamburger {
        display: flex;
    }
    .navbar {
        top: 0;
        align-items: center;
        justify-content: space-between;
    }
    .dropdown-arrow {
        display: inline-block;
    }
    .menu > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .menu {
        display: none;
        position: absolute;
        align-items: flex-start;
        top: 80px;
        right: 10px;
        flex-direction: column;
        background-color: #333;
        border-radius: 10px;
        width: 200px;
        transform: translateX(-50px);
        padding: 10px 0;
    }
    .menu > li {
        width: 100%;
        transform: translateX(-15px);
    }
    .menu-active {
        display: flex;
    }
    .mega-nav {
        position: static;
        margin-left: 20px;
        box-shadow: none;
        text-align: left;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .logo-wrap {
        transform: translateX(10px);
    }
    .hero-content-wrapper {
        transform: translateX(-35px); /* mi sie juz nie chce zyc */
        width: 90%;
        padding: 60px 50px;
    }
    .hero-top img {
        min-width: 300px
    }
    .hero-description {
        font-size: 1rem;
        margin: 15px 0;
    }
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hero-btns button {
        width: 100%;
        padding: 0.75rem;
    } 
    .mega-open {
        max-height: 500px;
    }
    .news {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }  
}

/* -- END STRONA GŁOWNA -- */

/* START GLOBALNY CSS */

.article {
    display: flex;
    flex-direction: column;
    padding: 70px;
    gap: 10px;
}

.article-title {
    font-size: 40px;
    margin: 0;
}

.article-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

p {
    font-size: 21px;
    margin: 5px 0;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.article > img, .article-row > img {
    border-radius: 20px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.5);
}

.table-container {
    max-width: 800px;
    width: 100%;
    overflow-x: auto;
    margin: 5px 0;
}

.table-title {
    font-size: 32px;
    margin: 5px 0px;
}

.table-description {
    margin: 0;
    color: var(--text);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: #1d1d1d;
}
th, td {
    border: 1px solid #333;
    padding: 0.8rem;
}
th {
    background-color: #222;
    font-weight: 600;
}

/* lista definicji 👑 */
dl {
    width: 80%;
    margin: auto;
    padding: 30px;
}

dt {
    color: var(--link);
    font-size: 25pt;
    margin-bottom: 15px;
}

dd {
    color: white;
    font-size: 20pt;
    /* text-align:justify; */
    margin-left: 0;
}

hr {
    margin: 25px 0;
}

.clean-link {
    color: var(--text);
    text-decoration: none;
}

.clean-link:visited {
    color: var(--text); 
}

.clean-link:hover,
.clean-link:focus,
.clean-link:active {
    color: var(--text); 
    text-decoration: none;
}

@media (max-width: 600px) {
    .article {
        text-align: center;
        padding: 0 !important;
    }
    .article-row {
        flex-direction: column;
    }
    th, td {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    dl {
        text-align: center;
    }
    dt {
        justify-self: center;
        margin: 0 !important;
    }
    dd {
        text-align: center;
    }
}

/* END GLOBALNY CSS */