/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: auto;
    overflow-x: hidden;
    height: 100%;
}

section {
    scroll-margin-top: 0;
}

:root {
    /* Gray-focused color palette */
    --primary-gray: #9e9e9e;
    --secondary-gray: #757575;
    --accent-gray: #616161;
    --light-gray: #e0e0e0;
    --dark-gray: #212121;
    --darker-gray: #1a1a1a;
    
    /* Text colors */
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9e9e9e 0%, #616161 100%);
    --gradient-dark: linear-gradient(135deg, #212121 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #757575 0%, #424242 100%);
    --gradient-glow: linear-gradient(135deg, rgba(158, 158, 158, 0.2) 0%, rgba(97, 97, 97, 0.2) 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(158, 158, 158, 0.2);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Nowoczesne animacje i efekty */
    --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Minecraft', 'Poppins', sans-serif;
    background-color: var(--darker-gray);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(158, 158, 158, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(97, 97, 97, 0.05) 0%, transparent 50%);
}

body.user-select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

section {
    padding: 60px 0;
    position: relative;
}

.minecraft-font {
    font-family: 'Minecraft', 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionTitleReveal 0.8s var(--animation-spring) forwards;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

@keyframes sectionTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 2rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(158, 158, 158, 0.1);
    box-shadow: var(--shadow-strong);
    transition: all 0.4s var(--animation-spring);
}

.nav-links {
    margin-left: auto;
}

.nav-items {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(158, 158, 158, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(158, 158, 158, 0.15);
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    width: 200px;
    height: 70px;
    position: relative;
    overflow: hidden;
}

.nav-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(158, 158, 158, 0.3));
    animation: logoBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transition: transform 0.4s var(--animation-spring), filter 0.4s var(--animation-spring);
}

.nav-logo:hover {
    transform: scale(1.12) rotate(-3deg);
    filter: drop-shadow(0 0 18px rgba(158, 158, 158, 0.7));
}

@keyframes logoBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-10deg);
        filter: blur(8px);
    }
    60% {
        opacity: 1;
        transform: scale(1.15) rotate(5deg);
        filter: blur(0);
    }
    80% {
        transform: scale(0.95) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


.server-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    max-width: 220px;
}

.status-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.2rem;
    width: 180px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s var(--animation-spring);
    animation: floatCard 3s ease-in-out infinite;
}

.status-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    width: 220px;
    transition: all 0.4s var(--animation-spring);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.8s var(--animation-spring) forwards,
               floatCard 3s ease-in-out infinite;
}

.discord-card {
    animation-delay: 0.2s, 0.8s;
    margin: 0 auto;
}

.stability-card {
    animation-delay: 0.4s, 1s;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-card .feature-icon {
    font-size: 2.2rem;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    transition: all 0.4s var(--animation-spring);
}

.discord-card:hover .feature-icon {
    color: #7289DA;
    transform: scale(1.2) rotate(10deg);
}

.stability-card:hover .feature-icon {
    color: #4CAF50;
    transform: scale(1.2) rotate(-10deg);
}

.stat-card .stat-number {
    font-size: 2.2rem;
    color: var(--text-light);
    margin: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-card .stat-label {
    color: var(--text-dim);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--text-light);
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .server-stats {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .status-card {
        width: 150px;
        padding: 1rem;
    }

    .stat-card {
        width: 160px;
        padding: 1.2rem;
    }

    .stat-card .feature-icon {
        font-size: 1.8rem;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }
}


.hero-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-socials .social-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    transition: all 0.3s ease;
    animation: floatIcon 3s ease-in-out infinite;
    position: relative;
    text-decoration: none;
}

.hero-socials .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.hero-socials .social-icon.discord {
    color: #7289DA;
}

.hero-socials .social-icon.discord:hover {
    color: #8699E3;
    text-shadow: 0 0 15px rgba(114, 137, 218, 0.5);
}

.hero-socials .social-icon.youtube {
    color: #FF0000;
}

.hero-socials .social-icon.youtube:hover {
    color: #FF3333;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.hero-socials .social-icon.tiktok {
    color: #A435F0;
}

.hero-socials .social-icon.tiktok:hover {
    color: #B355FF;
    text-shadow: 0 0 15px rgba(164, 53, 240, 0.5);
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem;
    }

    .animated-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .server-stats {
        gap: 1rem;
    }

    .status-card {
        width: 150px;
        padding: 1rem;
    }

    .stat-card {
        min-width: 160px;
        padding: 1.2rem;
    }

    .hero-socials {
        gap: 15px;
    }

    .hero-socials .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(158, 158, 158, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-dim);
}

.author-link {
    color: var(--text-dim);
    text-decoration: none;
    position: relative;
    transition: all 0.3s var(--animation-spring);
    padding: 2px 5px;
}

.author-link:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}

.author-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--animation-spring);
}

.author-link:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--darker-gray);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(158, 158, 158, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(97, 97, 97, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.animated-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    animation: titleFloat 3s ease-in-out infinite;
    background: linear-gradient(120deg, #ffffff, #9e9e9e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: 
        titleReveal 1s ease-out,
        titleGradient 3s linear infinite,
        titleFloat 5s ease-in-out infinite;
}

.animated-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gray), transparent);
    animation: lineWidth 2s ease-in-out infinite;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes titleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes lineWidth {
    0%, 100% {
        width: 0;
        left: 50%;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

/* Dodanie efektu świecenia przy hover */
.animated-title:hover {
    animation-play-state: paused;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    cursor: default;
}

.animated-title:hover::after {
    animation-play-state: paused;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .animated-title {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Rules Section Styles */
.rules-section {
    padding: 100px 0 0;
    max-width: 1200px;
    margin: 0 auto;
}

.rules-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    color: var(--text-light);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rules-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.4s var(--animation-spring);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateY(50px);
    opacity: 0;
}

.rules-category:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(158, 158, 158, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.rules-icon {
    font-size: 2.2rem;
    color: var(--primary-gray);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.rules-category:hover .rules-icon {
    color: var(--text-light);
    transform: scale(1.1) rotate(5deg);
}

.rules-category h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.rules-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.rules-category:hover h2::after {
    width: 100px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.rules-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-gray);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.rules-list li:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.rules-list li:hover::before {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .rules-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .rules-category {
        padding: 20px;
    }

    .rules-category h2 {
        font-size: 1.5rem;
    }

    .rules-list li {
        font-size: 1rem;
    }
}

/* Changelog Styles */
.changelog-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.changelog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.changelog-card {
    background: rgba(21, 21, 21, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.changelog-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.changelog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.changelog-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-content h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.changelog-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-content li {
    color: #ddd;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.changelog-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.changelog-type {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.tag.feature {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.tag.security {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.tag.event {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

@media (min-width: 768px) {
    .changelog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .changelog-section {
        padding: 1rem;
    }
    
    .changelog-card {
        padding: 1rem;
    }
}

/* Płynne przewijanie */
html {
    scroll-behavior: smooth;
}

[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--animation-spring);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Poprawiona stopka */
.modern-footer {
    background: var(--darker-gray);
    padding: 60px 0 30px;
    margin-top: 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section.main-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.footer-section h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-block;
    padding: 5px 0;
}

.footer-section ul li a:hover {
    color: var(--text-light);
    transform: translateX(10px);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(158, 158, 158, 0.1);
    color: var(--text-light);
    font-size: 1.8rem;
    transition: all 0.4s var(--animation-spring);
    text-decoration: none !important;
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.1);
    background: rgba(158, 158, 158, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-section.main-info {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section ul li a:hover {
        transform: translateY(-5px);
    }
}

/* Social Cards */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s var(--animation-spring);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Social card icons colors */
.social-card:nth-child(1) i {
    color: #7289DA;  /* Discord */
    text-shadow: 0 0 20px rgba(114, 137, 218, 0.3);
}

.social-card:nth-child(1):hover i {
    color: #8699E3;
    text-shadow: 0 0 30px rgba(114, 137, 218, 0.5);
}

.social-card:nth-child(2) i {
    color: #FF0000;  /* YouTube */
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.social-card:nth-child(2):hover i {
    color: #FF3333;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.social-card:nth-child(3) i {
    color: #A435F0;  /* TikTok - fioletowy */
    text-shadow: 0 0 20px rgba(164, 53, 240, 0.3);
}

.social-card:nth-child(3):hover i {
    color: #B355FF;
    text-shadow: 0 0 30px rgba(164, 53, 240, 0.5);
}

.social-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.social-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.6;
}

.join-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--accent-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s var(--animation-spring);
    font-size: 1em;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.social-card:hover .join-now {
    background: var(--accent-color-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-card:active .join-now {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.join-now i {
    font-size: 1em;
    margin-right: 8px;
    color: inherit;
}

/* Specjalne style dla przycisków w kartach */
.social-card:nth-child(1) .join-now {
    background: #7289DA;  /* Discord */
}

.social-card:nth-child(1):hover .join-now {
    background: #8699E3;
}

.social-card:nth-child(2) .join-now {
    background: #FF0000;  /* YouTube */
}

.social-card:nth-child(2):hover .join-now {
    background: #FF3333;
}

.social-card:nth-child(3) .join-now {
    background: #A435F0;  /* TikTok */
}

.social-card:nth-child(3):hover .join-now {
    background: #B355FF;
}

@media (max-width: 768px) {
    .join-now {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Nowe animacje */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Feature Cards */
.features-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card, .step-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.6s var(--animation-spring);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardReveal 0.8s var(--animation-spring) forwards;
}

.feature-card:nth-child(1), .step-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2), .step-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3), .step-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover, .step-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(158, 158, 158, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card i, .step-card i {
    font-size: 3rem;
    color: var(--primary-gray);
    margin-bottom: 25px;
    transition: all 0.5s var(--animation-bounce);
}

.feature-card:hover i, .step-card:hover i {
    transform: scale(1.3) rotate(15deg);
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.feature-info, .step-info {
    margin-top: 20px;
}

.feature-card h3, .step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p, .step-card p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-btn, .step-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(158, 158, 158, 0.1);
    border: 1px solid rgba(158, 158, 158, 0.2);
    border-radius: 25px;
    color: var(--text-light);
    transition: all 0.4s var(--animation-spring);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-btn::before, .step-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s var(--animation-smooth);
}

.feature-btn:hover, .step-btn:hover {
    transform: translateY(-5px);
    background: rgba(158, 158, 158, 0.2);
    border-color: rgba(158, 158, 158, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-btn:hover::before, .step-btn:hover::before {
    left: 100%;
}

.feature-btn:active, .step-btn:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
    .features-grid, .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .feature-card, .step-card {
        padding: 20px;
    }

    .feature-card i, .step-card i {
        font-size: 2.5rem;
    }

    .feature-card h3, .step-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p, .step-card p {
        font-size: 1rem;
    }
}

.number-changing {
    animation: numberPulse 0.3s ease-in-out;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Shop Section Styles */
.shop-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.4s var(--animation-spring);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(158, 158, 158, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.product-image {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s var(--animation-spring);
}

.product-card:hover .product-icon {
    transform: scale(1.2) rotate(15deg);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.product-title {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.product-description {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    flex-grow: 1;
}

.product-price {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: bold;
}

.shop-loader {
    text-align: center;
    padding: 40px;
    color: var(--text-dim);
    font-size: 1.2rem;
    width: 100%;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.shop-loader i {
    font-size: 2.5rem;
    color: var(--primary-gray);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shop-error {
    text-align: center;
    padding: 40px;
    color: #ff6b6b;
    font-size: 1.2rem;
    width: 100%;
    grid-column: 1 / -1;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.shop-error i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.refresh-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 30px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s var(--animation-spring);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.refresh-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.refresh-button:active {
    transform: translateY(0) scale(0.95);
}

.refresh-button i {
    font-size: 1.1rem;
    margin: 0;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s var(--animation-spring);
    font-size: 1.2rem;
    width: 100%;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.buy-button:active {
    transform: translateY(0) scale(0.95);
}

.buy-button i {
    transition: transform 0.3s ease;
}

.buy-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .product-card {
        padding: 20px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.8rem;
    }
}

.shop-notice {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    font-style: italic;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.shop-notice:hover {
    opacity: 1;
}

/* Community Section Styles */
.community {
    padding: 100px 0;
    min-height: calc(100vh - 80px);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s var(--animation-spring);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Discord icon */
.social-card:nth-child(1) i {
    color: #7289DA;
    text-shadow: 0 0 20px rgba(114, 137, 218, 0.3);
}

.social-card:nth-child(1):hover i {
    color: #8699E3;
    text-shadow: 0 0 30px rgba(114, 137, 218, 0.5);
}

/* Email icon */
.social-card:nth-child(2) i {
    color: #4CAF50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.social-card:nth-child(2):hover i {
    color: #5BBF5F;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
}

.social-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.social-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.social-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.6;
}

.join-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--accent-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s var(--animation-spring);
    font-size: 1em;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.social-card:hover .join-now {
    background: var(--accent-color-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-card:active .join-now {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.join-now i {
    font-size: 1em;
    margin-right: 8px;
    color: inherit;
}

/* Specjalne style dla przycisków w kartach */
.social-card:nth-child(1) .join-now {
    background: #7289DA;  /* Discord */
}

.social-card:nth-child(1):hover .join-now {
    background: #8699E3;
}

.social-card:nth-child(2) .join-now {
    background: #FF0000;  /* YouTube */
}

.social-card:nth-child(2):hover .join-now {
    background: #FF3333;
}

.social-card:nth-child(3) .join-now {
    background: #A435F0;  /* TikTok */
}

.social-card:nth-child(3):hover .join-now {
    background: #B355FF;
}

@media (max-width: 768px) {
    .community {
        padding: 60px 0;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .social-card {
        padding: 25px;
    }

    .social-card i {
        font-size: 2.5em;
    }

    .social-card h3 {
        font-size: 1.3em;
    }
}

/* Footer social icons */
.footer-social .social-icon i {
    transition: all 0.3s ease;
}

.footer-social .social-icon:nth-child(1) i {
    color: #7289DA;  /* Discord */
}

.footer-social .social-icon:nth-child(1):hover i {
    color: #8699E3;
    text-shadow: 0 0 15px rgba(114, 137, 218, 0.5);
}

.footer-social .social-icon:nth-child(2) i {
    color: #FF0000;  /* YouTube */
}

.footer-social .social-icon:nth-child(2):hover i {
    color: #FF3333;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.footer-social .social-icon:nth-child(3) i {
    color: #A435F0;  /* TikTok - fioletowy */
}

.footer-social .social-icon:nth-child(3):hover i {
    color: #B355FF;
    text-shadow: 0 0 15px rgba(164, 53, 240, 0.5);
}

.community .social-grid .social-card:nth-child(2) i {
    color: #FF0000;  /* YouTube */
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.community .social-grid .social-card:nth-child(2):hover i {
    color: #FF3333;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.community .social-grid .social-card:nth-child(2) .join-now {
    background: #FF0000;
}

.community .social-grid .social-card:nth-child(2):hover .join-now {
    background: #FF3333;
}

.rules-tile {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 40px 32px;
    margin: 0 auto 40px auto;
    max-width: 800px;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: box-shadow 0.4s var(--animation-spring), background 0.4s var(--animation-spring), transform 0.4s var(--animation-spring);
}

.rules-tile:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.28), 0 2px 16px 0 rgba(255,255,255,0.10);
    transform: translateY(-8px) scale(1.025);
    filter: brightness(1.08);
}

.rules-tile ul {
    margin-bottom: 18px;
    margin-top: 8px;
    padding-left: 24px;
}

.rules-tile li {
    margin-bottom: 8px;
    color: var(--text-dim);
    line-height: 1.7;
}

.rules-tile b {
    color: var(--text-light);
    font-size: 1.15em;
    display: block;
    margin-top: 18px;
}

@media (max-width: 600px) {
    .rules-tile {
        padding: 18px 8px;
        font-size: 0.98rem;
    }
}

.user-select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hero-logo {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 220px;
    width: 100%;
    height: auto;
    animation: logoBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
