/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #e1f5c4, #a8e6cf, #dcedc1, #ffd3b6, #ffaaa5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Logo Styles */
.logo-container {
    margin-bottom: 40px;
    position: relative;
    padding: 20px;
}

.logo-glow {
    position: relative;
    display: inline-block;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px #8bc34a) drop-shadow(0 0 20px #689f38);
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 0 20px #8bc34a) drop-shadow(0 0 30px #689f38) drop-shadow(0 0 40px #33691e);
        transform: scale(1.08);
    }
}

.logo {
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Order Text */
.order-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    animation: orderTextGlow 2s ease-in-out infinite alternate;
}

@keyframes orderTextGlow {
    0% {
        color: #333;
        text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
        transform: scale(1);
    }
    100% {
        color: #2e7d32;
        text-shadow: 0 0 15px rgba(76, 175, 80, 0.6), 0 0 25px rgba(76, 175, 80, 0.3);
        transform: scale(1.02);
    }
}

/* Animated underline for order text */
.order-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #FF6B6B, #4ECDC4, #45B7D1);
    animation: orderUnderline 3s ease-in-out infinite;
}

@keyframes orderUnderline {
    0%, 100% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Sophisticated Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
        box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    }
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        filter: brightness(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        filter: brightness(1.2);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    }
}

/* Color Pulse Effect */
@keyframes colorPulse {
    0%, 100% { filter: saturate(1); }
    50% { filter: saturate(1.5); }
}

.social-button {
    width: 65px;
    height: 65px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: translateZ(0);
    animation: 
        float 6s ease-in-out infinite,
        glow 3s ease-in-out infinite,
        colorPulse 8s ease-in-out infinite;
    will-change: transform, box-shadow, filter;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Colorful hover effect */
.social-button:hover {
    transform: scale(1.25) rotate(0deg) translateZ(20px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 0 5px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6);
    animation: 
        bounce 0.6s ease infinite alternate,
        glow 1.5s ease-in-out infinite !important;
    filter: brightness(1.2) saturate(1.5);
    font-size: 32px;
}

/* Bounce animation */
@keyframes bounce {
    to {
        transform: scale(1.15) translateY(-10px) rotate(5deg);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    }
}

/* Pulse glow effect */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Apply pulse on hover */
.social-button:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-glow 1.5s infinite;
}

/* Icon animation */
.social-button i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-button:hover i {
    transform: scale(1.4) rotateY(360deg);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

/* Add a subtle shine effect */
.social-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: all 0.6s ease;
}

.social-button:hover::before {
    left: 100%;
    opacity: 0.6;
}

/* Individual button colors with hover effects */

/* Staggered animations and unique styles for each button */
.social-buttons a { 
    position: relative;
    overflow: visible;
}

.social-buttons a::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25%;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: all 0.4s ease;
}

.social-buttons a:hover::after {
    opacity: 0.8;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.social-buttons a:nth-child(1) { 
    animation-delay: 0s;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}
.social-buttons a:nth-child(1)::after {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.social-buttons a:nth-child(2) { 
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.social-buttons a:nth-child(2)::after {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-buttons a:nth-child(3) { 
    animation-delay: 0.4s;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    background-size: 400% 400%;
}
.social-buttons a:nth-child(3)::after {
    background: linear-gradient(45deg, #405DE6, #E1306C);
}

/* Add Instagram gradient animation separately */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.social-buttons a:nth-child(3) {
    animation: 
        float 6s ease-in-out 0.4s infinite,
        glow 3s ease-in-out 0.4s infinite,
        colorPulse 8s ease-in-out 0.4s infinite,
        gradientBG 6s ease infinite;
}

.social-buttons a:nth-child(4) { 
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #3b5998, #4267B2);
}
.social-buttons a:nth-child(4)::after {
    background: linear-gradient(135deg, #3b5998, #4267B2);
}

/* Phone Number */
.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.phone-number span {
    position: relative;
    display: inline-block;
    animation: numberGlow 2s ease-in-out infinite alternate;
}

/* Animated underline */
.phone-number span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    animation: underline 3s ease-in-out infinite;
}

@keyframes underline {
    0%, 100% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

@keyframes numberGlow {
    0% {
        color: #333;
        text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
        transform: scale(1);
    }
    100% {
        color: #2e7d32;
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8), 0 0 30px rgba(76, 175, 80, 0.4);
        transform: scale(1.05);
    }
}

.phone-number i {
    color: #4CAF50;
    font-size: 28px;
    animation: phoneIconEnhanced 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes phoneIconEnhanced {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
        text-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
        filter: brightness(1.2);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
        filter: brightness(1.3);
    }
    75% {
        transform: scale(1.15) rotate(5deg);
        text-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
        filter: brightness(1.2);
    }
}

/* Coming Soon Animation */
@keyframes colorChange {
    0% { 
        color: #FF6B6B; 
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.7); 
    }
    16% { 
        color: #4ECDC4; 
        text-shadow: 0 0 15px rgba(78, 205, 196, 0.7); 
    }
    32% { 
        color: #45B7D1; 
        text-shadow: 0 0 15px rgba(69, 183, 209, 0.7); 
    }
    48% { 
        color: #96CEB4; 
        text-shadow: 0 0 15px rgba(150, 206, 180, 0.7); 
    }
    64% { 
        color: #FFEEAD; 
        text-shadow: 0 0 15px rgba(255, 238, 173, 0.7); 
    }
    80% { 
        color: #FF8C94; 
        text-shadow: 0 0 15px rgba(255, 140, 148, 0.7); 
    }
    100% { 
        color: #FF6B6B; 
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.7); 
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Coming Soon */
.coming-soon {
    font-size: 24px;
    color: #2E7D32;
    margin: 40px auto;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    animation: colorChange 8s infinite ease-in-out, float 4s infinite ease-in-out;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 107, 107, 0.2);
    background-clip: padding-box;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 5s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { 
        left: -100%;
        opacity: 0.8;
    }
    20% { 
        left: 100%;
        opacity: 0.8;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}

.coming-soon:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
/* Responsive adjustments */
@media (max-width: 768px) {
    .order-text {
        font-size: 16px;
        margin: 15px 0 10px;
    }
    .logo {
        max-width: 250px;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .coming-soon {
        font-size: 18px;
    }
    
    .social-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 200px;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .coming-soon {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .social-button {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}
