* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
    min-height: 100vh;
    margin: 2px;
    border-radius: 7px;
    color: #fff;
    background:
        repeating-linear-gradient(0deg,
            rgba(0, 255, 255, 0.05) 0px,
            rgba(0, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 100px),
        repeating-linear-gradient(90deg,
            rgba(255, 0, 255, 0.05) 0px,
            rgba(255, 0, 255, 0.05) 1px,
            transparent 1px,
            transparent 100px),
        radial-gradient(circle at center,
            #060014 0%,
            #0a0025 60%,
            #000 100%);

    background-size: 100px 100px, 100px 100px, cover;
    background-position: center;
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(0, 191, 255, 0.4),
        0 0 40px rgba(0, 191, 255, 0.2);
    animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
  0% {
    box-shadow:
      0 0 15px rgba(0, 255, 255, 0.95),    
      0 0 30px rgba(0, 200, 255, 0.8),
      0 0 45px rgba(0, 150, 255, 0.6),
      0 0 70px rgba(0, 100, 255, 0.4);
  }
  25% {
    box-shadow:
      0 0 15px rgba(0, 180, 255, 0.95),     
      0 0 30px rgba(0, 140, 255, 0.8),
      0 0 45px rgba(0, 100, 255, 0.6),
      0 0 70px rgba(0, 80, 255, 0.4);
  }
  50% {
    box-shadow:
      0 0 15px rgba(0, 220, 255, 0.95),    
      0 0 30px rgba(0, 170, 255, 0.8),
      0 0 45px rgba(0, 130, 255, 0.6),
      0 0 70px rgba(0, 100, 255, 0.4);
  }
  75% {
    box-shadow:
      0 0 15px rgba(0, 200, 255, 0.95),   
      0 0 30px rgba(0, 150, 255, 0.8),
      0 0 45px rgba(0, 120, 255, 0.6),
      0 0 70px rgba(0, 90, 255, 0.4);
  }
  100% {
    box-shadow:
      0 0 15px rgba(0, 255, 255, 0.95),    
      0 0 30px rgba(0, 200, 255, 0.8),
      0 0 45px rgba(0, 150, 255, 0.6),
      0 0 70px rgba(0, 100, 255, 0.4);
  }
}

@keyframes background-pulse {
    from {
        background-color: #000;
        filter: brightness(0.95);
    }
    to {
        background-color: #00000a;
        filter: brightness(1.05);
    }
}

.nebula {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.15), transparent 70%),
        radial-gradient(circle at 70% 60%, rgba(255, 0, 255, 0.15), transparent 70%),
        radial-gradient(circle at 50%, rgba(0, 120, 255, 0.1), transparent 80%);
    animation: nebulaGlow 35s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
    z-index: 1;
}

@keyframes nebulaGlow {
    from {
        transform: scale(1);
        opacity: 0.6;
    }
    to {
        transform: scale(1.1);
        opacity: 0.85;
    }
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-200px, -200px);
    }
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate(800px, 400px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes containerEntry {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes desktopCardEntry {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg) translateY(0);
    }
}

@keyframes mobileCardRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mobileCardLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    opacity: 0;
    animation: containerEntry 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0ff;
    animation: glow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

.header h1 {
    font-size: 2.8rem;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 0 5px #00f0ff;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    width: 280px;
    max-width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: none;
    border-radius: 8px;
    background: rgba(20, 20, 50, 0.9);
    color: #e0e0ff;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6), inset 0 0 5px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.9), inset 0 0 8px rgba(0, 255, 255, 0.5);
    background: rgba(20, 20, 50, 1);
}

.search-bar input::placeholder {
    color: rgba(0, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.search-bar::before {
    content: '🔍';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f0ff;
    font-size: 1rem;
    z-index: 1;
}

.sort-selector {
    position: relative;
    width: 180px;
    max-width: 100%;
}

.sort-selector select {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(20, 20, 50, 0.9);
    color: #e0e0ff;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 12px rgba(64, 14, 215, 0.6);
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.sort-selector select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(8, 160, 225, 0.9);
}

.sort-selector::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff00cc;
    font-size: 0.7rem;
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 15px;
    justify-content: center;
}

.project-card {
    position: relative;
    border-radius: 12px;
    padding: 14px;
    margin: 12px 6px 6px 6px;
    box-shadow: 0 0 15px rgba(0, 145, 255, 0.656);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 183, 255, 0.77);
    animation: float 5s ease-in-out infinite, desktopCardEntry 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 290px;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3/4;
    width: 100%;
    height: 90%;
}

/* Staggered Delays for Desktop */
.projects-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-grid .project-card:nth-child(4) { animation-delay: 0.4s; }
.projects-grid .project-card:nth-child(5) { animation-delay: 0.5s; }
.projects-grid .project-card:nth-child(6) { animation-delay: 0.6s; }
.projects-grid .project-card:nth-child(7) { animation-delay: 0.7s; }
.projects-grid .project-card:nth-child(8) { animation-delay: 0.8s; }
.projects-grid .project-card:nth-child(9) { animation-delay: 0.9s; }
.projects-grid .project-card:nth-child(10) { animation-delay: 1.0s; }

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 15, 0.797);
    border-radius: 12px;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 0.6;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 7, 7, 0.5);
}

.project-number {
    position: absolute;
    top: 2px;
    left: 2px;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6), 0 0 12px rgba(255, 0, 0, 0.4);
    animation: pulse-number 2.2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.project-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: #e0f2ff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 50px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2ad0ea;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.5);
    line-height: 1.3;
}

.project-description {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #c1d9b2;
    margin-bottom: 12px;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.project-image {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f0ff;
    font-size: 0.8rem;
    text-align: center;
    border: 1px dashed rgba(0, 255, 255, 0.5);
    z-index: 1;
}

.project-buttons {
    margin-top: 20px;
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
    padding: 6px 8px;
    z-index: 1;
    flex-wrap: nowrap;
}

.btn {
    padding: 7px 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex: 1;
    max-width: 85px;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-preview {
    background: linear-gradient(45deg, #00f0ff, #ff00cc, #007bff);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.7), 0 0 15px rgba(255, 0, 204, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: glow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

.btn-preview:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.9), 0 0 25px rgba(255, 0, 204, 0.7);
    background: linear-gradient(45deg, #00f0ff, #ff00cc, #007bff);
}

.btn-preview::after {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-preview:hover::after {
    opacity: 1;
}

.btn-source {
    background: linear-gradient(45deg, #00ff51, #048cba);
    box-shadow: 0 0 8px rgba(0, 195, 255, 0.5);
}

.btn-source:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 89, 0.7);
}

@keyframes glow {
    0% {
        text-shadow: 0 0 8px #00f0ff, 0 0 16px #00f0ff;
    }
    100% {
        text-shadow: 0 0 16px #00f0ff, 0 0 24px #007bff;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse-number {
    0% {
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.6), 0 0 12px rgba(255, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 0, 0, 0.8), 0 0 16px rgba(255, 0, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.6), 0 0 12px rgba(255, 0, 0, 0.4);
    }
}

@keyframes scale-glow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes starsMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .btn {
        padding: 20px 10px;
        font-size: 0.55rem;
        max-width: 90px;
        max-height: 90px;
        border-radius: 5px;
        line-height: 1.2;
    }
    .btn-preview::after {
        font-size: 0.6rem;
    }
}

/* Landscape mode optimizations */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr); /* More columns in landscape for better space usage */
        gap: 12px;
        padding: 12px;
    }
    .project-card {
        min-height: 240px;
        max-width: 250px;
        padding: 12px;
        margin: 10px 5px;
    }
    .project-number {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .project-content {
        padding-top: 30px;
    }
    .project-title {
        font-size: 1.1rem;
    }
    .project-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    .project-image {
        height: 45px;
        font-size: 0.75rem;
    }
    .project-buttons {
        gap: 8px;
        padding: 8px 10px;
    }
    .btn {
        padding: 6px 8px;
        font-size: 0.65rem;
        max-width: 80px;
    }
    .btn-preview::after {
        font-size: 0.55rem;
    }
    .header h1 {
        font-size: 2.5rem;
    }
    .header p {
        font-size: 1rem;
    }
    .controls {
        gap: 12px;
    }
    .search-bar,
    .sort-selector {
        width: 250px;
    }
    .search-bar input,
    .sort-selector select {
        padding: 9px 14px 9px 32px;
        font-size: 0.85rem;
    }
    .search-bar::before {
        font-size: 0.95rem;
    }
    .sort-selector::after {
        font-size: 0.65rem;
    }
    .creator-credit {
        top: 15px;
        right: 15px;
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 12px;
        justify-items: center;
    }
    .project-card:nth-child(odd) {
        animation: mobileCardRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .project-card:nth-child(even) {
        animation: mobileCardLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .projects-grid .project-card:nth-child(1),
    .projects-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
    .projects-grid .project-card:nth-child(3),
    .projects-grid .project-card:nth-child(4) { animation-delay: 0.4s; }
    .projects-grid .project-card:nth-child(5),
    .projects-grid .project-card:nth-child(6) { animation-delay: 0.6s; }
    .projects-grid .project-card:nth-child(7),
    .projects-grid .project-card:nth-child(8) { animation-delay: 0.8s; }
    .projects-grid .project-card:nth-child(9),
    .projects-grid .project-card:nth-child(10) { animation-delay: 1.0s; }
    .header h1 {
        font-size: 2rem;
    }
    .header p {
        font-size: 0.9rem;
    }
    .search-bar,
    .sort-selector {
        width: 100%;
        max-width: 220px;
    }
    .search-bar input,
    .sort-selector select {
        padding: 8px 12px 8px 30px;
        font-size: 0.8rem;
    }
    .search-bar::before {
        left: 8px;
        font-size: 0.9rem;
    }
    .sort-selector::after {
        right: 8px;
        font-size: 0.6rem;
    }
    .project-card {
        min-height: 250px;
        padding: 12px;
        margin: 10px 5px 5px 5px;
        border-radius: 10px;
        width: 100%;
        max-width: 230px;
    }
    .project-number {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 5px;
        left: 5px;
    }
    .project-content {
        padding-top: 28px;
    }
    .project-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    .project-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }
    .project-image {
        width: 100%;
        height: 50px;
        margin-bottom: 10px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    .project-buttons {
        gap: 5px;
        padding: 5px 6px;
    }
    .btn {
        padding: 5px 6px;
        font-size: 0.55rem;
        max-width: 65px;
        border-radius: 5px;
        line-height: 1.2;
    }
    .btn-preview::after {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        gap: 12px;
        padding: 10px;
        justify-items: center;
    }
    .project-card {
        min-height: 260px;
        max-width: 490px;
        margin: 8px 4px 4px 4px;
        padding: 10px;
    }
    .project-number {
        font-size: 0.65rem;
        padding: 3px 7px;
        top: 4px;
        left: 3px;
    }
    .project-content {
        padding-top: 25px;
    }
    .project-description {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    .btn {
        max-width: 60px;
        padding: 4px 5px;
        font-size: 0.5rem;
        border-radius: 4px;
    }
    .btn-preview::after {
        font-size: 0.45rem;
    }
    .controls {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .search-bar,
    .sort-selector {
        max-width: 200px;
    }
}

@media (max-width: 360px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px;
        padding: 8px;
    }
    .project-card {
        min-height: 280px;
        max-width: 280px;
        margin: 7px 3px 3px 3px;
        padding: 8px;
    }
    .project-number {
        font-size: 0.6rem;
        padding: 3px 6px;
        top: 3px;
        left: 2px;
    }
    .project-content {
        padding-top: 22px;
    }
    .project-description {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    .btn {
        max-width: 55px;
        padding: 3px 4px;
        font-size: 0.45rem;
        border-radius: 4px;
    }
    .btn-preview::after {
        font-size: 0.4rem;
    }
}

/* Additional landscape mode for smaller devices */
@media only screen and (max-width: 768px) and (orientation: landscape) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for smaller landscape screens */
        gap: 12px;
        padding: 10px;
    }
    .project-card {
        min-height: 220px;
        max-width: 200px;
        padding: 10px;
        margin: 8px 4px;
    }
    .project-number {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    .project-content {
        padding-top: 25px;
    }
    .project-title {
        font-size: 0.95rem;
    }
    .project-description {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }
    .project-image {
        height: 40px;
        font-size: 0.7rem;
    }
    .project-buttons {
        gap: 6px;
        padding: 6px 8px;
    }
    .btn {
        padding: 5px 7px;
        font-size: 0.6rem;
        max-width: 70px;
    }
    .btn-preview::after {
        font-size: 0.5rem;
    }
    .header h1 {
        font-size: 2.2rem;
    }
    .header p {
        font-size: 0.95rem;
    }
    .controls {
        flex-direction: row;
        gap: 10px;
    }
    .search-bar,
    .sort-selector {
        width: 200px;
    }
    .search-bar input,
    .sort-selector select {
        padding: 8px 12px 8px 28px;
        font-size: 0.8rem;
    }
    .search-bar::before {
        font-size: 0.9rem;
    }
    .sort-selector::after {
        font-size: 0.6rem;
    }
    .creator-credit {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 5px 10px;
    }
}

.sound-active {
    animation: pulse 0.3s ease;
}

@keyframes rotateBorderColor {
    0% {
        border-color: rgb(182, 20, 17);
    }
    33% {
        border-color: rgb(210, 47, 41);
    }
    66% {
        border-color: rgb(186, 99, 68);
    }
    100% {
        border-color: rgb(239, 7, 3);
    }
}

@keyframes glowEffect {
    0%, 100% {
        box-shadow: 0 0 10px 1px rgba(229, 9, 9, 0.5);
    }
    50% {
        box-shadow: 0 0 20px 3px rgba(248, 4, 4, 0.963);
    }
}

@keyframes rotateBorderColor2 {
    0% {
        border-color: rgb(148, 159, 77);
    }
    33% {
        border-color: rgb(192, 190, 72);
    }
    66% {
        border-color: rgb(198, 206, 48);
    }
    100% {
        border-color: rgb(211, 224, 24);
    }
}

@keyframes glowEffect2 {
    0%, 100% {
        box-shadow: 0 0 10px 1px rgba(222, 212, 18, 0.5);
    }
    50% {
        box-shadow: 0 0 20px 3px rgba(216, 248, 4, 0.963);
    }
}

@keyframes rotateBorderColor3 {
    0% {
        border-color: rgb(77, 144, 159);
    }
    33% {
        border-color: rgb(72, 134, 192);
    }
    66% {
        border-color: rgb(48, 193, 206);
    }
    100% {
        border-color: rgb(24, 191, 224);
    }
}

@keyframes glowEffect3 {
    0%, 100% {
        box-shadow: 0 0 10px 1px rgba(18, 185, 222, 0.5);
    }
    50% {
        box-shadow: 0 0 20px 3px rgba(4, 199, 248, 0.963);
    }
}

.creator-credit {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(1, 3, 5, 0.8);
    border: 2px solid #2ac9fe;
    border-radius: 12px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.428);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
}

.creator-credit:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.creator-credit::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    top: -2px;
    background: linear-gradient(45deg, #dc2626, #ef4444, #f87171, #dc2626);
    border-radius: 14px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .creator-credit {
        top: 183px;
        right: 10px;
        font-size: 11px;
        padding: 3px 9px;
    }
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}
