:root {
    --blue-900: #1e3a8a;
    --blue-950: #172554;
    --yellow-400: #facc15;
    --yellow-300: #fde047;
    --white: #ffffff;
}

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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
    color: var(--white);
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.watermark {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 0.1em;
    white-space: nowrap;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.logo {
    margin-bottom: 2rem;
    animation: fadeDown 0.8s ease-out;
}

.logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--yellow-400);
    background: rgba(255, 255, 255, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me input[type="checkbox"] {
    accent-color: var(--yellow-400);
}

.forgot-password {
    color: var(--yellow-400);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: var(--yellow-300);
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--yellow-400);
    color: var(--blue-950);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: var(--yellow-300);
    transform: translateY(-1px);
}

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

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

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

    .watermark {
        font-size: 4rem;
        top: -10;
    }

    .content {
        margin-top: 3rem;
    }

    .login-card {
        padding: 1.5rem;
    }
}

/* Sections - Index */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a, #312e81);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    width: 100%;
}

.rubric-card {
    position: relative;
    padding: 1px;
    border-radius: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.rubric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
               0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-content {
    background: rgba(17, 24, 39, 0.9);
    height: 100%;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.gradient-purple { background: linear-gradient(135deg, rgb(168, 85, 247), rgb(79, 70, 229)); }
.gradient-blue { background: linear-gradient(135deg, rgb(59, 130, 246), rgb(34, 211, 238)); }
.gradient-teal { background: linear-gradient(135deg, rgb(34, 211, 238), rgb(13, 148, 136)); }

@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
}