body, html {
    margin: 0;
    padding: 0;
    font-family: 'Iosevka', sans-serif;
    background: #121212; /* Dark background for the theme */
    color: white; /* Light text for readability */
}

.top-bar {
   display: flex;
   align-items: center;
   padding: 10px;  /* Add padding as needed */
}

.logo {
   height: 50px;  /* Adjust size as needed */
   margin-right: 10px;  /* Space between logo and text */
}

.app-name {
   font-size: 24px;  /* Adjust size as needed */
   font-weight: bold;  /* Optional: make it bold */
   /* Add more styling for the app name text if needed */
}


.hero-container {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero {
    position: relative;
    z-index: 2;
    height: 100vh;
    background-image: url('img/Dyst_BG.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: fill;
    padding: 100px 20px;
}

.hero-container {
    position: relative;
    background-color: #000;
    z-index: 2;
    padding: 50px; /* Adjust padding as needed */
}

.logo {
    max-width: 128 px; /* Adjust based on your logo size */
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3em; /* Large, catchy text */
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2em; /* Subtext */
    margin-bottom: 30px;
}

.background-layer {
   /* Set up your background here */
   position: relative;
   z-index: 0;
   background-image: url('img/Dyst_BG.webp');
   background-attachment: fixed;
   background-size: cover;
   background-position: center;
   height: 100%;
}

.receipt-image {
   position: absolute;
   top: 0;
   right: 0;
   width: auto; /* Set width to auto or a fixed width as necessary */
   z-index: 1; /* Make sure this is below the Android device image */
   transform: translateZ(0); /* GPU acceleration for smoother performance */
}

.receipt-image img {
   display: block; /* Remove default image spacing */
   max-height: 100vh; /* Adjust as necessary */
   width: auto;
   /* Apply your desired animation, for example, a slight fade-in */
   animation: fadeIn 2s ease-out;
}

.store-buttons button {
    background: #1A73E8; /* Google Play button color */
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.store-buttons .app-store {
    background: #000; /* App Store button color */
}

.hero-image {
    margin-top: 20px;
}

.hero-image .android-device {
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0); /* Add a subtle shadow to the device image */
}

.android-device {
   animation: slideInRight 1s ease-out forwards;  /* Example duration of 1 second */
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #0A0A0A; /* Matching the dark theme hero section */
}

.privacy-link {
    color: #BBB; /* Slightly lighter color for links for readability */
    text-decoration: none; /* Optional: Removes underline from links */
}

.privacy-link:hover {
    color: #FFF; /* Change color on hover for better interaction feedback */
}

.glitch-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: transparent;
 }
 
 .glitch {
    position: relative;
    font-size: 92px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 6px;
    z-index: 1;
 }
 
 .glitch:before {
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    color: #fff;
    background-color: transparent;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-before 3s infinite linear alternate-reverse;
 }
 
 .glitch:after {
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 2px;
    width: 100%;
    color: #fff;
    background-color: transparent;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-after 2s infinite linear alternate-reverse;
 }
 
 @keyframes slideInRight {
   from {
       transform: translateX(100%);  /* Start off-screen to the right */
       opacity: 0;  /* Start with the image fully transparent */
   }
   to {
       transform: translateX(0);  /* End at its original position */
       opacity: 1;  /* End with the image fully opaque */
   }
}


 @keyframes noise-before {
    0% {
       clip: rect(61px, 9999px, 52px, 0);
    }
 
    5% {
       clip: rect(33px, 9999px, 144px, 0);
    }
 
    10% {
       clip: rect(121px, 9999px, 115px, 0);
    }
 
    15% {
       clip: rect(144px, 9999px, 162px, 0);
    }
 
    20% {
       clip: rect(62px, 9999px, 180px, 0);
    }
 
    25% {
       clip: rect(34px, 9999px, 42px, 0);
    }
 
    30% {
       clip: rect(147px, 9999px, 179px, 0);
    }
 
    35% {
       clip: rect(99px, 9999px, 63px, 0);
    }
 
    40% {
       clip: rect(188px, 9999px, 122px, 0);
    }
 
    45% {
       clip: rect(154px, 9999px, 14px, 0);
    }
 
    50% {
       clip: rect(63px, 9999px, 37px, 0);
    }
 
    55% {
       clip: rect(161px, 9999px, 147px, 0);
    }
 
    60% {
       clip: rect(109px, 9999px, 175px, 0);
    }
 
    65% {
       clip: rect(157px, 9999px, 88px, 0);
    }
 
    70% {
       clip: rect(173px, 9999px, 131px, 0);
    }
 
    75% {
       clip: rect(62px, 9999px, 70px, 0);
    }
 
    80% {
       clip: rect(24px, 9999px, 153px, 0);
    }
 
    85% {
       clip: rect(138px, 9999px, 40px, 0);
    }
 
    90% {
       clip: rect(79px, 9999px, 136px, 0);
    }
 
    95% {
       clip: rect(25px, 9999px, 34px, 0);
    }
 
    100% {
       clip: rect(173px, 9999px, 166px, 0);
    }
 }
 
 @keyframes noise-after {
    0% {
       clip: rect(26px, 9999px, 33px, 0);
    }
 
    5% {
       clip: rect(140px, 9999px, 198px, 0);
    }
 
    10% {
       clip: rect(184px, 9999px, 89px, 0);
    }
 
    15% {
       clip: rect(121px, 9999px, 6px, 0);
    }
 
    20% {
       clip: rect(181px, 9999px, 99px, 0);
    }
 
    25% {
       clip: rect(154px, 9999px, 133px, 0);
    }
 
    30% {
       clip: rect(134px, 9999px, 169px, 0);
    }
 
    35% {
       clip: rect(26px, 9999px, 187px, 0);
    }
 
    40% {
       clip: rect(147px, 9999px, 137px, 0);
    }
 
    45% {
       clip: rect(31px, 9999px, 52px, 0);
    }
 
    50% {
       clip: rect(191px, 9999px, 109px, 0);
    }
 
    55% {
       clip: rect(74px, 9999px, 54px, 0);
    }
 
    60% {
       clip: rect(145px, 9999px, 75px, 0);
    }
 
    65% {
       clip: rect(153px, 9999px, 198px, 0);
    }
 
    70% {
       clip: rect(99px, 9999px, 136px, 0);
    }
 
    75% {
       clip: rect(118px, 9999px, 192px, 0);
    }
 
    80% {
       clip: rect(1px, 9999px, 83px, 0);
    }
 
    85% {
       clip: rect(145px, 9999px, 98px, 0);
    }
 
    90% {
       clip: rect(121px, 9999px, 154px, 0);
    }
 
    95% {
       clip: rect(156px, 9999px, 44px, 0);
    }
 
    100% {
       clip: rect(67px, 9999px, 122px, 0);
    }
 }

@font-face {
    font-family: 'Iosevka';
    src: url('fonts/iosevka.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-around;
        padding: 60px;
    }

    .hero-text, .hero-image {
        flex: 1; /* Split the space evenly between text and image */
    }

    .hero-text h1 {
        font-size: 4em;
    }

    .hero-text p {
        font-size: 1.5em;
    }
}