* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #80deea 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ekran ładowania */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #00bcd4 0%, #00acc1 50%, #0097a7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loader-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    position: relative;
    z-index: 10;
}

.spinner-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.spinner-outer,
.spinner-middle,
.spinner-inner {
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
}

.spinner-outer {
    width: 150px;
    height: 150px;
    border-top-color: rgba(255, 255, 255, 0.9);
    border-right-color: rgba(255, 255, 255, 0.9);
    animation: spinOuter 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    top: 0;
    left: 0;
}

.spinner-middle {
    width: 110px;
    height: 110px;
    border-bottom-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.7);
    animation: spinMiddle 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
    top: 20px;
    left: 20px;
}

.spinner-inner {
    width: 70px;
    height: 70px;
    border-top-color: rgba(255, 255, 255, 0.5);
    border-right-color: rgba(255, 255, 255, 0.5);
    animation: spinInner 1s linear infinite;
    top: 40px;
    left: 40px;
}

.spinner-center {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50px;
    left: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: centerPulse 2s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.logo-icon {
    width: 30px;
    height: 30px;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes spinOuter {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spinMiddle {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-180deg) scale(0.9); }
    100% { transform: rotate(-360deg) scale(1); }
}

@keyframes spinInner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes centerPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0);
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.loading-text {
    color: white;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

.progress-bar {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 10px;
    animation: progressLoad 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes progressLoad {
    0% { 
        width: 0%;
        transform: translateX(0);
    }
    50% { 
        width: 70%;
        transform: translateX(0);
    }
    100% { 
        width: 100%;
        transform: translateX(0);
    }
}

.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle-loader {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleMove 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.particle-loader:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-loader:nth-child(2) {
    top: 80%;
    left: 30%;
    animation-delay: 0.8s;
}

.particle-loader:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 1.6s;
}

.particle-loader:nth-child(4) {
    bottom: 20%;
    right: 30%;
    animation-delay: 2.4s;
}

.particle-loader:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 3.2s;
}

@keyframes particleMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(200px, -200px) scale(0.5);
        opacity: 0;
    }
}

/* Główna zawartość */
.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: opacity 0.5s ease;
}

.content.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Header z logo na górze */
.top-header {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.announcement-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.3);
    text-align: center;
    animation: slideIn 0.8s ease-out;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(0, 188, 212, 0.2);
}

.title {
    font-size: 42px;
    color: #00838f;
    margin-bottom: 15px;
    font-weight: 700;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.date {
    font-size: 24px;
    color: #00acc1;
    margin-bottom: 20px;
    font-weight: 500;
    animation: fadeInScale 1s ease-out 0.5s both;
}

.info {
    font-size: 20px;
    color: #0097a7;
    margin-bottom: 10px;
    animation: fadeInScale 1s ease-out 0.7s both;
}

.contact-info {
    font-size: 18px;
    color: #00acc1;
    margin-bottom: 35px;
    font-style: italic;
    animation: fadeInScale 1s ease-out 0.8s both;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    animation: fadeInScale 1s ease-out 0.9s both;
}

.discord-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
}

.discord-button:active {
    transform: translateY(-2px) scale(1.02);
}

.discord-icon {
    width: 28px;
    height: 28px;
}

.coming-soon {
    margin-top: 50px;
    text-align: center;
    animation: fadeInScale 1s ease-out 1.1s both;
}

.pulse-text {
    font-size: 28px;
    color: #00838f;
    font-weight: 600;
    margin-bottom: 10px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.sub-text {
    font-size: 20px;
    color: #00acc1;
    font-weight: 500;
}

/* Animowane tło */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.7;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.6;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .top-header {
        padding: 15px 0;
    }
    
    .header-logo {
        max-width: 90%;
    }
    
    .announcement-box {
        padding: 40px 25px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .date {
        font-size: 18px;
    }
    
    .info {
        font-size: 16px;
    }
    
    .discord-button {
        padding: 15px 30px;
        font-size: 18px;
    }
    
    .pulse-text {
        font-size: 22px;
    }
    
    .sub-text {
        font-size: 16px;
    }
}
