/* GLOBALNE STYLE */

@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&display=swap');

::-webkit-scrollbar {

    display: none;

}



/* GLOBALNE STYLE - ANIMACJE */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Bai Jamjuree', sans-serif;

}



body {

    background-color: #121212;

    color: #e0e0e0;

    overflow-x: hidden;

}



/* ANIMACJA PULSUJÄ„CEGO TĹA */

@keyframes pulse {

    0% { background-color: #121212; }

    50% { background-color: #151515; }

    100% { background-color: #121212; }

}



body {

    animation: pulse 20s infinite ease-in-out;

}



/* PARTICLES - ANIMACJA */

#particles-js-home,

#particles-js-regulamin {

    position: fixed;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    z-index: -1;

    opacity: 0;

    animation: fadeIn 1.5s ease-out forwards;

}



@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



/* MASK - ANIMACJA ĹšLEDZENIA */





/* HEADER - ANIMACJE */

.main-header,

.regulamin-header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    display: flex;

    justify-content: center; /* WyĹ›rodkowanie zawartoĹ›ci */

    align-items: center;

    padding: 15px 5%;

    background: rgba(20, 20, 20, 0.95);

    border-bottom: 1px solid rgba(0, 255, 170, 0.2);

    z-index: 1000;

    backdrop-filter: blur(5px);

}

@keyframes slideDown {

    from { transform: translateY(-100%); }

    to { transform: translateY(0); }

}



.logo-container {

    position: absolute;

    left: 5%;

    display: flex;

    align-items: center; /* WyrĂłwnanie logo i tekstu w pionie */

    gap: 12px;

    transition: transform 0.3s ease;

}



.logo-img {

    height: 40px;

    width: auto;

    vertical-align: middle; /* Dodatkowe wyrĂłwnanie */

    filter: drop-shadow(0 0 5px rgba(0, 255, 170, 0.5));

}



.logo-text {

    font-size: 1.5rem;

    font-weight: 700;

    color: #00ffaa;

    text-shadow: 0 0 10px rgba(0, 255, 170, 0.3);

    line-height: 1; /* Zapobiega niepotrzebnym odstÄ™pom */

}



@keyframes float {

    0% { transform: translateY(0); }

    50% { transform: translateY(-5px); }

    100% { transform: translateY(0); }

}







.logo-text:hover {

    text-shadow: 0 0 15px rgba(0, 255, 170, 0.5);

}



.main-nav,

.regulamin-nav {

    display: flex;

    gap: 25px;

    /* UsuniÄ™te margin-left: auto */

}

.main-nav a,

.regulamin-nav a {

    color: #fff;

    text-decoration: none;

    font-weight: 500;

    position: relative;

    padding: 5px 0;

    transition: all 0.3s ease;

    opacity: 0;

    animation: fadeInUp 0.5s ease-out forwards;

    animation-delay: calc(0.2s + (var(--i) * 0.1s));

}



@keyframes fadeInUp {

    from { 

        opacity: 0;

        transform: translateY(10px);

    }

    to { 

        opacity: 1;

        transform: translateY(0);

    }

}



.main-nav a::after,

.regulamin-nav a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: #00ffaa;

    transition: width 0.3s ease-out;

}



.main-nav a:hover,

.main-nav a.active,

.regulamin-nav a:hover, 

.regulamin-nav a.active {

    color: #00ffaa;

    transform: translateY(-2px);

}



.main-nav a:hover::after,

.main-nav a.active::after,

.regulamin-nav a:hover::after,

.regulamin-nav a.active::after {

    width: 100%;

}



.main-login-btn,

.regulamin-login-btn {

    background: #00ffaa00;

    color: #11111100;

    border: none;

    padding: 8px 20px;

    border-radius: 4px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    opacity: 0;

    animation: fadeIn 0.5s ease-out 0.8s forwards;

}



.main-login-btn:hover,

.regulamin-login-btn:hover {

    background: #00cc8800;

    transform: translateY(-2px) scale(1.05);

    box-shadow: 0 4px 12px rgba(0, 255, 170, 0);

}



/* STRONA GĹĂ“WNA - ANIMACJE */

.hero-section {

    padding: 150px 5% 50px;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    z-index: 10;

}



.hero-content {

    max-width: 800px;

    margin: 0 auto;

    background: rgba(25, 25, 25, 0.7);

    border-radius: 12px;

    padding: 50px;

    backdrop-filter: blur(8px);

    border: 1px solid rgba(0, 255, 170, 0.1);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    opacity: 0;

    transform: translateY(20px);

    animation: fadeInUp 0.8s ease-out 0.5s forwards;

}



.hero-title {

    font-size: 3rem;

    margin-bottom: 30px;

    color: #fff;

    position: relative;

    overflow: hidden;

}



.hero-title span {

    color: #00ffaa;

    position: relative;

    display: inline-block;

    animation: textColorPulse 3s infinite alternate;

}



@keyframes textColorPulse {

    0% { color: #00ffaa; }

    50% { color: #00cc88; }

    100% { color: #00ffaa; }

}



.hero-title::after {

    content: '';

    display: block;

    width: 0;

    height: 3px;

    background: linear-gradient(90deg, #00ffaa, transparent);

    margin: 20px auto;

    animation: lineExpand 1s ease-out 1s forwards;

}



@keyframes lineExpand {

    from { width: 0; }

    to { width: 100px; }

}



.hero-description p {

    font-size: 1.2rem;

    line-height: 1.7;

    margin-bottom: 15px;

    opacity: 0;

    transform: translateY(10px);

    animation: fadeInUp 0.5s ease-out forwards;

    animation-delay: calc(0.8s + (var(--i) * 0.1s));

}



.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 40px;

    opacity: 0;

    animation: fadeIn 0.5s ease-out 1.3s forwards;

}



.connect-btn,

.rules-btn {

    padding: 12px 30px;

    border-radius: 6px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;

    overflow: hidden;

}



.connect-btn::after,

.rules-btn::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);

    transform: translateX(-100%);

    transition: transform 0.6s ease;

}



.connect-btn:hover::after,

.rules-btn:hover::after {

    transform: translateX(100%);

}



.connect-btn {

    background: #00ffaa;

    color: #111;

}



.connect-btn:hover {

    background: #00cc88;

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 6px 16px rgba(0, 255, 170, 0.4);

}



.rules-btn {

    background: transparent;

    color: #00ffaa;

    border: 2px solid #00ffaa;

}



.rules-btn:hover {

    background: rgba(0, 255, 170, 0.1);

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 6px 16px rgba(0, 255, 170, 0.2);

}



/* STRONA REGULAMINU - ANIMACJE */

.regulamin-main {

    padding: 120px 5% 50px;

    min-height: 100vh;

    position: relative;

    z-index: 10;

}



.regulamin-article {

    max-width: 900px;

    margin: 0 auto;

    background: rgba(25, 25, 25, 0.85);

    border-radius: 12px;

    padding: 40px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    border: 1px solid rgba(0, 255, 170, 0.1);

    backdrop-filter: blur(8px);

    opacity: 0;

    transform: translateY(20px);

    animation: fadeInUp 0.8s ease-out 0.3s forwards;

}



.regulamin-title {

    color: #fff;

    font-size: 2.5rem;

    margin-bottom: 40px;

    text-align: center;

    position: relative;

}



.regulamin-title span {

    color: #00ffaa;

    position: relative;

    animation: textColorPulse 3s infinite alternate;

}



.regulamin-title::after {

    content: '';

    display: block;

    width: 0;

    height: 3px;

    background: linear-gradient(90deg, #00ffaa, transparent);

    margin: 15px auto;

    animation: lineExpand 1s ease-out 0.5s forwards;

}



.regulamin-section {

    margin-bottom: 35px;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    opacity: 0;

    transform: translateY(10px);

    animation: fadeInUp 0.5s ease-out forwards;

    animation-delay: calc(0.5s + (var(--i) * 0.1s));

}



.regulamin-section:last-child {

    border-bottom: none;

    margin-bottom: 0;

}



.regulamin-section h2 {

    color: #00ffaa;

    font-size: 1.5rem;

    margin-bottom: 20px;

    position: relative;

    padding-left: 15px;

    transition: transform 0.3s ease;

}



.regulamin-section:hover h2 {

    transform: translateX(5px);

}



.regulamin-section h2::before {

    content: '';

    position: absolute;

    left: 0;

    top: 50%;

    transform: translateY(-50%);

    height: 0;

    width: 4px;

    background: #00ffaa;

    border-radius: 2px;

    animation: lineGrow 0.5s ease-out 0.8s forwards;

}



@keyframes lineGrow {

    from { height: 0; }

    to { height: 70%; }

}



.regulamin-content {

    line-height: 1.7;

}



.regulamin-content p {

    margin-bottom: 12px;

    opacity: 0;

    animation: fadeIn 0.5s ease-out forwards;

    animation-delay: calc(0.8s + (var(--i) * 0.05s));

}



.regulamin-list {

    padding-left: 25px;

    margin: 15px 0;

}



.regulamin-list li {

    margin-bottom: 8px;

    position: relative;

    opacity: 0;

    transform: translateX(-10px);

    animation: fadeInRight 0.4s ease-out forwards;

    animation-delay: calc(0.8s + (var(--i) * 0.07s));

}



@keyframes fadeInRight {

    from { 

        opacity: 0;

        transform: translateX(-10px);

    }

    to { 

        opacity: 1;

        transform: translateX(0);

    }

}



.regulamin-list li::before {

    content: 'â€˘';

    color: #00ffaa;

    position: absolute;

    left: -15px;

    animation: pulse 2s infinite;

}



.regulamin-footer {

    margin-top: 50px;

    text-align: center;

    font-size: 0.9rem;

    color: #aaa;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    padding-top: 20px;

    opacity: 0;

    animation: fadeIn 1s ease-out 1.2s forwards;

}



/* RESPONSYWNOĹšÄ† */

@media (max-width: 768px) {

    .main-header,

    .regulamin-header {

        flex-direction: column;

        padding: 15px;

        gap: 15px;

        justify-content: flex-start; /* Dla wersji mobilnej */

    }

    

    .logo-container {

        position: static; /* Reset pozycjonowania w wersji mobilnej */

        left: auto;

    }

    

    .main-nav,

    .regulamin-nav {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }

    .hero-section {

        padding: 180px 15px 30px;

    }

    

    .hero-content {

        padding: 30px;

    }

    

    .hero-title {

        font-size: 2.2rem;

    }

    

    .hero-description p {

        font-size: 1rem;

    }

    

    .hero-buttons {

        flex-direction: column;

        gap: 15px;

    }

    

    .regulamin-main {

        padding: 150px 15px 30px;

    }

    

    .regulamin-article {

        padding: 25px;

    }

    

    .regulamin-title {

        font-size: 2rem;

    }

}



/* DODATKOWE ANIMACJE */





/* ANIMACJA PODĹšWIETLANIA */

.highlight {

    position: relative;

    display: inline-block;

}



.highlight::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background: #00ffaa;

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.5s ease;

}



.highlight:hover::after {

    transform: scaleX(1);

    transform-origin: left;

}





/* Sekcja Ekipa - Animacje Scroll */

.team-section {

    padding: 80px 5%;

    background: rgba(15, 15, 15, 0);

    position: relative;

    z-index: 10;

    overflow: hidden;

}



.team-container {

    max-width: 1200px;

    margin: 0 auto;

}



.section-title {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 50px;

    color: #fff;

    position: relative;

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);

}



.section-title.animate {

    opacity: 1;

    transform: translateY(0);

}



.section-title span {

    color: #00ffaa;

    position: relative;

}



.section-title::after {

    content: '';

    display: block;

    width: 0;

    height: 3px;

    background: linear-gradient(90deg, #00ffaa, transparent);

    margin: 15px auto;

    transition: width 1s ease 0.3s;

}



.section-title.animate::after {

    width: 100px;

}



.team-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 30px;

    margin-top: 40px;

}



.team-member {

    background: rgba(25, 25, 25, 0.8);

    border-radius: 10px;

    padding: 25px;

    text-align: center;

    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    border: 1px solid rgba(0, 255, 170, 0.1);

    backdrop-filter: blur(5px);

    opacity: 0;

    transform: translateY(40px) scale(0.95);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

}



.team-member.animate {

    opacity: 1;

    transform: translateY(0) scale(1);

}



.team-member:hover {

    transform: translateY(-10px) scale(1.02) !important;

    box-shadow: 0 15px 30px rgba(0, 255, 170, 0.15);

    border-color: rgba(0, 255, 170, 0.3);

    background: rgba(30, 30, 30, 0.9);

}



.member-avatar {

    width: 120px;

    height: 120px;

    border-radius: 50%;

    overflow: hidden;

    margin: 0 auto 20px;

    border: 3px solid rgba(0, 255, 170, 0.3);

    transition: all 0.5s ease;

    position: relative;

}



.team-member:hover .member-avatar {

    border-color: #00ffaa;

    transform: scale(1.05);

}



.member-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.member-name {

    color: #00ffaa;

    font-size: 1.4rem;

    margin-bottom: 5px;

    text-shadow: 0 0 10px rgba(0, 255, 170, 0.2);

}



.member-role {

    color: #aaa;

    font-weight: 500;

    margin-bottom: 15px;

    font-size: 0.9rem;

    position: relative;

    display: inline-block;

}



.member-role::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 50%;

    transform: translateX(-50%);

    width: 0;

    height: 1px;

    background: #00ffaa;

    transition: width 0.3s ease;

}



.team-member:hover .member-role::after {

    width: 50px;

}



.member-desc {

    color: #e0e0e0;

    line-height: 1.6;

    font-size: 0.95rem;

}



/* Animacje pojawiania siÄ™ */

@keyframes fadeInScale {

    from {

        opacity: 0;

        transform: translateY(40px) scale(0.95);

    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);

    }

    from {

        opacity: 0;

        transform: translateY(40px) scale(0.95);

    }

}



/* ResponsywnoĹ›Ä‡ */

@media (max-width: 768px) {

    .team-grid {

        grid-template-columns: 1fr;

        max-width: 400px;

        margin: 0 auto;

    }

    

    .team-member {

        padding: 20px;

    }

    

    .section-title {

        font-size: 2rem;

    }

}





/* Footer */

.main-footer {

    position: relative;

    background: rgba(20, 20, 20, 0.95);

    padding: 40px 5%;

    border-top: 1px solid rgba(0, 255, 170, 0.1);

    overflow: hidden;

    z-index: 20;

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);

}



.main-footer.animate {

    opacity: 1;

    transform: translateY(0);

}



.footer-content {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;

    z-index: 2;

}



.footer-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    transition: transform 0.5s ease;

}



.footer-logo:hover {

    transform: scale(1.05);

}



.footer-logo-img {

    height: 30px;

    width: auto;

    filter: drop-shadow(0 0 5px rgba(0, 255, 170, 0.5));

}



.footer-logo-text {

    font-size: 1.4rem;

    font-weight: 600;

    color: #00ffaa;

    text-shadow: 0 0 10px rgba(0, 255, 170, 0.3);

}



.footer-copyright {

    color: #aaa;

    font-size: 0.9rem;

    text-align: center;

    position: relative;

}



.footer-copyright::before {

    content: '';

    display: block;

    width: 50px;

    height: 1px;

    background: linear-gradient(90deg, transparent, #00ffaa, transparent);

    margin: 0 auto 15px;

    opacity: 0.5;

}



.footer-copyright p {

    margin: 0;

    padding: 5px 0;

    position: relative;

}



.current-year {

    color: #00ffaa;

    font-weight: 600;

}



.footer-particles {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    opacity: 0.3;

}



/* Animacja pojawiania siÄ™ */

@keyframes footerAppear {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* ResponsywnoĹ›Ä‡ */

@media (max-width: 768px) {

    .main-footer {

        padding: 30px 15px;

    }

    

    .footer-logo {

        flex-direction: column;

        text-align: center;

        gap: 8px;

    }

    

    .footer-logo-text {

        font-size: 1.2rem;

    }

    

    .footer-copyright {

        font-size: 0.8rem;

    }

}





/* Sekcja FAQ */

.faq-section {

    padding: 100px 5%;

    background: rgba(20, 20, 20, 0);

    position: relative;

    z-index: 10;

}



.faq-container {

    max-width: 800px;

    margin: 0 auto;

}



.faq-list {

    margin-top: 50px;

    display: flex;

    flex-direction: column;

    gap: 20px; /* SpĂłjny odstÄ™p miÄ™dzy pytaniami */

}



.faq-item {

    border-radius: 8px;

    background: rgb(20, 20, 20, 0);

    border: 1px solid rgba(0, 255, 170, 0.1);

    backdrop-filter: blur(5px);

    transition: all 0.4s ease-out;

    opacity: 0;

    transform: translateY(20px);

    overflow: hidden;

}



.faq-item.animate {

    opacity: 1;

    transform: translateY(0);

}



.faq-question {

    width: 100%;

    padding: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: transparent;

    border: none;

    color: #e0e0e0;

    font-size: 1.1rem;

    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition: all 0.3s ease;

}



.faq-question:hover {

    color: #00ffaa;

    background: rgba(0, 255, 170, 0.05);

}



.faq-question span {

    margin-right: 20px;

    flex: 1;

}



.faq-icon {

    width: 20px;

    height: 20px;

    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    color: #00ffaa;

    flex-shrink: 0;

}



.faq-item.active .faq-icon {

    transform: rotate(180deg);

}



.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: 

        max-height 0.6s cubic-bezier(0.33, 1, 0.68, 1),

        padding 0.4s ease,

        opacity 0.3s ease 0.1s;

    background: rgba(20, 20, 20, 0.5);

    opacity: 0;

}



.faq-item.active .faq-answer {

    max-height: 500px;

    opacity: 1;

    padding: 0 25px 25px;

}



.faq-answer-content {

    padding-top: 10px;

    opacity: 0;

    transform: translateY(-5px);

    transition: 

        opacity 0.3s ease 0.2s,

        transform 0.3s ease 0.2s;

}



.faq-item.active .faq-answer-content {

    opacity: 1;

    transform: translateY(0);

}



.faq-answer p {

    margin: 0;

    line-height: 1.7;

    color: #ccc;

    padding-bottom: 5px;

}



/* Sekwencyjne pojawianie siÄ™ */

.faq-item:nth-child(1) { transition-delay: 0.1s; }

.faq-item:nth-child(2) { transition-delay: 0.2s; }

.faq-item:nth-child(3) { transition-delay: 0.3s; }

.faq-item:nth-child(4) { transition-delay: 0.4s; }

.faq-item:nth-child(5) { transition-delay: 0.5s; }



/* ResponsywnoĹ›Ä‡ */

@media (max-width: 768px) {

    .faq-section {

        padding: 80px 15px;

    }

    

    .faq-list {

        margin-top: 30px;

        gap: 15px;

    }

    

    .faq-question {

        padding: 20px;

        font-size: 1rem;

    }

    

    .faq-item.active .faq-answer {

        padding: 0 20px 20px;

    }

    

    .faq-question span {

        margin-right: 15px;

    }

}





/* Custom Scrollbar */

::-webkit-scrollbar {

    width: 12px;

    height: 12px;

}



::-webkit-scrollbar-track {

    background: rgba(20, 20, 20, 0.8);

    border-left: 1px solid rgba(0, 255, 170, 0.1);

}



::-webkit-scrollbar-thumb {

    background: linear-gradient(45deg, #00ffaa, #00cc88);

    border-radius: 6px;

    border: 2px solid rgba(20, 20, 20, 0.8);

    transition: all 0.3s ease;

}



::-webkit-scrollbar-thumb:hover {

    background: linear-gradient(45deg, #00ffaa, #00ffaa);

    box-shadow: 0 0 5px rgba(0, 255, 170, 0.5);

}



::-webkit-scrollbar-corner {

    background: rgba(20, 20, 20, 0.8);

}



/* Dla Firefox */

html {

    scrollbar-width: thin;

    scrollbar-color: #00ffaa rgba(20, 20, 20, 0.8);

}



/* Animacja pojawiania siÄ™ scrollbara */

body {

    scrollbar-gutter: stable;

}



body:hover::-webkit-scrollbar-thumb {

    background: linear-gradient(45deg, #00ffaa, #00cc88);

}







/* Sekcja O Nas */

.about-section {

    padding: 100px 5%;

    background: rgba(20, 20, 20, 0);

    position: relative;

    z-index: 10;

}



.about-container {

    max-width: 1200px;

    margin: 0 auto;

}



.about-content {

    display: flex;

    gap: 40px;

    margin-top: 50px;

    align-items: center;

}



.about-text {

    flex: 1;

    line-height: 1.7;

    font-size: 1.1rem;

    color: #e0e0e0;

}



.about-text p {

    margin-bottom: 20px;

}



.about-features {

    margin: 25px 0;

    padding-left: 20px;

}



.about-features li {

    margin-bottom: 15px;

    position: relative;

    padding-left: 30px;

}



.about-features li::before {

    content: '';

    position: absolute;

    left: 0;

    top: 10px;

    width: 15px;

    height: 2px;

    background: #00ffaa;

}



.about-features li span {

    color: #00ffaa;

    font-weight: 600;

}



.about-image {

    flex: 1;

    position: relative;

}



.about-img {

    width: 100%;

    border-radius: 8px;

    border: 1px solid rgba(0, 255, 170, 0.2);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

}



.about-stats {

    display: flex;

    gap: 20px;

    margin-top: 30px;

    justify-content: center;

}



.stat-item {

    text-align: center;

    background: rgba(25, 25, 25, 0.8);

    padding: 20px;

    border-radius: 8px;

    border: 1px solid rgba(0, 255, 170, 0.1);

    min-width: 150px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px; /* OdstÄ™p miÄ™dzy liczbÄ… a tekstem */

}



.stat-number,

.counting-number {

    display: block;

    font-size: 2rem;

    font-weight: 700;

    color: #00ffaa;

    margin-bottom: 0; /* UsuniÄ™to margines */

    line-height: 1;

}

.stat-label {

    display: block;

    font-size: 0.9rem;

    color: #aaa;

    line-height: 1.2;

    text-align: center;

    margin-top: 0; /* UsuniÄ™to margines */

}



/* Animacje */

.about-content {

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.8s ease-out;

}



.about-section.in-view .about-content {

    opacity: 1;

    transform: translateY(0);

}



/* ResponsywnoĹ›Ä‡ */

@media (max-width: 992px) {

    .about-content {

        flex-direction: column;

    }

    

    .about-image {

        margin-top: 40px;

        width: 100%;

    }

}



@media (max-width: 576px) {

    .about-stats {

        flex-direction: column;

    }

    

    .stat-item {

        width: 100%;

    }

}





/* Animacja odliczania dla specjalnej klasy */

.counter-container {

    position: relative;

    height: 2.5rem;

    overflow: hidden;

}







.counting-number.final-value {

    transform: translateY(100%);

    opacity: 0;

}



.counting-number.animate-final {

    transform: translateY(0);

    opacity: 1;

}



.counting-number.animate {

    animation: none; /* Resetujemy domyĹ›lnÄ… animacjÄ™ */

}



.counting-number::before {

    content: attr(data-final);

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    text-align: center;

    opacity: 0;

}





.counter-wrapper {

    position: relative;

    height: 2.5rem;

    width: 100%;

    overflow: hidden;

}



.counting-number,

.final-value {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    text-align: center;

    font-size: 2rem;

    font-weight: 700;

    color: #00ffaa;

    line-height: 2.5rem;

}



.final-value {

    transform: translateY(100%);

    opacity: 0;

    transition: transform 0.5s ease, opacity 0.5s ease;

}



.final-value.visible {

    transform: translateY(0);

    opacity: 1;

}



.counting-number {

    transition: transform 0.5s ease, opacity 0.5s ease;

}



@keyframes countUp {

    0% {

        content: "0";

    }

    70% {

        content: counter(num);

    }

    100% {

        content: attr(data-final);

        opacity: 1;

    }

}



@property --end-value {

    syntax: '<integer>';

    inherits: false;

    initial-value: 0;

  }



