:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --primary-color: #00ffcc;
    /* Neon Cyan/Green */
    --secondary-color: #9d00ff;
    /* Neon Purple */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep dark base with vibrant moving splashes of Cyan, Purple, Pink, and Blue */
    background: linear-gradient(-45deg, #020202, #2a0033, #001a1a, #1a0033);
    background-size: 400% 400%;
    z-index: -2;
    animation: gradientBG 15s ease infinite;
}

/* Floating Orbs Layer for extra brightness */
.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 255, 204, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(157, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 128, 0.2) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    animation: floatOrbs 20s infinite alternate;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatOrbs {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translate(-20px, 20px);
        opacity: 0.6;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Spotify Widget */
.spotify-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.spotify-widget:hover {
    opacity: 1;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.dot {
    color: var(--primary-color);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Cards & Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
}

#work .card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card-content {
    flex: 1;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    /* Optional rounded corners */
}

.company {
    color: var(--primary-color);
    margin-bottom: 0;
}

.card-icon {
    font-size: 3rem;
    color: var(--glass-border);
}

.card-icon-top {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Connect/Buttons */
.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.glass-btn:hover {
    background: var(--primary-color);
    color: black;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.instagram:hover {
    background: #E1306C;
    color: white;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.4);
    border-color: #E1306C;
}

.discord:hover {
    background: #5865F2;
    color: white;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    border-color: #5865F2;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    #work .card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .card-icon {
        display: none;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #0a0a0a;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.glass-input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.error-msg {
    color: #ff4d4d;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* To Do List Styles */
.todo-container {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.todo-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

#todo-input {
    flex: 1;
}

.todo-list {
    list-style: none;
}

.todo-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.todo-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.todo-text {
    flex: 1;
    font-size: 1.1rem;
    margin-right: 1rem;
}

.todo-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.status-not-done {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.status-in-progress {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    border-color: #ffcc00;
}

.status-done {
    background: rgba(0, 255, 102, 0.1);
    color: #00ff66;
    border-color: #00ff66;
    text-decoration: line-through;
    /* Optional: strike-through text effect */
}

/* Fix text decoration inheritance if we want strike-through on the text instead of badge */
/* Drone Request Form */
.drone-request-container {
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.drone-request-container form .input-group {
    margin-bottom: 1.5rem;
}

.drone-request-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Ensure select and date inputs look good */
select.glass-input,
input[type="date"].glass-input {
    width: 100%;
    color: var(--text-light);
    appearance: none;
    /* remove default arrow on some browsers if needed, but keeping simple for now */
}

/* Dashboard Request Items */
.request-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.request-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.request-details h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.request-details p {
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.request-details .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(157, 0, 255, 0.2);
    border: 1px solid rgba(157, 0, 255, 0.5);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #fff;
    margin-top: 0.5rem;
}

.delete-req-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.delete-req-btn:hover {
    color: #ff4444;
}

.delete-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.delete-btn:hover {
    transform: scale(1.2);
    color: #ff0000;
}