:root {
    --primary-color: #25F4EE;
    --secondary-color: #FE2C55;
    --accent-color: #832EF5;
    --dark-color: #0F0F1A;
    --light-color: rgba(255, 255, 255, 0.9);
    --glass-color: rgba(255, 255, 255, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --text-color: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0F0F1A, #1E1E3A);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(2px);
  width: 100%;
  height: auto;
  padding: 1rem;
  box-shadow: 0 0 8px #d2d2d2eb;
}

.header span {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.5rem;
}

.header i {
  font-size: 2rem;
  
}

.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.bubble-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

.bubble-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 30%;
    animation-delay: 6s;
}

.bubble-4 {
    width: 250px;
    height: 250px;
    bottom: 30%;
    right: 30%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, 20px); }
    50% { transform: translate(-15px, 10px); }
    75% { transform: translate(5px, -15px); }
}

.glass-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px;
}

.glass-card {
    width: 100%;
    max-width: 800px;
    background: var(--glass-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    padding: 30px;
    transform-style: preserve-3d;
    transition: var(--transition);
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.glass-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.logo-shine {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.2) 0%, rgba(37, 244, 238, 0) 70%);
    z-index: -1;
}

.glass-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.glass-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

.glass-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 20px auto;
    width: 80%;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-input-group {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 1;
}

.glass-input-group input {
    flex: 1;
    padding: 18px 20px 18px 50px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.glass-input-group input::placeholder {
    color: var(--text-light);
}

.glass-input-group input:focus {
    background: rgba(0, 0, 0, 0.4);
}

.liquid-btn {
    position: relative;
    padding: 0;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0 12px 12px 0;
    transition: var(--transition);
    min-width: 120px;
}

.btn-text {
    position: relative;
    padding: 18px 25px;
    display: block;
    z-index: 1;
}

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

.liquid-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.liquid-btn:hover .btn-liquid {
    top: -40px;
}

.glass-panel {
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.examples {
    font-size: 0.9rem;
}

.examples p {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-light);
}

.examples ul {
    list-style-type: none;
}

.examples li {
    margin-bottom: 8px;
    word-break: break-all;
    color: var(--text-light);
    font-size: 0.85rem;
    position: relative;
    padding-left: 15px;
}

.examples li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.liquid-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    position: relative;
    margin-bottom: 25px;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(37, 244, 238, 0.3);
}

.spinner-inner {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--dark-color);
    border-radius: 50%;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-light);
    margin-top: 15px;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.avatar-container {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.avatar-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    border-radius: 50%;
    pointer-events: none;
}

.creator-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.creator-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.creator-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.creator-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.content-info p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.content-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-item i {
    color: var(--primary-color);
}

.media-container {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.media-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark-color);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.media-item img {
    width: 100%;
    height: auto;
    display: block;
}

.video-player {
    width: 100%;
    border-radius: 12px;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.download-btn {
    position: relative;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 244, 238, 0.3);
}

.download-btn i {
    font-size: 0.9rem;
}

.download-all-btn {
    background: linear-gradient(45deg, var(--secondary-color), #FF6B00);
}

.download-all-btn::before {
    background: linear-gradient(45deg, #FE2C55, #FF6B00);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.error-icon {
    font-size: 1.5rem;
    color: #FF5252;
}

.error-message p {
    color: #FF5252;
}

.glass-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px;
}

.glass-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.glow-link {
    text-shadow: 0 0 10px rgba(37, 244, 238, 0.5);
    position: relative;
}

.glow-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.glow-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hidden {
    display: none !important;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 18px 20px 18px 50px; /* ruang untuk icon */
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}


/* Responsive styles */
@media (max-width: 768px) {
    .glass-container {
        padding: 15px;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .glass-header h1 {
        font-size: 2rem;
    }
    
    .glass-input-group {
        flex-wrap: wrap;
    }
    
    .input-wrapper {
      flex: 1 1 100%;
    }
    
    .glass-input-group input {
        flex: 1;
        border-radius: 12px;
        margin-bottom: 0;
    }
    
    .liquid-btn {
        border-radius: 12px;
        margin-top: 10px;
        width: 100%;
        order: 2;
    }
    
    .input-icon {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      z-index: 1;
    }
    
    .creator-info {
        flex-direction: column;
        text-align: center;
    }
    
    .creator-stats {
        justify-content: center;
    }
    
    .content-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .download-options {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .glass-header h1 {
        font-size: 1.8rem;
    }
    
    .creator-details h3 {
        font-size: 1.1rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
}