

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.content {
    text-align: center;
    color: white;
    z-index: 1;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Floating Share Widget */
.floating-share-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-share-widget.left {
    right: auto;
    left: 30px;
}

.share-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fff, #fff);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    margin-bottom:50px;
}

.share-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.share-button:hover::before {
    left: 100%;
}

.share-button:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.share-button.active {
    transform: scale(1.1) rotate(180deg);
    background: linear-gradient(45deg, #fd1c1c, #fd1c1c);
}
.share-button.active i {
    color:#fff;
}
.share-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    margin-bottom:50px;
    margin-right:6px;
}
.share-options .fab{
    color:#fff;
    font-size:24px;
}
.share-options .fa{
    color:#fff;
    font-size:24px;
}

.share-options .fas{
    color:#fff;
    font-size:24px;
    margin-right:38px;
}



.floating-share-widget.left .share-options {
    right: auto;
    left: 0;
}

.share-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.share-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: visible;
}

.share-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.share-option:hover::before {
    width: 100%;
    height: 100%;
}

.share-option:hover {
    transform: scale(1.15);
    box-shadow: #ff0000;
}

/* Social Media Colors */
.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.twitter {/*4----*/
    background: linear-gradient(45deg, black, black);
}
.line {/*4----*/
    background: linear-gradient(45deg, #25d366, #4caf50);
}

.instagram {
    background: linear-gradient(45deg, #e4405f, #f06292);
}

.linkedin {
    background: linear-gradient(45deg, #0077b5, #42a5f5);
}

.whatsapp {
    background: linear-gradient(45deg, #25d366, #4caf50);
}

.telegram {
    background: linear-gradient(45deg, #0088cc, #29b6f6);
}

.pinterest {
    background: linear-gradient(45deg, #bd081c, #f44336);
}

.email {
    background: linear-gradient(45deg, #ff5722, #ff7043);
}

/* Tooltip */
.tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.floating-share-widget.left .tooltip {
    right: auto;
    left: 60px;
    transform: translateX(-10px);
}

.floating-share-widget.left .share-option:hover .tooltip {
    transform: translateX(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0,0,0,0.8);
}

.floating-share-widget.left .tooltip::after {
    right: auto;
    left: -5px;
    border-left-color: transparent;
    border-right-color: rgba(0,0,0,0.8);
}

.share-option:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animation for share options */
.share-option {
    animation: slideIn 0.5s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Pulse animation for main button */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 0 10px rgba(44,62,80,0.2);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    }
}

.share-button.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-share-widget {
        bottom: 20px;
        right: 20px;
    }

    .floating-share-widget.left {
        right: auto;
        left: 20px;
    }

    .share-button {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .share-option {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .share-options {
        bottom: 65px;
        gap: 12px;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content p {
        font-size: 1rem;
    }
}

/* Success animation */
.success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-animation.show {
    opacity: 1;
    visibility: visible;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Confetti Styles */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confetti-fall 3s linear forwards;
    z-index: 9999;
}

.confetti:nth-child(2n) {
    background: #4ecdc4;
}

.confetti:nth-child(3n) {
    background: #f39c12;
}

.confetti:nth-child(4n) {
    background: #9b59b6;
}

.confetti:nth-child(5n) {
    background: #e74c3c;
}

.confetti:nth-child(6n) {
    background: #2ecc71;
}

.confetti:nth-child(7n) {
    background: #3498db;
}

.confetti:nth-child(8n) {
    background: #f1c40f;
}

@keyframes confetti-explosion {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x, 100px), var(--end-y, 100px)) rotate(720deg) scale(1);
        opacity: 0;
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}