:root {
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --secondary-color: #000000;
    --light-color: #ffffff;
    --dark-color: #111111;
    --overlay-color: rgba(0, 0, 0, 0.95);
    --transition-speed: 0.4s;
    --easing: cubic-bezier(0.5, 0, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

body {
    font-family: 'Orbitron', 'Arial Narrow', sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--light-color);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(to bottom, #000000, #1a0000);
}

.floating-orbs {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 20%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #990000;
    bottom: 15%;
    right: 10%;
    animation: float 18s infinite ease-in-out reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #660000;
    top: 50%;
    left: 50%;
    animation: float 12s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-50px) translateX(30px); }
    40% { transform: translateY(30px) translateX(-40px); }
    60% { transform: translateY(30px) translateX(40px); }
    75% { transform: translateY(-30px) translateX(50px); }
}

header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.neon-text {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 40px var(--primary-color);
    animation: neon-pulse 2s infinite alternate;
}

.neon-text span {
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes neon-pulse {
    from {
        text-shadow: 0 0 10px var(--primary-color),
                     0 0 20px var(--primary-color),
                     0 0 40px var(--primary-color);
    }
    to {
        text-shadow: 0 0 15px var(--primary-color),
                     0 0 30px var(--primary-color),
                     0 0 60px var(--primary-color);
    }
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    position: relative;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    width: 150px;
    height: 50px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-3px) rotateX(10deg);
}

.filter-btn .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), #1a0000);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transform-origin: center;
    transition: all 0.3s ease;
}

.filter-btn .btn-text {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1;
    transition: all 0.3s ease;
}

.filter-btn.active .btn-bg {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 0 15px var(--primary-color);
}

.filter-btn.active .btn-text {
    color: var(--secondary-color);
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-speed) var(--easing);
    aspect-ratio: 16/9;
    transform-style: preserve-3d;
    will-change: transform;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--easing);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(255,0,0,0.1));
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--easing);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--easing);
    transform-origin: center;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.1) rotate(1deg);
}

.gallery-item .media-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-speed) var(--easing);
}

.gallery-item:hover .media-type {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item .media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-speed) var(--easing);
}

.gallery-item:hover .media-overlay {
    opacity: 1;
    transform: translateY(0);
}

.media-overlay h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.media-overlay p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) var(--easing);
    backdrop-filter: blur(10px);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-speed) var(--easing);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 10;
    border: 1px solid var(--primary-color);
}

.close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--primary-color);
}

.media-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-height: 70vh;
}

.media-container img, .media-container video {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: media-appear 0.5s var(--easing) forwards;
}

@keyframes media-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid var(--primary-color);
}

.media-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.media-description {
    color: #cccccc;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lightbox-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prev-btn, .next-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed) var(--easing);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.media-count {
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Custom cursor */
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: invert(1);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    display: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Touch device adjustments */
@media (hover: none) {
    .cursor-follower {
        width: 40px;
        height: 40px;
    }
    
    .cursor-dot {
        width: 12px;
        height: 12px;
    }
    
    .gallery-item:hover {
        transform: none;
        animation: none;
    }
    
    .gallery-item:hover img, 
    .gallery-item:hover video {
        transform: none;
        animation: none;
    }
    
    .filter-btn:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .cursor-follower, .cursor-dot {
        display: none !important;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .neon-text {
        font-size: 2.5rem;
    }
    
    .filter-controls {
        gap: 1rem;
    }
    
    .filter-btn {
        width: 120px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .neon-text {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .media-container {
        padding: 1rem;
        max-height: 60vh;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) var(--easing);
    backdrop-filter: blur(10px);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.media-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.media-container img, 
.media-container video {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        height: 95%;
    }
    
    .media-container {
        padding: 1rem;
    }
}
/* Animated Footer Styles */
.animated-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.7), transparent);
  text-align: center;
  z-index: 100;
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255,0,0,0.3);
}

.footer-content {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.copyright {
  margin-right: 1rem;
}

.year {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  color: var(--primary-color);
  font-weight: bold;
}

.designer {
  position: relative;
}

.heart {
  display: inline-block;
  color: var(--primary-color);
  animation: heartbeat 1.5s infinite;
  transform-origin: center;
}

/* Animations */
@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

/* Glow effect */
.footer-content::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.3; }
}

/* Floating effect */
.animated-footer {
  animation: float-up 2s ease-out;
}

@keyframes float-up {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .copyright {
    margin-right: 0.5rem;
  }
}

