:root {
    --color-page-bg: #0f172a;
    --color-card-bg: #1e293b;
    --color-card-border: #334155;
    --color-brand-purple: #3b82f6; /* keep var name but use brand blue */
    --color-brand-cyan: #06b6d4;
    --color-glow-blue: #3B82F6;
    --color-text-secondary: #94a3b8;
}

body {
    background: var(--color-page-bg);
    color: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    /* Match header height exactly for tight fit */
}

/* Gradient Text - converted to solid brand blue */
.text-gradient-purple {
    color: var(--color-brand-purple);
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Bullet Point Glow */
.glow-bullet {
    box-shadow: none;
    color: var(--color-brand-purple);
}

/* Certification Card Glow Animation/Hover */
.cert-card {
    transition: all 0.3s ease;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background-color: var(--color-card-bg);
}

.cert-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #93C5FD;
    transform: translateY(-2px);
}

.section {
    background-color: var(--color-card-bg);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-card-border);
}

.paragraph {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.header {
    background-color: #6366f1;
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 0.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 1rem;
}

.nav {
    margin-right: 1rem;
}

.nav-list {
    list-style-type: none;
    display: flex;
    margin-left: 1rem;
}

.nav-list li {
    margin-left: 1rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
}

.nav-link:hover {
    color: #e0e7ff;
}

.main-content {
    max-width: 80rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-heading {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: var(--color-brand-purple);
    margin-bottom: 1rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
    }
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-video {
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--color-page-bg);
    width: 80%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-image {
        width: 33.33333%;
    }
}

.profile-image {
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--color-page-bg);
    width: 80%;
}

.about-text {
    width: 100%;
}

@media (min-width: 768px) {
    .about-text {
        width: 66.66667%;
    }
}

.bulleted-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    list-style-position: inside;
}

.bulleted-list.inner-list {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.bulleted-list li {
    margin-bottom: 0.5rem;
}

.certifications-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {

    .certifications-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {

    .certifications-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.certification-card,
.portfolio-card,
.career-card {
    border: 1px solid var(--color-card-border);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background-color: var(--color-card-bg);
}

.card-heading {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

div:hover > .card-heading {
    color: var(--color-brand-cyan);
}

.card-text,
.job-description {
    color: var(--color-text-secondary);
}

.career-list {
    margin-top: 1rem;
}

.job-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
}

.footer {
    background-color: #F8FAFC;
    color: var(--color-text-secondary);
    padding: 1rem 0;
    text-align: center;
    border-radius: 0.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.socials-heading {
    display: flex;
    justify-content: center;
}

.fa-linkedin {
    font-size: 2em;
    color: #0a66c2;
}

.fa-github {
    font-size: 2em;
    color: #110f0f;
}

.fa-linkedin:hover {
    color: #004182;
}

.fa-github:hover {
    color: #6e5494;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-brand-purple);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.download-link:hover {
    background-color: #1D4ED8;
}

.fa-download {
    font-size: 1rem;
}

.app-link {
    color: var(--color-brand-purple);
    text-decoration: none;
    transition: color 0.2s;
}

.app-link:hover {
    color: #1D4ED8;
}

@media (max-width: 767px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .header {
        flex-direction: row;
        text-align: center;
        padding: 0.5rem;
        gap: 0.25rem;
    }

    .logo {
        font-size: 0.875rem;
        margin-left: 0.25rem;
    }

    .nav {
        margin-right: 0.25rem;
        margin-top: 0;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        padding-left: 0;
        gap: 0.25rem;
        margin-left: 0.25rem;
    }

    .nav-list li {
        margin: 0;
    }

    .nav-list li a {
        font-size: 0.75rem;
        padding: 0.25rem;
        white-space: nowrap;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list li {
        margin: 0.125rem;
    }

    .nav-list li a {
        font-size: 0.7rem;
        padding: 0.2rem;
    }

    .logo {
        font-size: 0.rem;
    }
}

.app-container {
    background-color: var(--color-card-bg);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-logo {
    height: 150px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

.app-title {
    font-size: 2rem;
    color: #F8FAFC;
    margin-bottom: 1rem;
}

.app-section {
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-brand-purple);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-brand-purple);
    padding-bottom: 0.5rem;
}

.subsection-title {
    font-size: 1.25rem;
    color: #F8FAFC;
    margin: 1.5rem 0 1rem;
}

.feature-list,
.requirements-list,
.troubleshooting-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li,
.requirements-list li,
.troubleshooting-list li {
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "•";
    color: var(--color-brand-purple);
    position: absolute;
    left: 0;
}

.numbered-list {
    list-style-type: decimal;
    padding-left: 1.5rem;
    color: var(--color-text-secondary);
}

.numbered-list li {
    margin-bottom: 0.75rem;
}

.troubleshooting-list li strong {
    color: var(--color-brand-purple);
}

@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }

    .app-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.overview-content {
    margin-bottom: 2rem;
}

.overview-text {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.key-points {
    background-color: #F1F5F9;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-card-border);
    margin-top: 1.5rem;
}

.overview-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0;
}

.overview-list li {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.overview-list li:before {
    content: "→";
    color: var(--color-brand-purple);
    position: absolute;
    left: 0;
}

.overview-list strong {
    color: var(--color-brand-purple);
    font-weight: 600;
}

/* Center and shrink the Game Drop image */
.game-drop-image {
    display: block;
    /* Ensures the image is treated as a block element */
    margin: 0 auto;
    /* Centers the image horizontally */
    max-width: 80%;
    /* Shrinks the image to fit within 80% of its container */
    height: auto;
    /* Maintains the aspect ratio */
    border-radius: 0.5rem;
    /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    /* Optional: Adds a shadow */
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Navigation Active State */
.nav-active {
    border-bottom-width: 2px;
    border-color: var(--color-brand-cyan);
    color: var(--color-brand-cyan);
}

/* Reset hover/transition for active state if needed to prevent flicker */
.nav-active:hover {
    color: var(--color-brand-blue);
}