

body {
  font-family: 'Funnel Sans', sans-serif;
  background: #000;
  padding-top: 230px;
  
}
@font-face {
    font-family: 'Varsity';
    
    src: url('../fonts/varsity_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Freshman';
    src: url('../fonts/Freshman.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

:root {
    --shark-dark-blue: rgba(14, 45, 91, 0.9);
    --glow-line-color: #00c6ff;
    --accent-blue: #00a2ff;
    --shark-red-gradient: linear-gradient(135deg, #ff4b2b, #dc2626);
    --section-gap: 150px; }

html {
    
    overflow-y: scroll; 
    overflow-x: hidden;
}

html, body{

    margin: 0;
}



body {
  -ms-overflow-style: none;
  margin-top: 100px;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
      linear-gradient(to bottom,
          rgba(0, 0, 0, 0.35) 0%,
          rgba(0, 0, 0, 0) 15%,
          rgba(0, 0, 0, 0) 85%,
          rgba(0, 0, 0, 0.5) 100%
      ),
      url("/static/img/d.jpg") center top / auto 100% repeat-y;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: brightness(1.05);
}

:root {
    
    --shark-dark-blue: rgba(14, 45, 91, 0.9);  
    --shark-light-edge: rgba(14, 45, 91, 0.2); 
    --glow-line-color: #00c6ff;                
    --accent-blue: #00a2ff;                    
    --shark-red-gradient: linear-gradient(135deg, #ff4b2b, #dc2626);
    --shark-light-edge: rgba(14, 45, 91, 0);
}


.main-header {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 162, 255, 0.3) inset;
    
    
}

.club-name-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    padding-left: 15vw; 
    padding-right: 1vw; 
    box-sizing: border-box;
    transform: translate(1.6vw);
}

.club-logo-img {
    height: clamp(120px, 16vw, 550px);
    
    width: auto;
    max-width: 100%; 
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    margin: 0;
    
    transform: translate(1vw, 1vw);
}


.header-container {
    position: relative;
    width: 100%;
}


.logo-wrapper {
    position: absolute;
    left: 2%;
    top: 0px;
    z-index: 1100;
}


.scroll-arrow {
    display: none;
}


.aktualnosci-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shark_logo_nav {
    height: clamp(160px, 19.3vw, 420px);
    
    width: auto; 
    
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.6));
    z-index: 1100;
    
    
}

.top-bar {
    position: relative;
    padding: 0.4vw 2% 1vw 2%; 
    min-height: 120px;

    background:
        linear-gradient(
            to right,
            rgba(14, 45, 91, 0.55) 0%,
            rgba(14, 45, 91, 0.82) 22%,
            rgba(14, 45, 91, 0.82) 78%,
            rgba(14, 45, 91, 0.55) 100%
        );

    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);

    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(0, 198, 255, 0.15);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -20px 45px rgba(0,0,0,0.18),
        0 10px 35px rgba(0,0,0,0.25);

    overflow: visible;
}

.top-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.16) 0%,
            rgba(255,255,255,0.04) 28%,
            transparent 55%
        );

    opacity: 0.65;
}




.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; 
    
    background: linear-gradient(to right, transparent 0%, var(--glow-line-color) 50%, transparent 100%);
    
    box-shadow: 0 0 15px var(--glow-line-color), 0 0 5px white;
    opacity: 0.9;
    z-index: 1005;
}



.nav_cta {
    position: absolute;
    right: 2%;         
    top: 108.5%;          
    z-index: 1100;
    
    background: var(--shark-red-gradient);
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, color 0.4s ease;
    
    transform: translate(-2vw, 1vw) translateY(-50%) skewX(-12deg); 
    
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
}


.nav_cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
}


.nav_cta:hover {
    
    transform: translate(-2vw, 1vw) translateY(-50%) skewX(-12deg) scale(1.1) translateY(-3px);
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.8), 0 0 10px white;
    color: white;
}

.nav_cta:hover::before {
    left: 150%;
}


.main-nav {
    background: linear-gradient(
        to right,
        rgba(10, 35, 75, 0.08) 0%,
        rgba(8, 25, 60, 0.9) 30%,
        rgba(8, 25, 60, 0.9) 70%,
        rgba(10, 35, 75, 0.08) 100%
    );

    padding: 8px 0;
    width: 100%;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 1000;
}


.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;

    font-size: clamp(0.7rem, 0.85vw, 0.90rem); 
    
    text-transform: uppercase;
    opacity: 0.6;
    transition: all 0.3s ease;
    letter-spacing: 0.5px; 
    position: relative;
    padding: 6px 0;
    white-space: nowrap; 
}


.main-nav a:hover, 
.main-nav a.active {
    opacity: 1;
    color: var(--accent-blue);
    text-shadow: 0 0 12px rgba(0, 162, 255, 0.9);
}


.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%; 
    width: 0;  
    height: 3px;
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue), 0 0 5px white;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
    transform: translateX(-50%); 
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%; 
}


.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hero {
    
    min-height: auto; 
    padding-top: 70px;    
    padding-bottom: 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}


.hero-cards {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; 
}


.hero-card {
    position: relative;
    width: 450px;
    height: 350px; 
    border: 3px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    border-color: white;
}


.hero-card.rescue {
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%,    
        rgba(0, 0, 0, 0.4) 40%,   
        transparent 70%           
    ), 
    url('../img/rat.jpg') center/cover;
}

.hero-card.swim {
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%,    
        rgba(0, 0, 0, 0.4) 40%,   
        transparent 70%           
    ), 
    url('../img/ply2.jpg') center /cover;
}
    



.card-content {
    width: 100%;
    text-align: center;
    padding-bottom: 50px;
    font-family: 'Arial', sans-serif;
}

.card-content h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: 1px;
    
}

.card-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 300;
}


.card-content .hero-cta {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    border-radius: 6px;
    transform: skewX(-20deg);
    position: relative;
    transition: all 0.25s ease;
}

.card-content .hero-cta .lbl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: skewX(20deg);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.card-content .hero-cta i {
    transition: transform 0.25s ease;
}


.rescue .hero-cta {
    background: linear-gradient(135deg, #ff5a5a, #c62828);
    box-shadow: 0 6px 18px rgba(220, 40, 40, 0.35);
}

.swim .hero-cta {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}


.hero-card:hover .hero-cta {
    transform: skewX(-20deg) translateY(-2px);
    filter: brightness(1.1);
}

.hero-card:hover .hero-cta i {
    transform: translateX(4px);
}



.aktualnosci {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    z-index: 5;
    
}



.aktualnosci h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    position: relative; 
    
    
    background: linear-gradient(
        to right,
        rgba(10, 35, 75, 0.08) 0%,
        rgba(8, 25, 60, 0.9) 30%,
        rgba(8, 25, 60, 0.9) 70%,
        rgba(10, 35, 75, 0.08) 100%
    );
    
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    
    
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(0, 198, 255, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -20px 45px rgba(0,0,0,0.18),
        0 10px 35px rgba(0,0,0,0.25);
    
    padding: 22px 0; 
    margin-bottom: 50px; 
    
    font-size: 38px;     
    font-weight: 800;
    
    
    color: rgba(255, 255, 255, 0.9);      
    text-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.9), 
        0 0 15px rgba(255, 255, 255, 0.15);
    
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 2;
}


.aktualnosci h2::after {
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    height: 2px;
    
    
    background: linear-gradient(to right, transparent 0%, var(--glow-line-color) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--glow-line-color), 0 0 5px white;
    opacity: 0.9;
    z-index: 1;
    border-radius: 0;
}


.aktualnosci h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    
    background: linear-gradient(to right, transparent 0%, var(--glow-line-color) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--glow-line-color), 0 0 5px white;
    opacity: 5.9;
    z-index: 1;
    display: block !important;
}

.aktualnosci-siatka {
    width: 95%;
    max-width: 1600px; 
    margin: auto;
    display: flex;
    gap: 20px; 
    justify-content: center;
    flex-wrap: nowrap; 
}

.siatka {
    background-color: rgba(10, 25, 47, 0.94) !important;
    background-image: linear-gradient(
        180deg,
        rgba(18, 45, 85, 0.96),
        rgba(7, 18, 38, 0.96)
    ) !important;

    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white !important;

    flex: 1;
    min-width: 280px;
    max-width: 380px;
    position: relative;

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

    border: 1px solid rgba(0, 198, 255, 0.28) !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(0, 162, 255, 0.12) !important;
}

.siatka:hover {
    transform: translateY(-10px);

    background-image: linear-gradient(
        180deg,
        rgba(22, 55, 105, 0.98),
        rgba(8, 25, 55, 0.98)
    ) !important;

    border-color: rgba(0, 198, 255, 0.55) !important;

    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.6),
        0 0 28px rgba(0, 162, 255, 0.28) !important;
}


.siatka h3 {
    color: white !important;
    font-size: 19px;
    padding: 20px 15px 5px;
    font-weight: 800;
    line-height: 1.3;
    min-height: 60px;
}


.aktualnosci-data {
    padding: 0 15px 12px;
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}


.siatka-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px 20px;
    color: #00c6ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.siatka-more i {
    transition: transform 0.3s ease;
}

.siatka:hover .siatka-more i {
    transform: translateX(5px);
}


.siatka img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    object-position: center 15%;
}



.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    color: #cfe9ff;
    padding: 5px 13px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(4, 26, 52, 0.72);
    border: 1px solid rgba(0, 162, 255, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.tag-blue {
    background: rgba(4, 26, 52, 0.72);
}

.guzik_aktulnosc {
    display: block;
    width: fit-content;
    margin: 50px auto 0 auto;

    color: #ffffff;
    padding: 14px 40px;
    text-decoration: none;

    border-radius: 6px;
    transform: skewX(-12deg);
    background: rgba(9, 24, 46, 0.72);
    border: 1.5px solid rgba(0, 162, 255, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);

    transition: all 0.25s ease;
    position: relative;
    z-index: 10;
}


.guzik_aktulnosc .lbl {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transform: skewX(12deg);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.guzik_aktulnosc i {
    transition: transform 0.25s ease;
}


.guzik_aktulnosc:hover {
    transform: skewX(-12deg);
    background: rgba(0, 96, 170, 0.85);
    border-color: #00c6ff;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 162, 255, 0.4);
}


.guzik_aktulnosc:hover i {
    transform: translateX(4px);
}


.guzik_aktulnosc:active {
    transform: skewX(-12deg) scale(0.98);
}


.dolacz-do-druzyny {
    overflow: visible;
    margin-bottom: 140px;
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    color: white;
}

.dolacz-left {
    max-width: 550px;
    
    background: rgba(10, 25, 47, 0.45) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    
    
    padding: 50px 40px !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dolacz-left h2::after {
    display: none !important;
}

.dolacz-left h2 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow:
        0 3px 8px rgba(0,0,0,.9),
        0 10px 30px rgba(0,0,0,.6);

}

.footer-copyright a {
    color: #cbd5e1; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.footer-copyright a:hover {
    color: #ffffff; 
}

.dolacz-left span {
    display: block;
    font-size: 26px;
    margin-bottom: 35px;
        text-shadow:
        0 2px 6px rgba(0,0,0,.85),
        0 6px 18px rgba(0,0,0,.55);

    font-weight: 500;
}


.guzik_zapisz_sie {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;

    color: white;
    padding: 10px 26px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;

    border-radius: 6px;
    transform: skewX(-12deg);
    background: linear-gradient(135deg, #ff5a5a, #c62828);
    box-shadow: 0 6px 16px rgba(220, 40, 40, 0.4);

    transition: all 0.25s ease;
    position: relative;
    z-index: 10;
}


.guzik_zapisz_sie .lbl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    transform: skewX(12deg);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
}


.guzik_zapisz_sie i {
    font-size: 14px;
    transition: transform 0.25s ease;
}


.guzik_zapisz_sie:hover {
    transform: skewX(-12deg) translateY(-3px);
    box-shadow: 0 14px 30px rgba(220, 40, 40, 0.55);
    filter: brightness(1.08);
    color: white;
}


.guzik_zapisz_sie:hover i {
    transform: scale(1.1) rotate(4deg);
}


.guzik_zapisz_sie:active {
    transform: skewX(-12deg) translateY(0) scale(0.98);
}


.dolacz-do-druzyny img {
    width: 600px;
    border: 10px solid white;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);

    transform: rotate(12deg) translateY(120px);
    opacity: 0;
    transition: 0.1s linear;
}


.dolacz-left {
    max-width: 520px;
    text-align: center;
}

.dolacz-left h2::after {
    content: "";
    display: block;
    width: 520px;
    height: 4px;
    background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0) 100%
);

    margin: 18px 0 25px 0;
}

:root{
    --footer-glass: 0.65;   
}


.footer-bar {
    background: rgba(10, 25, 47, 0.95); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 20px 0;
    color: white;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}


.footer-top-row {
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative;      
    width: 100%;
    min-height: 50px;
    gap: 30px;              
}


.footer-logos {
    position: absolute;
    left: 0;                
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
}


.footer-coach {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    color: white;
    margin: 0;
    white-space: nowrap;
}


.footer-contact-group {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-item i {
    color: #2563eb;
    font-size: 18px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.footer-item:hover i {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    color: #60a5fa;
}


.footer-legal {
    display: flex;
    justify-content: center;
    padding: 4px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.footer-legal-link i {
    color: #2563eb;
    font-size: 13px;
    transition: color 0.25s ease;
}

.footer-legal-link:hover {
    color: #ffffff;
}

.footer-legal-link:hover i {
    color: #60a5fa;
}


.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
    letter-spacing: 1px;
}


.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px); 
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: rgba(8, 18, 35, 0.97) !important;
    background-image: linear-gradient(
        145deg,
        rgba(18, 42, 75, 0.98),
        rgba(5, 12, 26, 0.98)
    ) !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    border: 1px solid rgba(0, 162, 255, 0.4);
    border-top: 1px solid rgba(255,255,255,0.22);

    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;

    position: relative;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 162, 255, 0.16);

    color: white;
    text-align: center;
    transform: translateY(0);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff4b4b;
}


.modal-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-icon {
    font-size: 40px;
    color: #00a2ff;
    margin-bottom: 15px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 162, 255, 0.2);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #00a2ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.3);
}


.guzik-wyslij {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;

    color: white;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #0072ff, #00c6ff);
    box-shadow:
        0 8px 22px rgba(0, 162, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.guzik-wyslij::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );

    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.guzik-wyslij:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow:
        0 14px 35px rgba(0, 162, 255, 0.55),
        0 0 28px rgba(0, 198, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    filter: brightness(1.08);
}

.guzik-wyslij:hover::before {
    left: 140%;
}

.guzik-wyslij:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 6px 16px rgba(0, 162, 255, 0.35),
        inset 0 2px 8px rgba(0,0,0,0.25);
}

.modal-note {
    margin-top: 25px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}


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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}


.guzik-wyslij {
    transition: all 0.4s ease; 
}

.guzik-wyslij:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.8); 
    
}


.neon-text {
    animation: neonGlow 2s infinite ease-in-out;
}

@keyframes neonGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 162, 255, 0.4); }
    50% { text-shadow: 0 0 15px rgba(0, 162, 255, 1), 0 0 30px rgba(0, 162, 255, 0.8); }
}

.return-btn {
    
    position: relative;
    overflow: hidden; 
    z-index: 1;
    transition: all 0.3s ease;
    
    
    display: inline-block;
    padding: 15px 35px;
    background: #0088d4; 
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4);
    border: 2px solid transparent;
}


.return-btn::after {
    content: '';
    position: absolute;
    bottom: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 20%),
        linear-gradient(to top, #00a2ff 0%, #a2d9ff 100%);
    border-radius: 8px;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: -1; 
}


.mobile-menu-btn {
    display: none;
}


.return-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: 2; 
}


.return-btn:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.02); 
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.7);
}

.return-btn:hover::after {
    bottom: 0; 
}

.return-btn:hover::before {
    left: 150%; 
}


.return-btn i, .return-btn span {
    position: relative;
    z-index: 1;
}

.back-to-top-top {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);

    background: rgba(0, 162, 255, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);

    padding: 10px 25px;
    border-radius: 50px;

    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 2147483647 !important;
    isolation: isolate;

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

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.65),
        0 0 22px rgba(0, 162, 255, 0.7);
}


.back-to-top-top.show {
    transform: translateX(-50%) translateY(0);
}

.back-to-top-top:hover {
    background: #00a2ff;
    box-shadow: 0 8px 25px rgba(0, 162, 255, 0.7);
    transform: translateX(-50%) scale(1.05);
}


.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto;

    padding-left: clamp(90px, 10vw, 160px);
    padding-right: clamp(10px, 2vw, 40px);

    gap: clamp(12px, 1.8vw, 28px);

    width: fit-content;
    box-sizing: border-box;

    flex-wrap: nowrap;
}
.mobile-cta-item {
    display: flex;
    align-items: center;
    margin-left: 1vw; 
}


.main-nav a.mobile-nav-cta {
    background: var(--shark-red-gradient);
    color: white;
    text-decoration: none;
    
    padding: 7px 25px; 
    font-weight: 800;
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    text-transform: uppercase;
    display: inline-block;
    opacity: 1; 
    
    
    transform: skewX(-12deg); 
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    overflow: hidden;
    
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, color 0.4s ease;
    position: relative;
}

.main-nav a.mobile-nav-cta span i {
    transition: transform 0.3s ease;
}

.main-nav a.mobile-nav-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: skewX(12deg);
    position: relative;
    z-index: 2;
}


.main-nav a.mobile-nav-cta::after {
    display: none;
}

.main-nav a.mobile-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
    z-index: 1;
}


.main-nav a.mobile-nav-cta:hover {
    
    transform: skewX(-12deg) scale(1.1) translateY(-3px);
    
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.8), 0 0 10px white;
    color: white;
}


.main-nav a.mobile-nav-cta:hover::before {
    left: 150%;
}

.main-nav a.mobile-nav-cta:hover span i {
    transform: scale(1.1) rotate(3deg);
    transition: transform 0.3s ease;
}


.main-nav a.mobile-nav-cta:active {
    transform: skewX(-12deg) scale(0.98);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

@media (min-width: 769px) and (max-width: 1400px) {


    .main-nav a {
        font-size: clamp(10px, 0.8vw, 12px);
        line-height: 1;
    }

    .main-nav a.mobile-nav-cta {
        padding: 7px 18px;
        font-size: clamp(10px, 0.8vw, 12px);
    }

    .hero-card {
        width: 430px;
        height: 310px;
    }

    .hero-cards {
        gap: 25px;
    }
}

@media (max-width: 768px) {
body {
    min-height: 100dvh;
}

    body {
        padding-top: 90px;
        margin-top: 0;
    }

    

    .top-bar {
        min-height: 90px !important;
        padding: 10px 15px !important;
        justify-content: center;
    }

    .logo-wrapper {
        left: 10px;
        top: 5px;
    }

    .shark_logo_nav {
        height: 80px !important;
        min-height: unset !important;
        max-height: unset !important;
    }

    .club-name-container {
        padding-left: 70px !important;
        padding-right: 40px !important;
        transform: none !important;
    }

    .club-logo-img {
        height: 45px !important;
        min-height: unset !important;
        max-height: unset !important;
        transform: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 35px;
        font-size: 24px;
        color: white;
        z-index: 9999;
    }

    


.main-nav {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 90px);

    background: rgba(8, 25, 60, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: 0.3s ease;

    padding: 22px 0;
    overflow-y: auto;
    z-index: 9998;
}

.main-nav.otwarte {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    gap: 16px;

    margin: 0 !important;
    padding: 0 20px !important;

    width: 100% !important;
    box-sizing: border-box;
}

.main-nav li {
    width: 100%;
    text-align: center;
}

.main-nav a {
    display: inline-block;
    font-size: 14px !important;
    line-height: 1.2;
    white-space: normal !important;
    text-align: center;
    padding: 4px 0;
}

.mobile-cta-item {
    margin-left: 0 !important;
    margin-top: 8px;
    justify-content: center;
}

.main-nav a.mobile-nav-cta {
    padding: 10px 28px !important;
    font-size: 14px !important;
}

    

    .hero {
        padding: 20px 15px;
    }

    .hero-cards {
        flex-direction: column;
        gap: 20px;
    }

    .hero-card {
        width: 100%;
        height: 250px;
    }

    .card-content {
        padding-bottom: 25px;
    }

    .card-content h2 {
        font-size: 28px;
    }

    .card-content p {
        font-size: 15px;
    }

    

    .aktualnosci h2 {
        font-size: 26px;
        letter-spacing: 2px;
        padding: 15px 10px;
    }

    .aktualnosci-siatka {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .siatka {
        width: 100%;
        max-width: 400px;
    }

    .siatka img {
        height: 220px;
    }

    

    .dolacz-do-druzyny {
        flex-direction: column;
        gap: 40px;
        margin-top: 70px;
        margin-bottom: 70px;
        padding: 0 15px;
    }

    .dolacz-left {
        width: 100%;
        padding: 30px 20px !important;
        box-sizing: border-box;
    }

    .dolacz-left h2 {
        font-size: 38px;
    }

    .dolacz-left span {
        font-size: 18px;
    }

    .dolacz-left h2::after {
        width: 100%;
    }

    .dolacz-do-druzyny img {
        width: 100%;
        max-width: 320px;
        transform: none !important;
        opacity: 1;
    }

    

    .footer-top-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logos {
        position: static;
        justify-content: center;
    }

    .footer-contact-group {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        flex-wrap: wrap;
    }

    

    .modal-content {
        width: calc(100% - 30px);
        padding: 30px 20px;
    }

    
.back-to-top-top {
    position: fixed;

    top: 15px;
    left: 50%;

    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;

    background: rgba(0, 162, 255, 0.92);
    color: white;

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

    padding: 10px 22px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 99999;

    backdrop-filter: blur(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35),
        0 0 20px rgba(0,162,255,0.35);
}



.back-to-top-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
}



.back-to-top-top:not(.show) {
    transform: translateX(-50%) translateY(-80px);
    pointer-events: none;
}
}

#backToTop {
    left: 50%;
    transform: translateX(-50%) translateY(20px);

    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;

    pointer-events: none;

    -webkit-transform: translateX(-50%) translateY(20px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);

    pointer-events: auto;
}

@media (max-width: 768px) {

    .modal-overlay {
        padding: 0 16px !important;
        box-sizing: border-box !important;
        align-items: center !important;
    }

    .modal-content {
        width: 100% !important;
        max-width: 360px !important;
        padding: 28px 18px 24px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
        max-height: 88dvh !important;
        overflow-y: auto !important;
    }

    .close-modal,
    #closeModalBtn {
        top: 12px !important;
        right: 14px !important;
        font-size: 28px !important;
    }

    .modal-header {
        margin-bottom: 18px !important;
    }

    .modal-icon {
        font-size: 34px !important;
        margin-bottom: 12px !important;
    }

    .modal-header h2 {
        font-size: 22px !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;
        margin-bottom: 10px !important;
    }

    .modal-header p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 0 auto 18px !important;
        max-width: 290px !important;
    }

    .input-group {
        margin-bottom: 14px !important;
    }

    .input-group label {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }

    .input-group input,
    .input-group textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 11px 12px !important;
        font-size: 13px !important;
        border-radius: 9px !important;
    }

    .input-group textarea {
        min-height: 70px !important;
        resize: vertical;
    }

    .guzik-wyslij {
        padding: 13px 14px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        margin-top: 8px !important;
    }

    .modal-note {
        margin-top: 18px !important;
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }
}

@media (min-width: 769px) and (max-width: 1400px) {

    body {
        padding-top: 20px !important;
        margin-top: 0 !important;
    }

    .hero {
        padding-top: 70px !important;
        padding-bottom: 30px !important;
    }

    .aktualnosci-siatka {
        width: 90%;
        max-width: 900px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .siatka {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .siatka img {
        height: 180px;
    }


    .dolacz-do-druzyny {
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 0 40px;
        gap: 40px;
        justify-content: center;
    }

    .dolacz-left {
        max-width: 380px;
        padding: 35px 25px !important;
    }

    .dolacz-left h2 {
        font-size: 42px;
    }

    .dolacz-left span {
        font-size: 20px;
    }

    .dolacz-do-druzyny img {
        width: 480px;
        max-width: 48vw;
        transform: rotate(4deg) translateY(20px);
        opacity: 1;
        border-width: 8px;
    }

    .footer-bar {
        padding: 18px 0;
    }

    .footer-bar-inner {
        max-width: 95%;
        padding: 0 20px;
        gap: 12px;
    }

    .footer-top-row {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 22px;
        min-height: 45px;
        flex-wrap: wrap;
    }

    .footer-logos {
        position: static;
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .footer-logo {
        height: 28px;
    }

    .footer-coach {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .footer-contact-group {
        display: flex;
        flex-direction: row;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-item {
        font-size: 13px;
        gap: 7px;
    }

    .footer-item i {
        font-size: 15px;
    }

    .footer-social {
        gap: 10px;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .social-link {
        font-size: 11px;
        padding: 7px 16px;
    }

    .footer-copyright p {
        font-size: 10px;
    }

    .footer-legal-link {
        font-size: 12px;
    }

}
@media (min-width: 769px) and (max-width: 1400px) {

    .main-header {
        position: relative !important;
    }

    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hero {
        padding-top: 30px !important;
        margin-top: 0 !important;
        padding-bottom: 30px !important;
    }

    .top-bar {
        min-height: 10px !important;
    }

    .main-nav {
        padding: 6px 0 !important;
    }

}



@media (min-width: 1201px) and (max-width: 1700px) {

	.hero {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .hero-cards {
        margin-top: 0 !important;
    }

    .top-bar {
        padding: 0.4vw 2% 30px 2% !important;
    }

	.shark_logo_nav {
        height: clamp(190px, 20.5vw, 360px) !important;
    }

	.club-logo-img {
        height: clamp(140px, 15.5vw, 260px) !important;
		transform: translate(2vw, 1.3vw);

	}


}