:root {
    --bg-dark: #0a0a0e;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --bg-panel-hover: rgba(255, 255, 255, 0.07);
    --primary: #00f3ff;
    --primary-glow: rgba(0, 243, 255, 0.3);
    --secondary: #bc13fe;
    --secondary-glow: rgba(188, 19, 254, 0.3);
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --card-radius: 16px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140vw;
    height: 140vh;
    background:
        radial-gradient(circle at 20% 30%, var(--primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, var(--secondary-glow) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 10, 14, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.btn-primary {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 16px;
    font-weight: 300;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: var(--bg-panel-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-main);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.cheat-icon {
    color: var(--secondary);
}

.project-card:hover .cheat-icon {
    color: var(--secondary);
    filter: drop-shadow(0 0 10px var(--secondary-glow));
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.dropdown-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a20;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 160px;
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    padding: 10px 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-item.delete:hover {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

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

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

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status.active::before {
    background: #30d158;
    box-shadow: 0 0 10px rgba(48, 209, 88, 0.4);
}

.status.active {
    color: #30d158;
}

.date {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Add New Card */
.add-new-card {
    border-style: dashed;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.add-content {
    text-align: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.add-content i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.add-new-card:hover .add-content {
    color: var(--primary);
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

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

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

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

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

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

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

/* Contact Section */
.contact-section {
    margin-top: 100px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.contact-form button {
    align-self: center;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px 0;
    margin-top: 10px;
}