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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
    background-size:auto;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

body {
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

title {
    text-align: center;
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery {
    text-align: center;
    margin: 40px 0;
}

.gallery img {
    width: 300px;
    margin: 10px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}

.gallery a {
    text-decoration: none;
    display: inline-block;
}

.gallery a:focus {
    outline: none;
}


pre.code-block {
    background: linear-gradient(135deg, #1e1e2f, #3c3c5c);
    color: #FFD700;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    overflow-x: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}


footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px 0;
    margin-top: 20px;
}


a.basic-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

a.basic-link:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 5px;
    z-index: -1;
    transition: width 0.4s ease;
}

a.basic-link:hover:before {
    width: 100%;
}

a.basic-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #8A2BE2;
    transform-origin: left;
    transition: width 0.4s ease-in-out;
}

a.basic-link:hover:after {
    width: 100%;
}

a.basic-link:not(:hover):after {
    width: 0;
    transition: width 0.4s ease-in-out;
}

a.basic-link:hover {
    transform: scale(1.1); /* Zoom 10% */
}


main {
    padding: 20px;
}

section {
    margin: 40px auto;
    max-width: 1200px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: fadeIn 0.8s ease-in-out;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

section p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}
    
section:target {
    animation: fadeInUp 1s ease forwards;
}


h1, h2 {
    color: #FFD700;
}

ul, ol {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact section */
.contact {
    background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}

.contact h2 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact form input,
.contact form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: border 0.3s;
}

.contact form input:focus,
.contact form textarea:focus {
    border: 1px solid #FFD700;
}

button, .cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: #FFD700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out, transform 0.2s ease;
}

/* Hover effect */
button:hover, .cta-button:hover {
    background: #8A2BE2;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

/* active effect */
button:active, .cta-button:active {
    transform: translateY(0);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

.contact form button {
    background: #8A2BE2;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact form button:hover {
    background: #FFD700;
    color: black;
}

/* Video section */
.video-demo {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

.video-demo h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 24px;
}

.video-demo video {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    outline: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(120deg, #1e1e2f, #302b63, #24243e);
    color: white;
    text-align: center;
    padding: 50px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    animation: slideIn 1s ease-out;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-banner .cta-button:hover {
    background: #8A2BE2;
    color: white;
}

/* Cards and Sections */
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card h2 i {
    margin-right: 10px;
}

/* Highlights and Gallery */
.highlight .gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.gallery img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}


.cta-button {
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: black;
    font-size: 1.2rem;
    border: none;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background: #8A2BE2;
    transform: scale(1.1);
}

.cta-button:active {
    transform: scale(1);
    box-shadow: none;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.download-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.download-cards .card {
    flex: 1 1 calc(30% - 20px);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.5);
}

.download-cards .card h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

.download-cards .cta-button {
    margin-top: 10px;
    display: block;
}

.hero-banner {
    background: linear-gradient(120deg, #1e1e2f, #302b63, #24243e);
    color: white;
    text-align: center;
    padding: 50px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.card h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #FFD700;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background: linear-gradient(120deg, #1e1e2f, #302b63, #24243e);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}

.contact h2 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact form input,
.contact form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: border 0.3s, background-color 0.3s;
}

.contact form input:focus,
.contact form textarea:focus {
    border: 1px solid #FFD700;
    background-color: rgba(255, 255, 255, 0.2);
}

.contact form button {
    background: #8A2BE2;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contact form button:hover {
    background: #FFD700;
    color: black;
    transform: scale(1.05);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 30px;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-banner p {
    font-size: 1.2rem;
    margin: 10px auto;
    max-width: 600px;
}

/* General of Nav */
nav {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    margin: 30px auto;
    max-width: 500px;
    width: 90%;
    padding: 10px 20px;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* List of elements*/
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Effect on links */
nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    white-space: nowrap; 
    position: relative;
}

/* Hover effect */
nav ul li a:hover {
    background: #FFFFFF;
    color: #8A2BE2;
    transform: translateY(-3px);
}


/* Better for phones */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 10px;
    }

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

readme-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.card.news {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: white;
}

.card.news h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.card.news p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.card.news ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.card.news ul li {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
    position: relative;
    padding-left: 20px;
}

.card.news ul li:before {
    content: '✨';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.2rem;
}

.card.news:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}
