:root {
    --bg-dark: #0a0a0f;
    --card-bg: rgba(25, 25, 35, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --pride-1: #ff0018; /* Red */
    --pride-2: #ffa52c; /* Orange */
    --pride-3: #ffff41; /* Yellow */
    --pride-4: #008018; /* Green */
    --pride-5: #0000f9; /* Blue */
    --pride-6: #86007d; /* Violet */
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Dynamic Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(
        45deg, 
        rgba(255,0,24,0.1), 
        rgba(255,165,44,0.1), 
        rgba(255,255,65,0.1), 
        rgba(0,128,24,0.1), 
        rgba(0,0,249,0.1), 
        rgba(134,0,125,0.1)
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typography & Colors */
.rainbow-text {
    background-image: linear-gradient(to right, var(--pride-1), var(--pride-2), var(--pride-3), var(--pride-4), var(--pride-5), var(--pride-6));
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 900;
}

/* Layout */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Image Container */
.main-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    border: 4px solid #fff;
    box-shadow: 0 0 30px rgba(255, 0, 24, 0.4);
}

.ring-1, .ring-2 {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ring-1 {
    width: 230px;
    height: 230px;
    border-top-color: var(--pride-1);
    border-right-color: var(--pride-3);
    border-bottom-color: var(--pride-5);
    animation: spin 8s linear infinite;
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-left-color: var(--pride-2);
    border-bottom-color: var(--pride-4);
    border-top-color: var(--pride-6);
    animation: spin 12s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typography details */
h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: #a0a0b0;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.desperate-banner {
    background: linear-gradient(90deg, var(--pride-1), var(--pride-6));
    color: white;
    font-weight: bold;
    padding: 0.8rem;
    border-radius: 50px;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    animation: flash 2s infinite;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 0, 24, 0.5);
}

@keyframes flash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bio {
    font-size: 1.1rem;
    color: #dcdcdc;
    margin: 2rem auto;
    max-width: 600px;
    line-height: 1.8;
}

/* Call to Action */
.contact-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-cta h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pulse-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff007f, #7f00ff);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.6);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.pulse-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.8);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 0, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUpIn 0.8s forwards;
    animation-delay: var(--delay);
}

.gallery-item:hover {
    transform: scale(1.05) rotateY(10deg);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    filter: saturate(1.2) brightness(1.1);
}

.overlay-text {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-item:hover .overlay-text {
    bottom: 0;
}

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

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    border-top: 1px solid #222;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .glass-card { padding: 2rem 1rem; }
    .pulse-button { padding: 0.8rem 2rem; font-size: 1.2rem; }
    .desperate-banner { font-size: 0.9rem; padding: 0.6rem; }
}
