/* Particle Effect Redesign CSS */

body.particle-redesign {
    background-color: #050505;
    color: #e0e0e0;
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
    /* Subtle particle-like background */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 87, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 87, 34, 0.05) 0%, transparent 50%);
}

/* Header & Nav */
#nav {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#nav ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav ul li a {
    color: #ccc;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-size: 1em;
    border: none;
}

#nav ul li a:hover {
    color: #ff5722; /* MGS Orange/Red accent */
}

/* Dropdown Menu Style */
#nav > ul > li > ul {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    padding: 1em 0;
}

#nav > ul > li > ul > li > a {
    color: #bbb;
    padding: 0.5em 1.5em;
    display: block;
    font-size: 0.9em;
    text-transform: none;
}

#nav > ul > li > ul > li > a:hover {
    color: #fff;
    background: rgba(255, 87, 34, 0.1);
}

.projects-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.image-container {
    width: 100%;
    margin-bottom: 2em;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.stiletto-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin: 2em 0;
}

.stiletto-gallery .image-container {
    margin-bottom: 0;
}

.magic-melee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin: 2em 0;
}

.magic-melee-grid .image-container {
    margin-bottom: 0;
}

.magic-melee-grid p {
    text-align: center;
    font-size: 0.9em;
    margin-top: 0.5em;
    color: #ff5722;
    font-weight: 600;
}

@media screen and (max-width: 960px) {
    .magic-melee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 736px) {
    .stiletto-gallery {
        grid-template-columns: 1fr;
    }
    
    .magic-melee-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6em 1em;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.1) 0%, rgba(5, 5, 5, 0) 70%);
}

.hero-title {
    font-size: 4em;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 87, 34, 0.5);
    margin-bottom: 0.2em;
    letter-spacing: 10px;
}

.hero-subtitle {
    font-size: 1.2em;
    color: #888;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* TOC Section */
.toc-section {
    position: fixed;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    text-align: left;
    padding: 1.5em;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 4px;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.toc-title {
    color: #ff5722;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5em;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 87, 34, 0.2);
    padding-bottom: 0.5em;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    list-style: none;
    padding: 0;
}

.toc-links li a {
    color: #888;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: block;
    border: none;
}

.toc-links li a:hover, .toc-links li a.active {
    color: #ff5722;
    text-shadow: 0 0 8px #ff5722;
    transform: translateX(5px);
}

.toc-links li a.active {
    border-left: 2px solid #ff5722;
    padding-left: 10px;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto 4em auto;
    padding: 3em;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Responsive adjustments */
@media screen and (max-width: 1400px) {
    .toc-section {
        left: 1em;
        width: 150px;
    }
}

@media screen and (max-width: 1280px) {
    .toc-section {
        position: static;
        width: auto;
        max-width: 800px;
        margin: 0 auto 3em;
        transform: none;
        text-align: center;
    }
    
    .toc-links {
        flex-direction: row;
        justify-content: center;
        gap: 2em;
    }
}

.content-section h2 {
    color: #ff5722;
    font-size: 1.8em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5em;
    border-left: 4px solid #ff5722;
    padding-left: 15px;
}

.content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
}

/* Footer */
#footer {
    background: #000;
    padding: 4em 0;
    text-align: center;
    border-top: 1px solid rgba(255, 87, 34, 0.2);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
}

.social-icons li a {
    color: #fff;
    font-size: 1.8em;
    transition: color 0.3s, transform 0.3s;
}

.social-icons li a:hover {
    color: #ff5722;
    transform: translateY(-5px);
}

.copyright {
    color: #444;
    font-size: 0.9em;
}

.copyright a {
    color: #666;
    text-decoration: none;
}
