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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Cantarell', 'Ubuntu', Roboto, sans-serif;
    background: #0a1929 url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1920&h=1080&fit=crop') center/cover no-repeat fixed;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 41, 0.75);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.container {
    max-width: 100vw;
    height: 100vh;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

/* Search Bar */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-bar {
    width: 100%;
    height: 52px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 52px 0 52px;
    font-size: 0.95rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #fff;
}

.search-bar:focus {
    outline: none;
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.2);
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

/* Content Container */
.content-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2rem;
}

.content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.content-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Section */
.section {
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1.25rem;
    justify-items: center;
}

.app-card {
    width: 100%;
    max-width: 110px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-icon-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-card:hover .app-icon-wrapper {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.app-card:active .app-icon-wrapper {
    transform: scale(0.96);
}

.app-icon {
    font-size: 2.75rem;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.app-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* Icon Colors */
.fa-calculator {
    color: #ff9f43;
}

.fa-chalkboard {
    color: #ee5a6f;
}

.fa-clock {
    color: #54a0ff;
}

.fa-code {
    color: #10ac84;
}

.fa-coins {
    color: #f9ca24;
}

.fa-spell-check {
    color: #5f27cd;
}

.fa-bitcoin-sign {
    color: #feca57;
}

.fa-language {
    color: #ff6b6b;
}

.fa-teamspeak {
    color: #48dbfb;
}

.fa-school {
    color: #ff6348;
}

.fa-users {
    color: #1dd1a1;
}

.fa-user-graduate {
    color: #feca57;
}

.fa-user-tie {
    color: #48dbfb;
}

.fa-calendar-check {
    color: #ff9ff3;
}

.fa-bullhorn {
    color: #f368e0;
}

.fa-graduation-cap {
    color: #5f27cd;
}

.fa-handshake {
    color: #00d2d3;
}

.fa-id-card {
    color: #ff9ff3;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .app-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .carousel-page {
        padding: 0 1rem;
    }

    .search-bar {
        height: 48px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .app-icon {
        font-size: 2.25rem;
    }

    .app-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        gap: 1rem;
    }

    .section {
        margin-bottom: 2.5rem;
    }
}