/* Vibrant Trophy Theme Colors */
:root {
    --primary-pink: #FF6B9D;
    --primary-purple: #C44569;
    --primary-blue: #4ECDC4;
    --primary-yellow: #FFE66D;
    --primary-orange: #FF8C42;
    --primary-green: #95E1D3;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --dark-bg: #1a1a2e;
    --card-bg: #16213e;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 12px 24px rgba(255, 107, 157, 0.4);
}

/* Typography - Fun Fonts */
body {
    font-family: 'Righteous', 'Fredoka One', cursive, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-light);
    min-height: 100vh;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bungee', 'Fredoka One', cursive, sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Header Styles */
.trophy-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 50%, var(--primary-blue) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.5);
    position: relative;
    overflow: hidden;
}

.trophy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.trophy-icon {
    font-size: 1.2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Filter Panel */
.filter-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-yellow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
}

.filter-panel .form-label {
    color: var(--text-light);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.filter-panel .form-control {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.filter-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.filter-panel .form-control:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--primary-yellow);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(255, 230, 109, 0.5);
}

.filter-panel .form-check-label {
    color: var(--text-light);
    font-weight: 500;
}

.filter-panel .form-check-input:checked {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
}

.filter-panel .btn-primary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    border: none;
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
}

.filter-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
}

/* Channel Search Dropdown */
.channel-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-yellow);
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.channel-dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-dropdown-item:last-child {
    border-bottom: none;
}

.channel-dropdown-item:hover {
    background: linear-gradient(90deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    transform: translateX(5px);
}

/* Card Styles - Vibrant Theme */
.trophy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 3px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trophy-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
}

.trophy-card:hover::before {
    opacity: 1;
}

.trophy-card.rank-1 {
    border: 3px solid var(--primary-yellow);
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.2) 0%, rgba(255, 107, 157, 0.1) 100%);
    box-shadow: 0 8px 24px rgba(255, 230, 109, 0.5);
}

.trophy-card.rank-2 {
    border: 3px solid var(--primary-blue);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(196, 69, 105, 0.1) 100%);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.5);
}

.trophy-card.rank-3 {
    border: 3px solid var(--primary-orange);
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.2) 0%, rgba(255, 107, 157, 0.1) 100%);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.5);
}

/* Medal Indicators */
.medal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    z-index: 10;
    animation: shine 2s infinite;
}

@keyframes shine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.rank-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    z-index: 10;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.6);
    font-family: 'Bungee', cursive;
}

/* Card Image */
.card-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio - maintains consistent height/width ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-blue) 100%);
    border-radius: 12px 12px 0 0;
}

.card-image-container img,
.card-image-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trophy-card:hover .card-image-container img,
.trophy-card:hover .card-image-container video {
    transform: scale(1.05);
}

/* Card Body */
.card-body-custom {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ef-fg);
}

/* Emoji Reactions */
.emoji-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.emoji-pill {
    background: linear-gradient(135deg, #E8F4F8 0%, #D1E9F0 100%);
    border: 1px solid #B8DCE8;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.emoji-pill:hover {
    background: linear-gradient(135deg, #D1E9F0 0%, #B8DCE8 100%);
    transform: scale(1.05);
}

.emoji-pill .emoji {
    font-size: 1.2rem;
}

.emoji-pill .count {
    font-weight: 600;
    color: var(--dark-slate);
}

/* Total Reactions Badge */
.total-reactions-badge {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 50%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.6);
    letter-spacing: 1px;
    border: 2px solid var(--primary-yellow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Uploader and Author Names */
.uploader-name, .author-name {
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    color: var(--primary-yellow);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Message Card Specific */
.message-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-height: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-family: 'Righteous', cursive;
}

.message-text.expanded {
    max-height: none;
    -webkit-line-clamp: unset;
}

.expand-text-btn {
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
}

.expand-text-btn:hover {
    text-decoration: underline;
}

/* Podium View - Hidden */
.podium-container {
    display: none;
}

.podium-item {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-item .trophy-card {
    width: 100%;
    max-width: 100%;
}

.podium-item .card-image-container {
    padding-top: 100%; /* Square aspect ratio for podium */
    border-radius: 12px 12px 0 0;
}

.podium-item.rank-1 {
    order: 2;
    transform: scale(1.15);
    z-index: 3;
}

.podium-item.rank-1 .trophy-card {
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.4);
}

.podium-item.rank-2 {
    order: 1;
    transform: scale(0.9);
    z-index: 2;
}

.podium-item.rank-3 {
    order: 3;
    transform: scale(0.9);
    z-index: 1;
}

/* Skeleton Loading */
.skeleton-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    height: 400px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, var(--primary-pink) 25%, var(--primary-purple) 50%, var(--primary-blue) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 20px;
    background: linear-gradient(90deg, var(--primary-pink) 25%, var(--primary-purple) 50%, var(--primary-blue) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin: 1rem;
}

/* Empty State */
.empty-state-icon {
    font-size: 5rem;
    opacity: 0.5;
}

.empty-state-icon,
#emptyState h3,
#emptyState p {
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Error State */
#errorState .alert {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(196, 69, 105, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 3px solid var(--primary-pink);
    color: var(--text-light);
    border-radius: 15px;
}

#errorState .alert-heading {
    color: var(--primary-yellow);
    font-family: 'Bungee', cursive;
}

#errorState .btn-danger {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Results Section */
.results-section {
    background: transparent;
    padding: 2rem 0;
}


/* Modal Styles - Vibrant Theme */
.modal-content {
    border-radius: 20px;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(20px);
    color: var(--text-light);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    border-bottom: 3px solid var(--primary-yellow);
    color: white;
    border-radius: 17px 17px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.modal-title {
    color: white;
    font-family: 'Bungee', cursive;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body {
    background: transparent;
    color: var(--text-light);
}

.modal-footer {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(196, 69, 105, 0.2) 100%);
    border-top: 2px solid var(--primary-yellow);
    border-radius: 0 0 17px 17px;
}

.modal-footer .btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.modal-footer .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

.modal-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 2rem;
    max-height: 600px;
    object-fit: contain;
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.4);
    border: 3px solid var(--primary-yellow);
}

.modal-video {
    max-height: 70vh;
    background: #000;
}

/* Video container styles - video-container class is added to card-image-container */
.video-container {
    /* Inherits from .card-image-container - no additional positioning needed */
}

.video-container video {
    /* Inherits from .card-image-container video - already positioned absolutely */
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.trophy-card:hover .video-play-overlay {
    background: rgba(255, 107, 157, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* .card-media is now handled by .card-image-container - this is kept for backwards compatibility but not used */
.card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Info Section */
.modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid var(--primary-yellow);
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-info-item:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    color: var(--primary-yellow);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-info-value {
    font-family: 'Bungee', cursive;
    font-size: 1.3rem;
    color: white;
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body .message-text {
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border-left: 4px solid var(--primary-yellow);
}

/* Toast Notifications */
.toast {
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4);
    border: 2px solid var(--primary-yellow);
    backdrop-filter: blur(10px);
}

.toast.text-bg-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%) !important;
}

.toast.text-bg-danger {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%) !important;
}

.toast.text-bg-info {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trophy-header h1 {
        font-size: 2rem;
    }
    
    .podium-container {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-item {
        max-width: 100%;
        transform: none !important;
    }
    
    .podium-item.rank-1 {
        order: 1;
    }
    
    .podium-item.rank-2 {
        order: 2;
    }
    
    .podium-item.rank-3 {
        order: 3;
    }
    
    .filter-panel .row > div {
        margin-bottom: 1rem;
    }
}

/* Fade-in Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a1a;
        --dark-slate: #E0E0E0;
    }
    
    body {
        background-color: var(--light-bg);
        color: var(--dark-slate);
    }
    
    .trophy-card {
        background: #2a2a2a;
        color: var(--dark-slate);
    }
    
    .filter-panel {
        background: #2a2a2a !important;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--gold);
}

.text-silver {
    color: var(--silver);
}

.text-bronze {
    color: var(--bronze);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-silver {
    background-color: var(--silver);
}

.bg-bronze {
    background-color: var(--bronze);
}

/* Copy Permalink Button */
.copy-permalink-btn {
    font-family: 'Righteous', cursive;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.copy-permalink-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
    background: rgba(78, 205, 196, 0.1);
}

.copy-permalink-btn.btn-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    border: none;
    color: white;
}

.copy-icon {
    font-size: 1rem;
}

/* Hide main content by default (shown after authentication) */
#mainContent.d-none {
    display: none !important;
}

/* Secret Cover Screen */
.secret-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.secret-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 105, 180, 0.3);
    animation: secretPulse 3s ease-in-out infinite;
}

@keyframes secretPulse {
    0%, 100% {
        border-color: rgba(255, 105, 180, 0.3);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(255, 255, 255, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: rgba(255, 105, 180, 0.6);
        box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3),
                    0 0 0 1px rgba(255, 255, 255, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.secret-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.secret-title {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.secret-subtitle {
    font-family: 'Righteous', cursive;
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.9;
}

.secret-form-container {
    width: 100%;
}

.secret-form {
    margin-bottom: 1.5rem;
}

.secret-input-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.secret-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 105, 180, 0.4);
    border-radius: 12px;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
}

.secret-input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
    background: rgba(0, 0, 0, 0.4);
}

.secret-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.secret-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: 'Bungee', cursive;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.secret-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

.secret-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.secret-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.secret-error,
.secret-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.secret-error {
    background: rgba(255, 107, 157, 0.2);
    border: 2px solid var(--primary-pink);
    color: #ff6b9d;
}

.secret-success {
    background: rgba(78, 205, 196, 0.2);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.error-icon,
.success-icon {
    font-size: 1.5rem;
}

.error-text,
.success-text {
    font-weight: 500;
}

/* Responsive Secret Cover */
@media (max-width: 768px) {
    .secret-cover {
        padding: 1rem;
    }
    
    .secret-container {
        padding: 2rem 1.5rem;
    }
    
    .secret-title {
        font-size: 2rem;
    }
    
    .secret-subtitle {
        font-size: 1rem;
    }
}

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


