/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    background: #0B0B0B;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Roboto", sans-serif;
    font-size: 1.7rem;
    line-height: 1.882;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}


/* Intro Section */
.intro {
    margin-bottom: 8rem;
}

.intro-cards {
    display: flex;
    justify-content: space-between;
    gap: 3.2rem;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}


.intro-icon {
    margin-bottom: 2.4rem;
}


.intro-card h3 {
    font-size: 1 em;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 1.6rem;
}

.intro-card p {
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive Design for Intro */
@media screen and (max-width: 800px) {
    .intro-cards {
        flex-direction: column;
        gap: 2.4rem;
    }

    .intro-card {
        min-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .intro-card h3 {
        font-size: 1.8rem;
    }

    .intro-card p {
        font-size: 1.5rem;
    }

    .intro-icon {
        width: 50px;
        height: 50px;
    }
}


/* Links */
a {
    color: #cf1767;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
    color: #ffffff;
}

/* Typography */
h1 {
    font-weight: 500;
    color: #ffffff;
    text-rendering: optimizeLegibility;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 6rem;
    margin-bottom: 2.4rem;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0a0a0a;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar-brand {
    font-size: 2.4rem;
    font-weight: 500;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 2.4rem;
}

.navbar-menu li a {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.navbar-menu li a:hover {
    color: #ffffff;
}

.search-container {
    display: flex;
    align-items: center;
}



#searchInput {
    padding: 2rem 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 1.4rem;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

#searchInput:focus {
    border-color: #cf1767;
}

/* Content Styles */
.content {
    max-width: 1000px;
    margin: 12rem auto 8rem;
    padding: 0 4rem;
}

/* Category Section */
.category-section {
    margin-bottom: 8rem;
}

.category-section h2 {
    position: relative;
    padding-bottom: 1.6rem;
}

.category-section h2::after {
    content: "";
    display: block;
    width: px;
    height: 2px;
    background: #cf1767;
    position: absolute;
    bottom: 0;
    left: 0;
}

.description {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3.2rem;
    margin-top: 3.2rem;
}

/* Prompt Card */
.prompt-card {
    background: #1e1e1e;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2.4rem 3.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.prompt-card pre {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.5rem;
    color: #e0e0e0;
    white-space: pre-wrap;
    line-height: 1.6;
    flex: 1;
}

/* Highlight Class for Searched Text */
.highlight {
    background-color: #ffcccc; /* Light pink */
    color: #1e1e1e; /* Dark text for contrast */
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Copy Button (Grok-like) */
.copy-btn {
    background: #2c2c2c;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
}

.copy-btn:hover {
    background: #cf1767;
    border-color: #cf1767;
}

.copy-btn:active {
    background: #b0145a;
    border-color: #b0145a;
}

/* Responsive Design */
@media screen and (max-width: 800px) {
    .navbar {
        padding: 1.6rem 2.4rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-menu {
        margin-top: 1.6rem;
        gap: 1.6rem;
    }

    .search-container {
        margin-top: 1.6rem;
        width: 100%;
    }

    #searchInput {
        width: 100%;
    }

    .content {
        margin: 10rem auto 6rem;
        padding: 0 2rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    .category-section h2::after {
        width: 100px;
    }

    .prompt-card {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        align-self: flex-end;
    }
}

@media screen and (max-width: 600px) {
    h2 {
        font-size: 2.1rem;
    }

    .description {
        font-size: 1.6rem;
    }

    .prompt-card pre {
        font-size: 1.4rem;
    }
}