/* Custom CSS for BULL Project - Hero Parallax */

/* Preloader Baru dengan Masking BOK */
@font-face {
    font-family: 'Byrd Bold';
    src: url('./assets/font/byrd-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Baby Doll';
    src: url('./assets/font/Baby Doll.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    /* Background hitam pekat tanpa gradasi */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 10000;
}

/* Letter Row - 3 columns dengan huruf BOK */
.letter-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    z-index: 10001;
}

.letter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.letter-text {
    font-family: 'Byrd Bold', sans-serif;
    font-size: 8rem;
    color: white;
    text-align: center;
    z-index: 10003;
}

/* Masking untuk setiap huruf */
.mask-letter {
    position: relative;
    width: 400px;
    height: 400px;
    z-index: 10002;
    overflow: hidden;
}

/* Styling awal untuk semua gambar */
.masked-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: slideUp 1.5s ease-out forwards;
    transform: translateY(100%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.masked-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Animasi slide up untuk gambar */
@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animasi slide down untuk huruf tengah */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animasi exit untuk huruf B dan K (keluar ke atas) */
@keyframes exitUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 1;
    }
}

/* Animasi exit untuk huruf O (keluar ke bawah) */
@keyframes exitDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 1;
    }
}

/* Delay animasi untuk setiap huruf */
.letter-container:nth-child(1) .masked-image {
    animation-delay: 0.2s;
}

/* Override khusus untuk huruf tengah (O) */
.letter-container:nth-child(2) .masked-image {
    animation: slideDown 1.5s ease-out forwards;
    animation-delay: 0.4s;
    transform: translateY(-100%);
    opacity: 0;
    position: relative;
    z-index: 10003;
}

.letter-container:nth-child(3) .masked-image {
    animation-delay: 0.6s;
}

/* Masking untuk huruf B */
.mask-b {
    -webkit-mask-image: url('../images/b.svg');
    mask-image: url('../images/b.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Masking untuk huruf O */
.mask-o {
    -webkit-mask-image: url('../images/o.svg');
    mask-image: url('../images/o.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Masking untuk huruf K */
.mask-k {
    -webkit-mask-image: url('../images/k.svg');
    mask-image: url('../images/k.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Debug Info */
.debug-info {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 12px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 250px;
}

.debug-info h3 {
    margin: 0 0 10px 0;
    color: #00ff00;
}

.debug-info p {
    margin: 5px 0;
    color: #00ff00;
}




/* Responsive design for masking */
@media (max-width: 768px) {
    .letter-row {
        gap: 30px;
    }

    .mask1 img,
    .mask2 img,
    .mask3 img {
        width: 150px;
        height: 150px;
        z-index: 10002;
    }
}

@media (max-width: 480px) {
    .letter-row {
        gap: 20px;
    }

    .mask1 img,
    .mask2 img,
    .mask3 img {
        width: 100px;
        height: 100px;
        z-index: 10002;
    }
}

/* Ensure images are visible */
.mask1 img,
.mask2 img,
.mask3 img {
    position: relative;
    z-index: 10002;
    display: block;
}




/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.main-content.visible {
    opacity: 1;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Lenis smooth scrolling support */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Body Background Image */
body {
    background-color: #000000;
    min-height: 100vh;
    font-family: 'Baby Doll', sans-serif;
}

/* Hide scrollbar but keep scroll functionality */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* For Firefox */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* For IE and Edge */
body {
    -ms-overflow-style: none;
}







/* Custom Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, #ef4444, #f97316, #eab308, #ef4444);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {

    #branding,
    #features,
    footer {
        grid-template-columns: 1fr 600px 1fr;
    }
}





/* Loading Animation */
.loading {
    @apply animate-spin;
}

/* Custom Focus States */
.social-btn:focus {
    outline: none;
    ring: 2px;
    ring-color: #ef4444;
    ring-offset: 2px;
    ring-offset-color: transparent;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .social-btn {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

/* Print styles */
@media print {
    .social-btn {
        display: none !important;
    }
}

/* Responsive design untuk preloader */
@media (max-width: 768px) {
    .letter-row {
        gap: 30px;
    }

    .mask-letter {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .letter-row {
        gap: 15px;
    }

    .mask-letter {
        width: 200px;
        height: 200px;
    }
}

/* Hero Parallax Section */
.hero-parallax {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
    background: #000000;
    /* Dark background to ensure visibility */
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
    opacity: 1;
    /* Force visible */
    will-change: transform;
    pointer-events: none;
    /* Allow mouse events to pass through */
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Layer 4 (paling depan) - Parallax effect */
.layer-4 {
    z-index: 10;
    transform: scale(1.2);
    transition: transform 0.1s ease-out;
    animation-delay: 0.6s;
}

/* Layer 3 - Parallax effect */
.layer-3 {
    z-index: 20;
    transform: scale(1.2);
    transition: transform 0.1s ease-out;
    animation-delay: 0.4s;
}

/* Layer 2 - Scaling effect saat scroll */
.layer-2 {
    z-index: 30;
    transform: scale(1.2);
    transition: transform 0.1s ease-out;
    animation-delay: 0.2s;
}

/* Sit Logo on Layer 2 */
.sit-logo {
    position: absolute;
    bottom: 64%;
    left: 53%;
    z-index: 31;
    pointer-events: auto;
    cursor: pointer;
}

.sit-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    pointer-events: auto;
}

.sit-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 25px rgba(156, 84, 225, 0.6));
}



/* Overlap Section */
.overlap-section {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: -100vh;
    /* Overlap dengan hero */
    z-index: 50;
    margin-bottom: 0;
    padding: 0;
    pointer-events: none;
}

.overlap-content {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.overlap-content img {
    width: 105%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
    transform: scale(1.05);
    transform-origin: center;
}

/* Floating Logo */
.floating-logo {
    position: absolute;
    top: 48%;
    /* ← Ubah ini untuk posisi vertikal */
    right: 40%;
    /* ← Ubah ini untuk posisi horizontal */
    transform: translateY(-50%);
    z-index: 40;
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
    cursor: pointer;
}

.floating-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(71, 149, 255, 0.6)) drop-shadow(0 0 30px rgba(71, 149, 255, 0.8));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

/* Floating Social Box */
.floating-social-box {
    position: absolute;
    bottom: 25%;
    /* 75% dari tinggi section 2 */
    left: 10%;
    z-index: 60;
    display: flex;
    gap: 20px;
    transform: perspective(1200px) rotateY(25deg) rotateX(15deg) rotateZ(-5deg);
    transition: transform 0.4s ease;
}

.floating-social-box:hover {
    transform: perspective(1200px) rotateY(20deg) rotateX(10deg) rotateZ(-3deg) scale(1.1);
}

/* New Button Style */
.button {
    position: relative;
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: rotateZ(var(--random-rotation)) translateZ(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.button:nth-child(1) {
    --random-rotation: -8deg;
    transform: rotateZ(-8deg) translateZ(30px);
}

.button:nth-child(2) {
    --random-rotation: 12deg;
    transform: rotateZ(12deg) translateZ(40px);
}

.button:nth-child(3) {
    --random-rotation: -15deg;
    transform: rotateZ(-15deg) translateZ(25px);
}

.button:hover {
    transform: translateY(-8px) rotateZ(var(--random-rotation)) translateZ(50px) scale(1.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Fold effect */
.fold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.button:hover .fold {
    transform: translateX(100%);
}

/* Points wrapper */
.points_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.point {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin: 1px;
    animation: pulse 2s infinite;
}

.point:nth-child(1) {
    animation-delay: 0s;
}

.point:nth-child(2) {
    animation-delay: 0.2s;
}

.point:nth-child(3) {
    animation-delay: 0.4s;
}

.point:nth-child(4) {
    animation-delay: 0.6s;
}

.point:nth-child(5) {
    animation-delay: 0.8s;
}

.point:nth-child(6) {
    animation-delay: 1s;
}

.point:nth-child(7) {
    animation-delay: 1.2s;
}

.point:nth-child(8) {
    animation-delay: 1.4s;
}

.point:nth-child(9) {
    animation-delay: 1.6s;
}

.point:nth-child(10) {
    animation-delay: 1.8s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.button:hover .points_wrapper {
    opacity: 1;
}

/* Inner content */
.inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.button:hover .icon {
    transform: scale(1.2);
}

/* Button specific colors */
.x-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}

.community-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}

.dexscreener-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

/* Scroll effect untuk layer 2 - dihandle oleh JavaScript */
.hero-parallax.scrolled .layer-2 {
    /* Scaling effect dihandle oleh JavaScript */
    transition: transform 0.1s ease-out;
}

/* Responsive design untuk floating social box */
@media (max-width: 768px) {
    .floating-social-box {
        left: 10%;
        bottom: 20%;
        transform: perspective(1000px) rotateY(20deg) rotateX(12deg) rotateZ(-3deg);
        gap: 15px;
    }

    .button {
        width: 60px;
        height: 60px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-social-box {
        left: 10%;
        bottom: 15%;
        transform: perspective(800px) rotateY(15deg) rotateX(8deg) rotateZ(-2deg);
        gap: 12px;
    }

    .button {
        width: 55px;
        height: 55px;
    }

    .icon {
        width: 18px;
        height: 18px;
    }
}





.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    touch-action: pan-y pinch-zoom;
}

.slide-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 25px;
    overflow: hidden;
}

.slide-card.active {
    opacity: 1;
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





/* Responsive design untuk section 2 */
@media (max-width: 768px) {
    .main-container {
        bottom: 50px;
        gap: 25px;
    }

    .bull-logo {
        width: 140px;
    }

    .logo-section {
        padding: 12px 20px;
    }



    .ca-text-container {
        padding: 12px 20px;
        height: 50px;
    }

    .buy-button {
        padding: 0 35px;
        height: 50px;
    }

    .buy-button .button-text {
        font-size: 1.1rem;
    }

    .ca-text {
        font-size: 0.9rem;
    }

    .tooltip {
        font-size: 0.75rem;
        padding: 6px 10px;
    }



    .social-container {
        top: -100px;
        left: 0;
    }

    .social-button {
        width: 160px;
        height: 64px;
    }

    .button-text {
        font-size: 14px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .slideshow-container {
        width: 480px;
        height: 480px;
    }

    .floating-logo {
        right: 40%;
    }

    .floating-logo img {
        width: 150px;
    }

    .sit-logo {
        bottom: 65%;
        left: 53%;
    }

    .sit-logo img {
        width: 100px;
    }


}

@media (max-width: 480px) {
    .main-container {
        bottom: 30px;
        gap: 20px;
    }

    .bull-logo {
        width: 110px;
    }

    .logo-section {
        padding: 10px 16px;
    }



    .ca-text-container {
        padding: 10px 16px;
        height: 45px;
    }

    .buy-button {
        padding: 0 25px;
        height: 45px;
    }

    .buy-button .button-text {
        font-size: 0.9rem;
    }

    .buy-button .icons-container i {
        font-size: 16px;
    }

    .ca-text {
        font-size: 0.8rem;
    }

    .tooltip {
        font-size: 0.7rem;
        padding: 5px 8px;
    }



    .social-container {
        top: -80px;
        left: 0;
    }

    .social-button {
        width: 140px;
        height: 56px;
    }

    .button-text {
        font-size: 12px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .slideshow-container {
        width: 360px;
        height: 360px;
    }

    .floating-logo {
        right: 40%;
    }

    .floating-logo img {
        width: 120px;
    }

    .sit-logo {
        bottom: 65%;
        left: 53%;
    }

    .sit-logo img {
        width: 80px;
    }


}

/* Main Container for vertical stacking */
.main-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 55;
    pointer-events: auto;
}

/* Logo Section */
.logo-section {
    text-align: center;
}

.bull-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

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

/* CA Box Section */
.ca-box-section {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.ca-text-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 25px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(135, 206, 235, 0.15);
    border: 2px solid rgba(135, 206, 235, 0.4);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.2);
}

.ca-text-container:hover {
    background: rgba(135, 206, 235, 0.25);
    border-color: rgba(135, 206, 235, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.ca-text {
    color: #000000;
    font-size: 1.2rem;
    font-family: 'Baby Doll', cursive;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Tooltip Styling */
.tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
}

.ca-text-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Buy Button */
.buy-button {
    position: relative;
    width: fit-content;
    height: 60px;
    padding: 0 40px;
    background: rgba(135, 206, 235, 0.15);
    border: 2px solid rgba(135, 206, 235, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.buy-button:hover {
    background: rgba(135, 206, 235, 0.25);
    border-color: rgba(135, 206, 235, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.buy-button .button-face {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buy-button .button-text {
    color: #000000;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.buy-button .icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-button .icons-container i {
    font-size: 18px;
    color: #000000;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 600px;
    /* Back to original size */
    height: 600px;
    /* Back to original size */
}

/* New Social Container (Absolute positioned) */
.social-container {
    padding: 20px;
    position: absolute;
    /* top: -120px; */
    /* Position above slideshow */
    left: 0;
    /* Position at left corner */
    z-index: 60;
}

.social-button {

    position: relative;
    width: 200px;
    height: 50px;
    background: #000000;
    border-radius: 10px;
    border: 4px solid #000;
    box-shadow:
        8px 8px 0 #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.social-button:hover {
    transform: translateZ(20px) rotateX(5deg) rotateY(-5deg);
    box-shadow:
        5px 5px 0 #ffffff;

}

.button-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button-text {

    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.social-button:hover .button-text {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
}

.icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-button:hover .icons-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.social-icon {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.social-icon:nth-child(3) {
    animation-delay: 0.3s;
}

.social-icon:nth-child(4) {
    animation-delay: 0.4s;
}

.social-button:hover .social-icon {
    animation: iconPop 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.social-icon:hover {
    transform: scale(1.1);
    fill: #ff3366;
    cursor: pointer;
}

.social-icon {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    cursor: pointer;
}

@keyframes iconPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-90deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}



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



.social-button:hover::after {
    transform: scale(1) rotate(45deg);
    background: rgb(255 255 255);
    box-shadow:
        16px 16px 0 #ffffff;
}



.social-button:hover~.social-container::before,
.social-container:hover::before {
    width: 400px;
    height: 400px;
}