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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.content h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.2rem;
    color: #7f8c8d;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 2rem;
        margin: 0 10px;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    body {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .content h2 {
        font-size: 1.3rem;
    }
    
    .content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 5px;
    }
    
    .content {
        padding: 1rem;
    }
}

.falling-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-particles-front {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
    transform-origin: center;
    will-change: transform;
}

.leaf {
    width: 16px;
    height: 16px;
    background: #228B22;
    animation: fall linear infinite, rotate linear infinite, sway ease-in-out infinite;
}

.leaf.autumn {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347);
}

.leaf.green {
    background: linear-gradient(45deg, #32CD32, #228B22, #006400);
}

.petal {
    width: 12px;
    height: 12px;
    background: #FFB6C1;
    animation: fall linear infinite, rotate linear infinite, flutter ease-in-out infinite;
}

.petal.pink {
    background: linear-gradient(45deg, #FFB6C1, #FF69B4, #FF1493);
}

.petal.white {
    background: linear-gradient(45deg, #FFFFFF, #F0F8FF, #E6E6FA);
}

.petal.purple {
    background: linear-gradient(45deg, #DDA0DD, #9370DB, #8A2BE2);
}

@keyframes fall {
    from {
        top: -50px;
    }
    to {
        top: 100vh;
    }
}

@keyframes fallWithFade {
    from {
        top: -50px;
    }
    80% {
        top: 80vh;
        opacity: inherit;
    }
    to {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(15px);
    }
    75% {
        transform: translateX(-15px);
    }
}

@keyframes flutter {
    0%, 100% {
        transform: translateX(0px) scale(1);
    }
    25% {
        transform: translateX(10px) scale(1.1);
    }
    50% {
        transform: translateX(-5px) scale(0.9);
    }
    75% {
        transform: translateX(-10px) scale(1.05);
    }
}

.particle.slow {
    animation-duration: 25s, 12s, 6s;
}

.particle.medium {
    animation-duration: 18s, 9s, 4s;
}

.particle.fast {
    animation-duration: 12s, 6s, 3s;
}

.particle.layer1 {
    opacity: 0.6;
    transform: scale(0.6);
}

.particle.layer2 {
    opacity: 0.8;
    transform: scale(0.8);
}

.particle.layer3 {
    opacity: 1;
    transform: scale(1);
}

.sobot-overlay {
    position: fixed;
    bottom: 2%;
    left: 20%;
    pointer-events: none;
    z-index: 10000;
}

.sobot-image {
    height: 50vh;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 1;
    filter: drop-shadow(-8px 0px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.2));
    mix-blend-mode: color-burn;
}

@media (max-width: 768px) {
    .sobot-image {
        height: 54vh;
    }
}

@media (max-width: 480px) {
    .sobot-image {
        height: 45vh;
    }
}

.modal-container {
    position: fixed;
    top: -25vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 0 15px 15px;
    z-index: 10000;
    transition: top 0.5s ease-in-out;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.modal-container.open {
    top: 0;
    height: 30vh;
}

.modal-tab {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: red;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    user-select: none;
    z-index: 99999;
    border: 3px solid white;
    font-size: 16px;
    font-weight: bold;
}

.modal-tab:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%) scale(1.05);
}

.modal-tab span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.modal-content {
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.modal-container.open .modal-content {
    opacity: 1;
}

.modal-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-content p {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
}