/* Base colors and variables */
:root {
    --bg1: #0e0f13;
    --bg2: #121318;
    --border: #1a1b22;
    --txt1: #e5e5f8;
    --txt1-gray: #808080;
    --txt2: #8c50fd;
    --txt3: #3498db;
    --star: #fdec00;
    --obsolete: #a83535;
}

/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--bg1);
    color: var(--txt1);
    font-family: 'Figtree', sans-serif;
    overflow: scroll;
    height: 100%;

}

/* Main section styling */
section {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#iss {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}


.title {
    font-size: min(9vw, 72px);
    font-weight: 500;
    width: min(50vw, 600px);
    color: var(--txt2);
    text-align: center;
    padding: 2vw 0;
    margin: 0;
    height: 10%;
}

.start {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Logo styling */
.logo {
    width: 70%;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

/* Subtitle styling */
.subtitle {
    font-size: 1.2rem;
    margin: 1rem 0;
    padding: 0 1rem;
    line-height: 1.4;
}

/* Animated gradient text */
.design {
    --bg-size: 400%;
    --color-one: hsl(268, 90%, 55%);
    --color-two: hsl(266, 69%, 65%);
    background: linear-gradient(
        90deg,
        var(--color-one),
        var(--color-two),
        var(--color-one)
    ) 0 0 / var(--bg-size) 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 700;
    animation: Design 10s infinite linear;
}

/* Button styling */
.go {
    background-color: var(--txt2);
    color: var(--txt1);
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Cards section */
.cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 90%;
    height: max-content;
    margin: 0 auto;
}

.card {
    background-color: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
}

.card-title {
    color: var(--txt2);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--txt1);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Link styling */
.learn-more {
    color: var(--txt1-gray);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link {
    color: var(--txt3);
    text-decoration: none;
}

/* Animation keyframes */
@keyframes Design {
    to {
        background-position: var(--bg-size) 0;
    }
}

/* Back button */
.back {
    color: var(--txt1);
    text-decoration: none;
    padding: 1rem;
    display: block;
    text-align: center;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--txt1-gray);
    border-radius: 4px;
}

/* Media query for very small devices */
@media screen and (max-width: 320px) {
    .subtitle {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}