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

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

:root {
    --accent: #00ddff;
    --accent-light: #75edff;
    --dark: #0a0a0a;
    --darker: #060606;
    --gray: #888;
    --light: #e5e5e5;
    --border: #1a1a1a;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--darker);
    color: var(--light);
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

body.intro-active {
    overflow: hidden;
}

#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.intro-half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--darker);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro-left { left: 0; }
.intro-right { right: 0; }

#intro.done .intro-left { transform: translateX(-100%); }
#intro.done .intro-right { transform: translateX(100%); }

.intro-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 200px;
    height: auto;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    filter: drop-shadow(0 0 40px rgba(0, 221, 255, 0.3));
}

#intro.done .intro-logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
}

#intro.hidden { display: none; }

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 9998;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(0, 221, 255, 0.4);
}

#nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
    height: 90px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.nav-logo img {
    height: 85px;

}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-link.active {
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(0, 221, 255, 0.4));
}

.nav-discord {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-discord:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('image/bg.png') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.93) 0%,
            rgba(6, 6, 6, 0.8) 30%,
            rgba(6, 6, 6, 0.35) 55%,
            rgba(6, 6, 6, 0.1) 75%,
            rgba(6, 6, 6, 0.05) 100%
        ),
        linear-gradient(
            to top,
            rgba(6, 6, 6, 1) 0%,
            rgba(6, 6, 6, 0.3) 12%,
            transparent 35%
        ),
        linear-gradient(
            to bottom,
            rgba(6, 6, 6, 0.5) 0%,
            transparent 12%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 100px 60px 60px;
}

.hero-left {
    max-width: 600px;
    flex-shrink: 0;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 8px #4ade80; }
    50% { box-shadow: 0 0 16px #4ade80, 0 0 24px rgba(74, 222, 128, 0.3); }
}

.status-text {
    color: #4ade80;
}

.status-count {
    color: var(--gray);
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    padding-left: 4px;
}

.hero h1 {
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 221, 255, 0.4));
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-desc {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 221, 255, 0.2);
    animation: textShine 4s linear infinite;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 221, 255, 0.4);

}

.btn-fivem {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 221, 255, 0.2);
    animation: textShine 4s linear infinite;
    text-decoration: none;
    border: none;
}

.btn-fivem:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 221, 255, 0.4);
}

.btn-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: stretch;
    position: relative;
    min-height: 0;
}

.hero-character {
    height: 90vh;
    max-height: 750px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    position: absolute;
    bottom: 0;
    right: 40px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 8%);
    mask-image: linear-gradient(to top, transparent 0%, black 8%);
}

.how-to-play {
    position: relative;
    padding: 120px 60px;
    background: transparent;
    overflow: hidden;
    text-align: center;
}

.htp-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 0 auto;
}

.htp-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.htp-timeline {
    position: relative;
}

.htp-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.htp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.htp-step {
    position: relative;
    padding-top: 40px;
    transition: transform 0.3s ease;
}

.htp-step:hover {
    transform: translateY(-5px);
}

.htp-step-marker {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    box-shadow: 0 0 12px rgba(0, 221, 255, 0.5);
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.htp-step:hover .htp-step-marker {
    width: 100px;
    box-shadow: 0 0 20px rgba(0, 221, 255, 0.8);
}

.htp-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.htp-step p {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.shop-section {
    min-height: 100vh;
    padding: 150px 60px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.shop-bg {
    position: fixed;
    inset: 0;
    background: url('../image/bg3.png') center center / cover no-repeat;
    z-index: -2;
}

.shop-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 6, 6, 0.9), rgba(6, 6, 6, 0.98));
    z-index: -1;
}

.shop-header {
    text-align: center;
    margin-bottom: 60px;
}

.shop-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shop-header h2 span {
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s linear infinite;
}

.shop-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.shop-categories {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-category {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-category:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.shop-category.active {
    background: rgba(0, 221, 255, 0.15);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 221, 255, 0.2);
}

.shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-card {
    flex: 0 1 320px;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.shop-card:hover {
    border-color: rgba(0, 221, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 221, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: rgba(0, 221, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 221, 255, 0.2);
}

.card-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent);
}

.card-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.tebex-desc {
    flex-grow: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 24px;
    overflow-y: auto;
    max-height: 180px;
    padding-right: 5px;
}

.tebex-desc h1, .tebex-desc h2, .tebex-desc h3 {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 5px;
}

.tebex-desc hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.tebex-desc p {
    margin-bottom: 8px;
}

.tebex-desc strong {
    color: #fff;
}

.tebex-desc::-webkit-scrollbar {
    width: 4px;
}
.tebex-desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.tebex-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
    background-size: 200% auto;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 221, 255, 0.2);
    animation: textShine 4s linear infinite;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.card-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 221, 255, 0.4);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.modal-box h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.modal-box p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal-btn-login:hover {
    background: rgba(0, 221, 255, 0.1);
    border-color: var(--accent);
}

.modal-close {
    margin-top: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

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

.cart-btn-nav {
    background: rgba(0, 221, 255, 0.1);
    border: 1px solid rgba(0, 221, 255, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-weight: bold;
}

.cart-btn-nav:hover {
    background: rgba(0, 221, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 221, 255, 0.3);
}

.cart-btn-nav svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

#cart-count {
    background: var(--accent);
    color: #000;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.cart-box {
    width: 500px;
    text-align: left;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cart-item-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.cart-item-price {
    color: var(--accent);
    font-weight: bold;
    font-size: 14px;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #ff5555;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.cart-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.cart-total {
    font-size: 18px;
    color: #fff;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}
.cart-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.cart-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

footer {
    border-top: 1px solid var(--border);
    padding: 40px 60px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-legal {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.footer-legal p {
    margin: 2px 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 24px;
    opacity: 0.3;
    filter: grayscale(1);
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-author {
    font-weight: 600;
    color: var(--accent);
    opacity: 0.7;
}

@media (max-width: 1000px) and (pointer: coarse) {
    body::before {
        content: "Strona internetowa ParadiseRP.pl | WL:OFF\Ajest wyłącznie dostępna na komputerze";
        white-space: pre-wrap;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #060606 url('image/bg.png') center/cover no-repeat;
        background-blend-mode: overlay;
        color: #00ddff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 22px;
        font-weight: 800;
        z-index: 9999999;
        padding: 40px;
        box-sizing: border-box;
        text-shadow: 0 0 20px rgba(0, 221, 255, 0.5);
        line-height: 1.5;
    }
    
    body {
        overflow: hidden !important;
    }
    
    /* Ukrywamy resztę strony, żeby nie przeszkadzała w tle */
    body > *:not(#intro) {
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
