@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
    --bg-color: #050907; 
    --surface-color: rgba(12, 18, 15, 0.4); 
    --surface-border: rgba(30, 204, 113, 0.05); 
    --primary-color: #00b362; 
    --primary-dark: #008f4e; 
    --text-main: #f0f0f0;
    --text-muted: #8ba697;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection { background-color: rgba(0, 255, 136, 0.3); color: var(--text-main); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: rgba(0, 255, 136, 0.2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.bg-shapes {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08; 
    animation: drift 25s infinite alternate ease-in-out;
}

.shape-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--primary-color); }
.shape-2 { bottom: -20%; right: -10%; width: 800px; height: 800px; background: #0088ff; animation-delay: -5s; }
.shape-3 { top: 40%; left: 50%; width: 500px; height: 500px; background: var(--primary-dark); animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 24px;
}

.cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 179, 98, 0.05) 0%, rgba(5, 9, 7, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

.navbar {
    position: fixed; top: 0; width: 100%;
    padding: 1.5rem 0; z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 10, 7, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--text-main); position: relative; z-index: 2; }
.logo span { color: var(--primary-color); text-shadow: none; } /* Uspokojone logo - brak poświaty */

.nav-links { list-style: none; display: flex; gap: 1.5rem; align-items: center; margin-left: 2rem; transition: var(--transition); }
.nav-links a {
    color: var(--text-main); text-decoration: none;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
    position: relative; transition: var(--transition); padding: 0.5rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); text-shadow: 0 0 10px rgba(0, 179, 98, 0.4); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.btn-nav {
    background: var(--surface-color); border: 1px solid rgba(0, 179, 98, 0.3);
    padding: 0.6rem 1.4rem; border-radius: 20px;
    color: var(--primary-color) !important;
    text-shadow: none !important;
}
.btn-nav:hover {
    background: rgba(0, 179, 98, 0.1);
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 179, 98, 0.2);
}

.nav-shop {
    color: #ff9900 !important;
}
.nav-shop:hover {
    color: #ffcc00 !important;
    text-shadow: 0 0 15px rgba(255, 153, 0, 0.4) !important;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding: 120px 2rem 0;
    max-width: 1200px; margin: 0 auto; z-index: 1;
}

.hero-content {
    max-width: 650px; position: relative; z-index: 2;
}

.badge-container { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem; background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color); border-radius: 100px; font-size: 0.9rem; font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.badge-outline { background: transparent; color: var(--text-main); border-color: rgba(255,255,255,0.2); }

.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -2px; }
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 217, 119, 0.1);
}

.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1.5rem; margin-bottom: 3.5rem; }

button, .btn-secondary, .btn-primary {
    cursor: pointer; font-family: var(--font-heading); font-size: 1.05rem;
    font-weight: 600; padding: 1.1rem 2.5rem; border-radius: 100px;
    transition: var(--transition); text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 0.8rem; border: none;
}

.btn-primary { background: var(--primary-color); color: #000; box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2); }
.btn-primary:hover {
    background: var(--text-main); color: #000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05); color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px);
}

.server-status { display: inline-flex; align-items: center; gap: 1.2rem; padding: 1rem 1.8rem; }
.status-indicator { position: relative; display: flex; align-items: center; justify-content: center; }
.status-dot { width: 12px; height: 12px; background-color: var(--primary-color); border-radius: 50%; z-index: 2; }
.status-ping {
    position: absolute; width: 100%; height: 100%; background: var(--primary-color);
    border-radius: 50%; animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.status-text { display: flex; flex-direction: column; }
.status-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.status-text p { margin: 0; font-size: 1rem; color: var(--text-main); font-weight: 500; }
.status-text strong { color: var(--primary-color); font-size: 1.2rem; }

.hero-graphics {
    position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
    width: 600px; height: 600px; pointer-events: none; z-index: 1;
}

.minecraft-block {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,255,136,0.2);
    animation: floatBlock 8s ease-in-out infinite;
}

.block-1 { width: 250px; height: 250px; border-radius: 30px; top: 15%; right: 20%; transform: rotate(15deg) rotateX(20deg) rotateY(20deg); }
.block-2 { width: 150px; height: 150px; border-radius: 20px; bottom: 25%; right: 50%; animation-delay: -3s; border-color: rgba(0,255,136,0.3); }
.block-3 { width: 100px; height: 100px; border-radius: 15px; top: 50%; right: 10%; animation-delay: -5s; }

.section-title { text-align: center; margin-bottom: 4rem; }
.subtitle {
    display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--primary-color);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem;
}
.section-title h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -1px; }
.section-title p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.features { padding: 8rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-card { padding: 3rem 2rem; transition: var(--transition); text-align: center; }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(0,255,136,0.4); box-shadow: 0 15px 40px rgba(0,255,136,0.1); background: rgba(30, 50, 40, 0.6); }

.icon-wrapper {
    width: 70px; height: 70px; background: linear-gradient(135deg, rgba(0,255,136,0.2), rgba(0,255,136,0.05));
    border-radius: 20px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary-color); margin-bottom: 2rem;
    border: 1px solid rgba(0,255,136,0.3); box-shadow: 0 0 20px rgba(0,255,136,0.1);
}

.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); font-size: 1rem; }

/* TikTok Section Grid & Layout */
.media-section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.tiktok-container {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem;
    padding: 3rem; overflow: hidden;
}

.tiktok-content {
    background: rgba(0,0,0,0.5); border-radius: 24px; padding: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); display: flex; justify-content: center;
}

.tiktok-info { display: flex; flex-direction: column; gap: 1.5rem; }
.tiktok-info h3 { font-size: 2.5rem; color: var(--text-main); }
.tiktok-info .highlight { color: var(--primary-color); }
.tiktok-info p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }

.tiktok-features { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; margin-bottom: 1rem;}
.tiktok-features span {
    background: rgba(255,255,255,0.05); padding: 0.5rem 1rem;
    border-radius: 100px; font-size: 0.9rem; color: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 0.5rem;
}

/* Discord Section styles */
.discord-section { padding: 6rem 2rem; max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.discord-widget { padding: 2.5rem; border: 1px solid rgba(88, 101, 242, 0.3); background: rgba(88, 101, 242, 0.05); backdrop-filter: blur(16px); }
.discord-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.discord-info { display: flex; align-items: center; gap: 1.5rem; }
.discord-icon { width: 90px; height: 90px; border-radius: 20px; background: #5865F2; padding: 12px; object-fit: contain; box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3); }
.discord-text h3 { font-size: 2rem; margin-bottom: 0.2rem; }
.discord-text p { color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.online-dot { width: 12px; height: 12px; background: #3ba55c; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px #3ba55c; }
.offline-dot { width: 12px; height: 12px; background: #747f8d; border-radius: 50%; display: inline-block; }

.btn-discord { background: #5865F2; color: white; padding: 1rem 2rem; border-radius: 100px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); font-family: var(--font-heading); font-size: 1.1rem; box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3); display: flex; align-items: center; gap: 0.8rem; }
.btn-discord:hover { background: #4752C4; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5); color: white; }

.discord-body h4 { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.discord-members-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; max-height: 400px; overflow-y: auto; padding-right: 1rem; }
.discord-member { display: flex; align-items: center; gap: 1rem; background: rgba(0,0,0,0.3); padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.discord-member:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); border-color: rgba(88, 101, 242, 0.4); }
.member-avatar { position: relative; width: 45px; height: 45px; border-radius: 50%; }
.member-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member-status { position: absolute; bottom: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #1a1e23; }
.status-online { background: #3ba55c; }
.status-idle { background: #faa61a; }
.status-dnd { background: #ed4245; }
.member-name { font-size: 1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.discord-members-list::-webkit-scrollbar { width: 8px; }
.discord-members-list::-webkit-scrollbar-thumb { background: rgba(88, 101, 242, 0.3); border-radius: 10px; }
.discord-members-list::-webkit-scrollbar-thumb:hover { background: #5865F2; }

/* Team Section styles */
.team-section { padding: 4rem 2rem 8rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card {
    background: var(--surface-color); border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: 20px; padding: 2.5rem 2rem; text-align: center;
    transition: var(--transition); display: flex; flex-direction: column; align-items: center;
    position: relative; overflow: hidden;
}
.team-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--card-color, var(--primary-color));
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); }
.team-avatar {
    width: 90px; height: 90px; border-radius: 20px;
    margin-bottom: 1.5rem; object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.05);
}
.team-name { font-size: 1.4rem; margin-bottom: 0.3rem; color: var(--text-main); }
.team-role { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--card-color, var(--primary-color)); margin-bottom: 1.2rem; }
.team-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 2rem 2rem; background: rgba(5, 10, 7, 0.8); backdrop-filter: blur(10px);
}
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }

/* Shop Styles */
.shop-container { max-width: 1500px; margin: 0 auto; padding: 120px 2rem 4rem; }

.shop-header-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; }
.tab-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.8rem 2rem; border-radius: 12px; color: var(--text-muted); cursor: pointer; font-weight: 600; transition: var(--transition); }
.tab-btn.active { background: var(--primary-color); color: #000; border-color: var(--primary-color); }

.shop-layout { display: grid; grid-template-columns: 420px 1fr; gap: 2.5rem; margin-bottom: 4rem; }
.shop-layout.full-width { grid-template-columns: 1fr; }

.product-list { display: flex; flex-direction: column; gap: 1rem; max-height: 600px; overflow-y: auto; padding-right: 0.5rem; }
.product-item { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem; cursor: pointer; position: relative; border-radius: 16px; border: 1px solid transparent; transition: var(--transition); }
.product-item:hover { background: rgba(255,255,255,0.05); }
.product-item.active { background: rgba(0, 255, 136, 0.05); border: 1px solid rgba(0, 255, 136, 0.2); }
.product-item-info { display: flex; align-items: center; gap: 1rem; }
.product-item-img { width: 45px; height: 45px; object-fit: contain; border-radius: 8px; transition: transform 0.3s ease; }
.product-item:hover .product-item-img { transform: scale(1.15); }
.product-item-name { font-weight: 600; font-size: 0.95rem; }
.product-item-price { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

.product-detail { padding: 4rem; display: flex; flex-direction: column; gap: 2.5rem; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; }
.detail-title h2 { font-size: 2.6rem; margin-bottom: 0.8rem; }
.detail-price-badge { background: rgba(255,255,255,0.05); padding: 0.6rem 1.2rem; border-radius: 10px; font-weight: 700; color: var(--text-muted); font-size: 1.1rem; }
.detail-description { color: var(--text-muted); line-height: 1.8; flex: 1; font-size: 1.1rem; }
.detail-main-content { display: flex; gap: 2rem; margin-top: 1.5rem; align-items: start; }
.detail-img-container { width: 250px; height: 250px; flex-shrink: 0; padding: 1.5rem; display: flex; align-items: center; justify-content: center; }
.product-detail-img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }

.top-players { margin-bottom: 4rem; }
.top-grid { display: flex; gap: 2rem; margin-top: 3rem; align-items: end; justify-content: center; }
.player-card { padding: 2.5rem 1.5rem; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 250px; transition: var(--transition); }
.player-card.top-1 { transform: translateY(-20px); border-color: #ffd700; box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15); z-index: 10; }
.rank-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: #000; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.player-card.top-1 .rank-badge { background: #ffd700; }
.player-head { width: 64px; height: 64px; image-rendering: pixelated; margin-bottom: 1rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.player-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.player-amount { color: var(--primary-color); font-weight: 600; font-size: 0.95rem; }
.player-card.top-1 .player-amount { color: #ffd700; }

.recent-purchases { margin-bottom: 4rem; }
.recent-list { display: flex; gap: 1.5rem; overflow-x: auto; padding: 1rem 0; scrollbar-width: none; }
.recent-item { flex: 0 0 auto; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; }
.recent-head { width: 40px; height: 40px; border-radius: 8px; image-rendering: pixelated; }
.recent-info p { margin: 0; font-size: 0.9rem; font-weight: 600; }
.recent-info span { font-size: 0.8rem; color: var(--text-muted); }


.back-link { color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; transition: var(--transition); }
.back-link:hover { color: var(--primary-color); }

.product-list::-webkit-scrollbar { width: 5px; }
.product-list::-webkit-scrollbar-track { background: transparent; }
.product-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.toast {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--surface-color); backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 136, 0.3); border-radius: 16px;
    padding: 1.2rem 1.5rem; transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast.show { transform: translateX(0); }
.toast-content { display: flex; align-items: center; gap: 1rem; }
.toast-content i { font-size: 2rem; color: var(--primary-color); }
.toast-text { display: flex; flex-direction: column; gap: 0.2rem; }
.toast-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; }
.toast-desc { font-size: 0.9rem; color: var(--text-muted); }
.toast-desc strong { color: var(--primary-color); }

.btn-cta { 
    background: #ff9900; 
    color: #000; 
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.2); 
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cta:hover { 
    background: #ffcc00; 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px rgba(255, 153, 0, 0.4); 
}

@keyframes ping { 75%, 100% { transform: scale(3); opacity: 0; } }
@keyframes floatBlock {
    0%, 100% { transform: translateY(0) rotate(var(--rot-z, 15deg)) rotateX(var(--rot-x, 20deg)) rotateY(var(--rot-y, 20deg)); }
    50% { transform: translateY(-30px) rotate(calc(var(--rot-z, 15deg) + 5deg)) rotateX(calc(var(--rot-x, 20deg) + 5deg)) rotateY(calc(var(--rot-y, 20deg) + 5deg)); }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 10, 7, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 4rem 2rem;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; width: 100%; text-align: center; }
    
    .hero { text-align: center; padding-top: 150px; }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 3rem; }
    .badge-container { justify-content: center; }
    .hero-buttons { flex-direction: column; align-items: stretch; margin-bottom: 2rem; }
    .hero-graphics { display: none; }
    
    .tiktok-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 2rem 1.5rem; }
    .tiktok-info { align-items: center; }
    .tiktok-info h3 { font-size: 2rem; }
    
    .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-list { max-height: 400px; order: 1; }
    .product-detail { padding: 2.5rem 1.5rem; order: 2; }
    .detail-header { flex-direction: column; gap: 1.5rem; text-align: center; }
    .detail-title h2 { font-size: 2rem; margin-bottom: 0.5rem; }
    .detail-main-content { flex-direction: column; align-items: center; gap: 1.5rem; }
    .detail-img-container { width: 100%; max-width: 250px; height: auto; }
    
    .top-players h3, .recent-purchases h3 { font-size: 1.4rem; flex-wrap: wrap; justify-content: center; text-align: center; }
    .top-players { margin-bottom: 2rem; }
    .top-grid { flex-direction: column; align-items: stretch; gap: 1.5rem; }
    .player-card { transform: none !important; min-width: 0; order: initial !important; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 2rem; }
    .discord-header { flex-direction: column; align-items: start; }
    .discord-info { flex-direction: column; text-align: center; width: 100%; }
    .btn-discord { width: 100%; }
    .toast { left: 20px; right: 20px; bottom: 20px; width: auto; }
    
    .shop-container { padding: 100px 1rem 2rem; }
    .shop-header-tabs { 
        overflow-x: auto; 
        padding-bottom: 0.8rem; 
        margin-bottom: 1.5rem; 
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.5rem;
    }
    .shop-header-tabs::-webkit-scrollbar { display: none; }
    .shop-header-tabs span { display: none; } 
    .tab-btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; flex: 0 0 auto; }
    
    .detail-title h2 { font-size: 1.8rem; }
    .btn-cta { width: 100%; text-align: center; }
    
    .regulamin-view { padding: 1.5rem; }
    .regulamin-title { font-size: 1.6rem; margin-bottom: 2rem; }
    .regulamin-content { font-size: 1.05rem; }
}

/* Regulamin Specific Styles */
.regulamin-view { 
    width: 100%; 
    padding: 4rem; 
    line-height: 1.8; 
    max-height: 85vh; 
    overflow-y: auto; 
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}
.regulamin-title { 
    margin-bottom: 3rem; 
    color: var(--primary-color); 
    font-size: 2.5rem; 
    text-align: center; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}
.regulamin-content { 
    font-size: 1.2rem; 
    max-width: 1000px; 
    margin: 0 auto; 
}
.regulamin-content h1, .regulamin-content h2, .regulamin-content h3 { color: var(--primary-color); margin: 2rem 0 1rem; font-size: 1.5rem; }
.regulamin-content p { margin-bottom: 1.5rem; color: rgba(255,255,255,0.85); line-height: 1.9; }
.regulamin-content strong { color: white; font-weight: 700; }
.regulamin-content a { color: var(--primary-color); text-decoration: none; border-bottom: 1px solid transparent; transition: var(--transition); }
.regulamin-content a:hover { border-bottom-color: var(--primary-color); }

