* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #000;
color: #fff;
overflow-x: hidden;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}

/* --- CUSTOM SCROLLBAR (WebKit Browsers) --- */
::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #ff00ff, #00ffff);
border-radius: 6px;
border: 2px solid #1a1a2e;
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #00ffff, #ff00ff);
}


/* --- NAVIGATION --- */
nav {
position: fixed;
top: 0;
width: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
z-index: 1000;
padding: 1rem;
display: flex;
justify-content: center;
}

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

nav a {
color: #fff;
text-decoration: none;
font-size: 1.1rem;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
padding: 0.5rem 0;
}

nav a:hover {
color: #ff00ff;
text-shadow: 0 0 10px #ff00ff;
}

/* Mobile Nav Toggle (Hamburger) */
.nav-toggle {
display: none;
}


/* --- HERO SECTION --- */
.hero {
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: #000;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
width: 200%;
height: 200%;
top: -50%;
left: -50%;
background: radial-gradient(circle at 20% 50%, #4a0080, transparent 40%),
radial-gradient(circle at 80% 80%, #ff006e, transparent 40%),
radial-gradient(circle at 40% 20%, #0099ff, transparent 40%);
animation: move-gradients 20s alternate infinite ease-in-out;
z-index: 1;
}

@keyframes move-gradients {
0% { transform: translate(0, 0); }
100% { transform: translate(20%, -15%); }
}

.stars, .stars2, .stars3, .particles-blue, .particles-purple {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}

.stars {
background-image:
radial-gradient(2px 2px at 20% 30%, white, transparent),
radial-gradient(2px 2px at 60% 70%, white, transparent),
radial-gradient(3px 3px at 50% 50%, white, transparent),
radial-gradient(2px 2px at 80% 20%, white, transparent),
radial-gradient(3px 3px at 10% 50%, white, transparent);
background-size: 200px 200px;
animation: stars-fast-chaotic 30s linear infinite;
z-index: 10;
}

.stars2 {
background-image:
radial-gradient(3px 3px at 10% 90%, #eee, transparent),
radial-gradient(3px 3px at 70% 10%, #eee, transparent),
radial-gradient(4px 4px at 40% 60%, #eee, transparent),
radial-gradient(3px 3px at 90% 60%, #eee, transparent);
background-size: 400px 400px;
animation: stars-medium-chaotic 50s linear infinite;
opacity: 0.8;
z-index: 10;
}

.stars3 {
background-image:
radial-gradient(4px 4px at 5% 50%, #bbb, transparent),
radial-gradient(5px 5px at 80% 30%, #bbb, transparent),
radial-gradient(4px 4px at 25% 15%, #bbb, transparent);
background-size: 600px 600px;
animation: stars-slow-chaotic 80s linear infinite;
opacity: 0.6;
z-index: 10;
}

.particles-purple {
background-image:
radial-gradient(14px 14px at 25% 85%, #ff00ff, transparent),
radial-gradient(10px 10px at 75% 15%, #ff00ff, transparent),
radial-gradient(14px 14px at 90% 45%, #ff00ff, transparent),
radial-gradient(10px 10px at 5% 5%, #ff00ff, transparent);
background-size: 350px 350px;
animation: drift-lazy 120s linear infinite alternate-reverse;
opacity: 0.4;
z-index: 20;
}

.particles-blue {
background-image:
radial-gradient(6px 6px at 15% 25%, #00ffff, transparent), radial-gradient(5px 5px at 85% 75%, #00ffff, transparent),
radial-gradient(6px 6px at 50% 60%, #00ffff, transparent), radial-gradient(4px 4px at 35% 90%, #00ffff, transparent),
radial-gradient(5px 5px at 5% 5%, #00ffff, transparent), radial-gradient(4px 4px at 95% 10%, #00ffff, transparent),
radial-gradient(6px 6px at 70% 40%, #00ffff, transparent), radial-gradient(5px 5px at 25% 65%, #00ffff, transparent),
radial-gradient(4px 4px at 45% 15%, #00ffff, transparent), radial-gradient(6px 6px at 65% 85%, #00ffff, transparent),
radial-gradient(5px 5px at 5% 50%, #00ffff, transparent), radial-gradient(4px 4px at 95% 55%, #00ffff, transparent),
radial-gradient(6px 6px at 20% 80%, #00ffff, transparent), radial-gradient(5px 5px at 80% 20%, #00ffff, transparent),
radial-gradient(4px 4px at 60% 5%, #00ffff, transparent), radial-gradient(6px 6px at 40% 45%, #00ffff, transparent);
background-size: 300px 300px;
animation: drift-lazy 100s linear infinite alternate;
opacity: 0.4;
z-index: 30;
}

@keyframes stars-fast-chaotic {
0% { background-position: 0 0; }
100% { background-position: -200px -2000px; }
}
@keyframes stars-medium-chaotic {
0% { background-position: 0 0; }
100% { background-position: 400px -4000px; }
}
@keyframes stars-slow-chaotic {
0% { background-position: 0 0; }
100% { background-position: -600px -6000px; }
}
@keyframes drift-lazy {
0% { transform: translateX(-50px) translateY(-20px); } 33% { transform: translateX(50px) translateY(80px); }
66% { transform: translateX(-80px) translateY(-50px); } 100% { transform: translateX(50px) translateY(20px); }
}

.nebula {
position: absolute;
width: 150%;
height: 150%;
background: radial-gradient(ellipse at center, rgba(255, 0, 255, 0.2) 0%, rgba(0, 153, 255, 0.2) 25%, transparent 60%);
animation: rotate 50s linear infinite, scale-nebula 15s alternate infinite ease-in-out;
filter: blur(10px);
z-index: 40;
}

@keyframes rotate {
0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); }
}
@keyframes scale-nebula {
0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
50% { transform: scale(1.4) translate(8%, -8%); opacity: 1; }
100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
}

.hero-title {
font-size: clamp(3rem, 10vw, 8rem);
font-weight: bold;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.1em;
position: relative;
z-index: 50;
animation: glow 2s ease-in-out infinite alternate;
}

.hero-title .robin {
display: block;
background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
background-size: 200% 200%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradient 3s ease infinite;
text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

.hero-title .hoole {
display: block;
background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
background-size: 200% 200%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradient 3s ease infinite reverse;
}

.hero-title .production {
display: block;
font-size: 0.4em;
letter-spacing: 0.3em;
margin-top: 0.5em;
color: #fff;
text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@keyframes gradient {
0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes glow {
0% { filter: brightness(1) drop-shadow(0 0 20px rgba(255, 0, 255, 0.5)); transform: scale(1); }
100% { filter: brightness(1.2) drop-shadow(0 0 40px rgba(0, 255, 255, 0.8)); transform: scale(1.02); }
}

/* --- UNGODLY HERO SECTION (FINAL INFERNO V2) --- */
.ungodly-hero {
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: #000; /* Base background is black */
overflow: hidden;
}

.ungodly-hero::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top,
rgba(255, 220, 0, 0.8) 0%,   /* Bright yellow at the very bottom */
rgba(255, 120, 0, 0.9) 21%,  /* Transition to orange */
rgba(200, 0, 0, 1) 42%,      /* Darker red */
#000 80%                     /* Black starts sooner */
);
z-index: 1;
animation: fire-breath 1.5s ease-in-out infinite alternate; /* Faster, more noticeable breathing */
}

@keyframes fire-breath {
0% {
transform: scale(1.0, 1.0);
opacity: 0.8;
}
50% {
transform: scale(1.05, 1.15); /* Increased scale for a more noticeable effect */
opacity: 1;
}
100% {
transform: scale(1.0, 1.0);
opacity: 0.9;
}
}

.smoke-layer, .particle-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}

/* Tiling smoke layers to provide a dark base */
#smoke1 {
background-image:
radial-gradient(ellipse 40% 30% at 20% 120%, rgba(30, 10, 0, 0.8), transparent),
radial-gradient(ellipse 50% 35% at 50% 140%, rgba(15, 5, 0, 0.9), transparent),
radial-gradient(ellipse 45% 25% at 80% 110%, rgba(25, 10, 5, 0.85), transparent);
background-size: 500px 500px;
animation: smoke-rise 25s linear infinite;
filter: blur(25px);
z-index: 3;
}
#smoke2 {
background-image:
radial-gradient(ellipse 35% 25% at 10% 115%, rgba(40, 20, 10, 0.7), transparent),
radial-gradient(ellipse 45% 30% at 70% 130%, rgba(20, 5, 0, 0.8), transparent),
radial-gradient(ellipse 40% 28% at 90% 120%, rgba(30, 15, 5, 0.75), transparent);
background-size: 700px 700px;
animation: smoke-rise 35s linear infinite 5s;
filter: blur(30px);
z-index: 3;
}
@keyframes smoke-rise {
from { background-position: 0 0; }
to { background-position: 0 -1000px; }
}

/* FINAL: 8-Layer dense, chaotic, non-stalling, round particle system */
#p1 {
background-image:
radial-gradient(circle 16px at 10% 10%, #ff4500, transparent), radial-gradient(circle 20px at 25% 30%, #ff6347, transparent),
radial-gradient(circle 14px at 40% 5%, #ff7700, transparent), radial-gradient(circle 18px at 55% 45%, #ff4500, transparent),
radial-gradient(circle 15px at 70% 20%, #ff6347, transparent), radial-gradient(circle 22px at 85% 55%, #ff7700, transparent);
background-size: 300px 300px;
animation: rise-1 45s linear infinite;
z-index: 4; opacity: 0.7;
}
#p2 {
background-image:
radial-gradient(circle 12px at 5% 50%, #ff8800, transparent), radial-gradient(circle 15px at 20% 75%, #ff9922, transparent),
radial-gradient(circle 10px at 35% 60%, #ffaa33, transparent), radial-gradient(circle 14px at 50% 85%, #ff8800, transparent),
radial-gradient(circle 11px at 65% 70%, #ff9922, transparent), radial-gradient(circle 16px at 80% 95%, #ffaa33, transparent),
radial-gradient(circle 13px at 95% 65%, #ff8800, transparent);
background-size: 250px 250px;
animation: rise-2 30s linear infinite;
z-index: 4; opacity: 0.8;
}
#p3 {
background-image:
radial-gradient(circle 8px at 15% 5%, #ffdd00, transparent), radial-gradient(circle 10px at 30% 40%, #ffee00, transparent),
radial-gradient(circle 7px at 45% 25%, #ffdd00, transparent), radial-gradient(circle 9px at 60% 60%, #ffee00, transparent),
radial-gradient(circle 8px at 75% 15%, #ffdd00, transparent), radial-gradient(circle 11px at 90% 80%, #ffee00, transparent);
background-size: 200px 200px;
animation: rise-3 18s linear infinite;
z-index: 5; opacity: 0.9;
}
#p4 {
background-image:
radial-gradient(circle 13px at 20% 15%, #ff9922, transparent), radial-gradient(circle 10px at 38% 65%, #ffaa33, transparent),
radial-gradient(circle 15px at 58% 35%, #ff8800, transparent), radial-gradient(circle 11px at 78% 85%, #ffdd00, transparent),
radial-gradient(circle 14px at 98% 5%, #ff9922, transparent);
background-size: 280px 280px;
animation: rise-4 38s linear infinite;
z-index: 4; opacity: 0.7;
}
#p5 {
background-image:
radial-gradient(circle 5px at 10% 25%, #fff, transparent), radial-gradient(circle 6px at 28% 62%, #ffee00, transparent),
radial-gradient(circle 4px at 42% 16%, #fff, transparent), radial-gradient(circle 5px at 55% 80%, #ffdd00, transparent),
radial-gradient(circle 6px at 73% 48%, #fff, transparent), radial-gradient(circle 4px at 94% 93%, #ffee00, transparent);
background-size: 150px 150px;
animation: rise-5 10s linear infinite;
z-index: 6;
}
#p6 {
background-image:
radial-gradient(circle 18px at 17% 83%, #ff8800, transparent), radial-gradient(circle 14px at 33% 18%, #ff9922, transparent),
radial-gradient(circle 20px at 53% 61%, #ff7700, transparent), radial-gradient(circle 15px at 77% 36%, #ffaa33, transparent),
radial-gradient(circle 19px at 93% 90%, #ff8800, transparent);
background-size: 320px 320px;
animation: rise-6 22s linear infinite;
z-index: 4; opacity: 0.6;
}
#p7 {
background-image:
radial-gradient(circle 4px at 9% 40%, #ffee00, transparent), radial-gradient(circle 6px at 29% 85%, #ffdd00, transparent),
radial-gradient(circle 5px at 49% 22%, #fff, transparent), radial-gradient(circle 4px at 69% 67%, #ffee00, transparent),
radial-gradient(circle 6px at 89% 3%, #ffdd00, transparent);
background-size: 180px 180px;
animation: rise-7 12s linear infinite;
z-index: 6;
}
#p8 {
background-image:
radial-gradient(circle 20px at 4% 6%, #ff7700, transparent), radial-gradient(circle 15px at 24% 91%, #ff9922, transparent),
radial-gradient(circle 22px at 44% 48%, #ff4500, transparent), radial-gradient(circle 18px at 64% 73%, #ff8800, transparent),
radial-gradient(circle 19px at 84% 29%, #ffaa33, transparent);
background-size: 350px 350px;
animation: rise-8 26s linear infinite;
z-index: 4; opacity: 0.7;
}

@keyframes rise-1 { 0% {background-position: 0 0;} 100% {background-position: -50px -3000px;} }
@keyframes rise-2 { 0% {background-position: 0 0;} 100% {background-position: 100px -2500px;} }
@keyframes rise-3 { 0% {background-position: 0 0;} 100% {background-position: -80px -2000px;} }
@keyframes rise-4 { 0% {background-position: 0 0;} 100% {background-position: 120px -2800px;} }
@keyframes rise-5 { 0% {background-position: 0 0;} 100% {background-position: -150px -1500px;} }
@keyframes rise-6 { 0% {background-position: 0 0;} 100% {background-position: 200px -3200px;} }
@keyframes rise-7 { 0% {background-position: 0 0;} 100% {background-position: -250px -1800px;} }
@keyframes rise-8 { 0% {background-position: 0 0;} 100% {background-position: 50px -2600px;} }

.ungodly-title-container {
position: relative;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.ungodly-title {
font-family: 'Times New Roman', Times, serif;
font-size: clamp(4rem, 15vw, 10rem);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
position: relative;
display: inline-block;
transform: translateX(1.4ch);
}

.godly {
background: linear-gradient(180deg, #FFF, #C0C0C0);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
position: relative;
z-index: 2;
-webkit-text-stroke: 2px black; /* Add a black outline */
text-stroke: 1px black;
}

.un {
background: linear-gradient(180deg, #8B0000, #FF0000);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
opacity: 0.8;
position: absolute;
z-index: 1;
top: 50%;
left: 0;
transform: translate(-2.8ch, -50%) skew(-10deg) scale(1.2);
pointer-events: none;
-webkit-text-stroke: 2px black; /* Add a black outline */
text-stroke: 1px black;
}


/* --- SOCIAL LINKS & CTA BUTTON --- */
.links-section {
background: #0c0c1a;
padding: 2rem 1rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
border-bottom: 2px solid #ff00ff;
}
.social-links {
display: flex;
justify-content: center;
align-items: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.social-links a {
display: inline-block;
transition: transform 0.3s ease;
}
.social-links a:hover {
transform: scale(1.2);
}
.social-links img {
width: 40px;
height: 40px;
filter: invert(1) drop-shadow(0 0 5px #00ffff);
}
.cta-button-container {
min-height: 50px; /* Reserve space to prevent layout shift */
}
.cta-button {
background: linear-gradient(45deg, #ff4500, #ff8c00);
color: #fff;
padding: 0.8rem 2.5rem;
border: 2px solid #ffA500;
border-radius: 50px;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
text-decoration: none;
display: inline-block;
box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}
.cta-button:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 30px rgba(255, 140, 0, 0.6);
}


/* --- CONTENT & ADMIN STYLES --- */
.content-section {
min-height: 100vh;
padding: 5rem 2rem; /* Reduced top padding as links-section adds space */
background: linear-gradient(180deg, #000 0%, #1a1a2e 100%);
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.container h2 {
font-size: 3rem;
margin-bottom: 2rem;
text-align: center;
background: linear-gradient(45deg, #ff00ff, #00ffff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* About Me & Ungodly Blurb Section */
.about-me, .ungodly-blurb {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 2rem;
margin-bottom: 4rem;
padding: 2rem;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
}
.about-me-image {
width: 180px;
height: 180px;
border-radius: 50%;
object-fit: cover;
border: 4px solid #00ffff;
box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}
.about-me-text, .ungodly-blurb-content {
max-width: 800px;
}
.ungodly-blurb h3 {
font-size: 2.5rem;
color: #ff4500;
text-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
}
.ungodly-blurb p {
font-size: 1.1rem;
line-height: 1.6;
}

@media (min-width: 768px) {
.about-me {
flex-direction: row;
text-align: left;
}
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 2rem;
backdrop-filter: blur(10px);
transition: all 0.3s;
cursor: pointer;
display: flex;
flex-direction: column;
position: relative; /* Needed for play icon overlay */
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(255, 0, 255, 0.3);
border-color: #ff00ff;
}
.card.video-card .card-image-wrapper {
position: relative;
}
.card.video-card .card-image-wrapper::after {
content: '▶';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 5rem;
color: rgba(255, 255, 255, 0.8);
text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
pointer-events: none;
transition: transform 0.3s, color 0.3s;
}
.card.video-card:hover .card-image-wrapper::after {
transform: translate(-50%, -50%) scale(1.2);
color: #fff;
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 1rem;
}
.card h3 {
margin-bottom: 0.5rem;
}
.content-block {
margin-bottom: 3rem;
padding: 2rem;
border-radius: 15px;
}
.content-block img {
max-width: 100%;
height: auto;
border-radius: 15px;
border: 1px solid rgba(255,255,255,0.1);
}
/* Responsive Video Wrapper for Content Blocks */
.content-block .video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
max-width: 100%;
background: #000;
border-radius: 15px;
}
.content-block .video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.content-block.align-center img,
.content-block.align-center .video-wrapper {
margin: 0 auto;
display: block;
}
.content-block.align-right img,
.content-block.align-right .video-wrapper {
margin-left: auto;
display: block;
}

/* Portfolio Gallery Styling */
.gallery-section {
margin-bottom: 4rem;
}
.gallery-title {
font-size: 2.5rem;
border-bottom: 2px solid #00ffff;
padding-bottom: 1rem;
margin-bottom: 1rem;
color: #fff;
}
.gallery-description {
margin-bottom: 2rem;
font-style: italic;
color: #ccc;
max-width: 800px;
}

.contact-form, .admin-section form {
max-width: 600px;
margin: 0 auto;
}
.contact-form {
background: rgba(255, 255, 255, 0.05);
padding: 3rem;
border-radius: 20px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #00ffff;
font-size: 1.1rem;
}
.form-group input,
.form-group textarea,
.form-group select,
.admin-section input,
.admin-section textarea,
.admin-section select {
width: 100%;
padding: 1rem;
background: #1a1a2e;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
color: #fff;
font-size: 1rem;
transition: all 0.3s;
margin-bottom: 0.5rem;
}

/* Properly styled select dropdowns - this actually works */
.form-group select,
.admin-section select {
background: #1a1a2e url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"%3e%3cpath d="M7 10l5 5 5-5z"/%3e%3c/svg%3e') no-repeat right 1rem center;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 3rem;
color: #fff;
}

/* Remove the useless option styling that doesn't work */

.form-group-checkbox {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 1.5rem;
}
.form-group-checkbox input[type="checkbox"] {
width: auto;
margin-bottom: 0;
}
.form-group-checkbox label {
margin-bottom: 0;
font-size: 1rem;
color: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.admin-section input:focus,
.admin-section textarea:focus,
.admin-section select:focus {
outline: none;
border-color: #ff00ff;
box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}
.btn {
background: linear-gradient(45deg, #ff00ff, #00ffff);
color: #fff;
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
width: 100%;
margin-top: 1rem;
}
.btn:hover {
transform: scale(1.05);
box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}
.form-button-group {
    display: flex;
    gap: 1rem;
}
.page { display: none; }
.page.active {
display: block;
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* --- MODAL STYLES --- */
#details-modal, #edit-modal, #video-modal, #media-modal, #image-lightbox-modal {
position: fixed;
z-index: 2000;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.95);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: opacity 0.4s ease;
padding: 1rem;
}
.modal-hidden {
opacity: 0;
pointer-events: none;
}
.modal-close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
cursor: pointer;
z-index: 2001;
}
.modal-content-form {
background: #1a1a2e;
padding: 2rem;
border-radius: 15px;
width: 90%;
max-width: 600px;
position: relative;
border: 1px solid #00ffff;
max-height: 90vh;
overflow-y: auto;
}
.modal-content-form h3 {
margin-bottom: 1.5rem;
text-align: center;
}
.modal-scroll-content {
    background: #0c0c1a;
    border-radius: 15px;
    padding: 2rem;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-caption {
text-align: center;
color: #ccc;
padding: 20px 0;
width: 100%;
}
#details-main-media {
    text-align: center; /* Center the content inside */
}
#details-main-media img {
    max-width: 100%;
    border-radius: 10px;
    display: inline-block; /* Allows margin auto to work */
    margin: 0 auto;
}
.details-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.details-gallery-container img {
    width: 100%;
    border-radius: 10px;
}
.video-container, .sketchfab-embed-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
height: 0;
}
.video-container iframe, .sketchfab-embed-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 10px;
}
.modal-caption .btn {
    width: auto;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin-top: 1rem;
    display: inline-block;
}
#media-list-container {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}
.media-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.media-item input[type="text"] {
    flex-grow: 1;
}
.media-item .delete-media-btn {
    background: #8B0000;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    margin: 0;
}
.media-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.media-controls .btn {
    width: auto;
}
#save-media-btn {
    width: 100%;
}
/* --- IMAGE LIGHTBOX MODAL --- */
#image-lightbox-modal .lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    display: block;
    object-fit: contain;
    border-radius: 5px;
}

/* Make images in details modal clickable */
.modal-scroll-content img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.modal-scroll-content img:hover {
    opacity: 0.8;
}

/* --- ADMIN STYLES --- */
.admin-welcome {
text-align: center;
font-size: 1.2rem;
margin-bottom: 2rem;
}
.admin-welcome .btn {
width: auto;
padding: 0.5rem 1rem;
font-size: 0.9rem;
margin-left: 1rem;
margin-top: 0;
}
.export-import-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.import-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.admin-details {
margin-bottom: 1rem;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 15px;
}
.admin-details summary {
padding: 1.5rem;
font-size: 1.5rem;
font-weight: bold;
cursor: pointer;
color: #00ffff;
outline: none;
}
.admin-details[open] summary {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-section { padding: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.admin-details .admin-section:first-of-type { border-top: none; }
.admin-section h3 {
text-align: center;
margin-bottom: 1.5rem;
color: #fff;
font-size: 1.2rem;
}
.admin-section form {
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
.admin-list-container {
max-height: 400px;
overflow-y: auto;
padding-right: 10px;
}
.admin-list { list-style: none; padding: 0; }
.admin-list li {
background: rgba(0,0,0,0.2);
padding: 1rem;
border-radius: 10px;
margin-bottom: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
word-break: break-word;
transition: background-color: 0.2s;
cursor: grab;
}
.admin-list li:active {
cursor: grabbing;
}
.admin-list li .content { flex-grow: 1; margin-right: 1rem; }
.admin-list li .actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.action-btn {
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
font-size: 0.9rem;
}
.edit-btn { background: #004e92; }
.delete-btn { background: #8B0000; }
.message { margin-top: 1rem; text-align: center; font-weight: bold; min-height: 1.2em;}
.success-message { color: #00ff7f; }
.error-message { color: #ff4500; }

/* SortableJS styles for drag and drop */
.sortable-ghost {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px dashed #00ffff !important;
    opacity: 0.8;
}

.sortable-drag {
    opacity: 1 !important;
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.4);
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.toast {
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    border-left: 5px solid #fff;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background-color: #28a745;
    border-left-color: #208a38;
}
.toast.error {
    background-color: #dc3545;
    border-left-color: #b02a37;
}


/* --- RESPONSIVE STYLES --- */
@media screen and (max-width: 768px) {

nav {
justify-content: flex-end; /* Align toggle to the right */
padding: 0.5rem 1rem;
}

nav ul {
position: fixed;
inset: 0 0 0 30%; /* top, right, bottom, left */
flex-direction: column;
padding: min(20vh, 10rem) 2em;
gap: 2em;
background: hsl(0 0% 0% / 0.9);
backdrop-filter: blur(1rem);
transform: translateX(100%);
transition: transform 350ms ease-out;
}

nav ul[data-visible="true"] {
transform: translateX(0%);
}

.nav-toggle {
display: block;
position: relative;
z-index: 9999;
background: transparent;
border: 0;
width: 2rem;
aspect-ratio: 1;
cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
content: '';
position: absolute;
width: 100%;
height: 3px;
background: white;
left: 0;
transition: transform 350ms ease;
}

.nav-toggle::before {
top: 25%;
}

.nav-toggle::after {
bottom: 25%;
}

.nav-toggle[aria-expanded="true"]::before {
transform: translateY(300%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
transform: translateY(-300%) rotate(-45deg);
}

.content-section {
padding: 3rem 1rem;
}

.container h2 {
font-size: 2.5rem;
}

.hero-title {
font-size: clamp(2.5rem, 12vw, 6rem);
letter-spacing: 0.05em;
}

.hero-title .production {
font-size: 0.35em;
letter-spacing: 0.25em;
}

.ungodly-title-container {
width: 100%;
text-align: center;
}
.ungodly-title {
font-size: clamp(3rem, 18vw, 8rem);
}
.un {
transform: translate(-2.8ch, -50%) skew(-5deg) scale(1.1);
}

.contact-form {
padding: 2rem;
}

.admin-details summary {
font-size: 1.2rem;
padding: 1rem;
}

.admin-section {
padding: 1.5rem;
}

.admin-list li {
flex-direction: column;
align-items: flex-start;
}

.admin-list li .actions {
margin-top: 1rem;
width: 100%;
display: flex;
justify-content: flex-end;
}

.action-btn {
padding: 0.5rem 0.8rem;
}

.modal-content-form {
padding: 1.5rem;
}
}


@media screen and (max-width: 480px) {
.container h2 {
font-size: 2rem;
}

.hero-title {
line-height: 1.1;
}

.ungodly-title {
line-height: 1;
}

.un {
transform: translate(-2.8ch, -50%) skew(0deg) scale(1);
}

.grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}

.card {
padding: 1.5rem;
}
}

