* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: preloaderFloat 3s ease-in-out infinite;
}

@keyframes preloaderFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.preloader-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    animation: preloaderSpin 3s linear infinite;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.preloader-title {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    color: #fff;
    text-shadow: 
        4px 4px 0px #ff6b6b,
        8px 8px 0px #4ecdc4,
        12px 12px 0px #ffe66d;
    letter-spacing: 8px;
    margin-bottom: 10px;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.preloader-subtitle {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: subtitleGlow 2s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0%, 100% { text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5); }
}

.preloader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #ff6b6b;
    animation-duration: 1s;
}

.spinner-ring:nth-child(2) {
    border-top-color: #4ecdc4;
    animation-duration: 1.3s;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.spinner-ring:nth-child(3) {
    border-top-color: #ffe66d;
    animation-duration: 1.8s;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 3px;
    animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .preloader-logo {
        width: 100px;
        height: 100px;
    }
    
    .preloader-title {
        font-size: 3rem;
        text-shadow: 
            2px 2px 0px #ff6b6b,
            4px 4px 0px #4ecdc4,
            6px 6px 0px #ffe66d;
    }
    
    .preloader-subtitle {
        font-size: 1.3rem;
    }
    
    .preloader-spinner {
        width: 80px;
        height: 80px;
    }
    
    .preloader-text {
        font-size: 1.2rem;
    }
}

body {
    font-family: 'Fredoka', sans-serif;
    background: url('images/background.png') center center / cover no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 25%, rgba(240, 147, 251, 0.3) 50%, rgba(79, 172, 254, 0.3) 75%, rgba(0, 242, 254, 0.3) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    pointer-events: none;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(72, 219, 251, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(253, 203, 110, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(132, 250, 176, 0.2) 0%, transparent 50%);
    animation: bgMove 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 30px 0;
    text-align: center;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background: white;
    display: block;
}

.site-title {
    font-family: 'Bangers', cursive;
    font-size: 4rem;
    color: #fff;
    text-shadow: 
        4px 4px 0px #ff6b6b,
        8px 8px 0px #4ecdc4,
        12px 12px 0px #ffe66d;
    letter-spacing: 5px;
}

/* Banner Section */
.banner-section {
    padding: 40px 0;
}

.banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 6px solid #fff;
    background: white;
}

/* Action Buttons */
.action-buttons {
    padding: 50px 0;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.action-btn {
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    padding: 25px 40px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contract-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.twitter-btn {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.pump-btn {
    background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-icon {
    font-size: 2rem;
    z-index: 1;
}

.btn-text {
    z-index: 1;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0 80px;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 
        3px 3px 0px #ff6b6b,
        6px 6px 0px #4ecdc4;
    letter-spacing: 3px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: white;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-family: 'Lilita One', cursive;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.toast.show {
    bottom: 30px;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Lightbox Popup */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.8);
    border-radius: 50%;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    background: rgba(255, 107, 107, 1);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(78, 205, 196, 0.8);
    color: white;
    border: none;
    font-size: 40px;
    font-weight: bold;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(78, 205, 196, 1);
    transform: translateY(-50%) scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
        text-shadow: 
            2px 2px 0px #ff6b6b,
            4px 4px 0px #4ecdc4,
            6px 6px 0px #ffe66d;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 30px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        font-size: 1.2rem;
        padding: 10px 20px;
        bottom: 15px;
    }
}
