/* Share button styles */
.share-btn {
    display: block;
    margin: 0 auto 20px auto;
    padding: 12px 28px;
    background: linear-gradient(45deg, #ffdd00, #ffa500);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 221, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
}
.share-btn:hover {
    background: linear-gradient(45deg, #ffa500, #ffdd00);
    transform: translateY(-2px) scale(1.04);
}
/* Common styles for iFunny Twin Finder */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    padding: 20px;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

h1 {
    text-align: center;
    color: #ffdd00;
    margin-bottom: 30px;
    font-size: 2.5em;
    background: linear-gradient(45deg, #ffdd00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 221, 0, 0.3);
}

h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: normal;
}

h3 {
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.0em;
    font-weight: normal;
}

/* Button styles */
button, .nav-link {
    padding: 15px 25px;
    background: linear-gradient(45deg, #ffdd00, #ffa500);
    color: #000000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover, .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 221, 0, 0.4);
}

button:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    transform: none;
}

/* Card styles */
.result-card, .section {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    opacity: 0;
    transform: translateY(30px);
    animation: slideIn 0.6s ease forwards;
}

.section {
    padding: 30px;
    margin-bottom: 30px;
}

.result-card:nth-child(2), .section:nth-child(2) { animation-delay: 0.1s; }
.result-card:nth-child(3), .section:nth-child(3) { animation-delay: 0.2s; }
.result-card:nth-child(4), .section:nth-child(4) { animation-delay: 0.3s; }
.result-card:nth-child(5), .section:nth-child(5) { animation-delay: 0.4s; }

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

/* Navigation */
.navigation {
    text-align: center;
    margin-bottom: 30px;
}

.nav-link {
    margin: 0 10px;
    padding: 12px 24px;
}

/* Status and loading */
.loading, .status {
    text-align: center;
    color: #ffdd00;
    font-size: 18px;
    margin: 20px 0;
}

.status {
    font-weight: bold;
}

/* Error and no results */
.error {
    background: #2d1b1b;
    color: #ff6b6b;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #ff6b6b;
}

.no-results {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px;
    background: #2a2a2a;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #444;
}

/* Username and similarity styles */
.username {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.search-result-title {
    color: #ffdd00;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
}

.similarity-score {
    font-size: 0.9em;
    color: #ffdd00;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Comment styles */
.comments {
    margin-top: 15px;
}

.comment {
    background: #1a1a1a;
    border-left: 4px solid #ffdd00;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    opacity: 0;
    transform: scale(0.8) translateX(-20px);
    animation: commentPop 0.8s ease forwards;
    color: #ffffff;
}

.comment:nth-child(1) { animation-delay: 0.3s; }
.comment:nth-child(2) { animation-delay: 0.5s; }
.comment:nth-child(3) { animation-delay: 0.7s; }

@keyframes commentPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateX(-20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateX(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.comment-fade-out {
    animation: commentFadeOut 0.5s ease forwards;
    animation-delay: 3s;
}

@keyframes commentFadeOut {
    to {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Utility classes */
.highlight {
    color: #ffdd00;
    font-weight: bold;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Text styles */
.intro-text {
    text-align: center;
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #444;
}
