:root {
    --bg-color: #0d0d0d;
    --acc-color: #ff5000;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--acc-color);
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--acc-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--acc-color);
    transition: transform 0.4s ease;
}

.card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Specific Card Layouts */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 2;
}

.card-archive { background: linear-gradient(135deg, rgba(255,80,0,0.1) 0%, rgba(13,13,13,1) 100%); }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.bento-grid > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.bento-grid > *:nth-child(2) { animation-delay: 0.1s; }
.bento-grid > *:nth-child(3) { animation-delay: 0.2s; }
.bento-grid > *:nth-child(4) { animation-delay: 0.3s; }
.bento-grid > *:nth-child(5) { animation-delay: 0.4s; }

footer {
    text-align: center;
    margin-top: 6rem;
    padding-bottom: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .card-large { grid-column: span 2; grid-row: span 1; height: 400px; }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .card-medium, .card-large { grid-column: span 1; }
    .logo { font-size: 2.5rem; }
}
