:root {
    --bg-color: #0d0d0d;
    --text-color: #f8f9fa;
    --accent-color: #007bff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

header h1 {
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.portfolio-item-wrapper {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item-wrapper:hover {
    transform: translateY(-8px);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.portfolio-item img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.portfolio-item-wrapper:hover .portfolio-item img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.hover-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item-wrapper:hover .hover-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

h5 {
    font-weight: 300;
    font-size: 1.1rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.portfolio-item-wrapper:hover h5 {
    color: #fff;
}

/* Modal Customization */
.modal-content {
    background: transparent !important;
}

.modal-backdrop.show {
    opacity: 0.9;
    background-color: #000;
}

.ratio-16x9 {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: #0a0a0a;
}

footer .border-top {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}