body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: white;
    margin: 0;
    padding: 0;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Specific icon colors */
.fa-telegram { color: #0088cc; }
.fa-instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
}

.input-section {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

textarea {
    width: 100%;
    height: 100px;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background: #222;
    color: white;
    resize: none;
}

.options-row1, .options-row2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

select, input, button {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}

input {
    width: 100px;
    background: #222;
    color: white;
}

select {
    background: #333;
    color: white;
}

.options-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

button {
    background: #00ccff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    flex-grow: 1;
}

button:hover {
    background: #0099cc;
}

.result {
    margin-top: 20px;
    text-align: center;
    display: none;
}

#imageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

#imageContainer img {
    max-width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

#imageContainer img:hover {
    transform: scale(1.02);
}

#imageContainer a.error-link {
    color: #00ccff;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

#imageContainer a.error-link:hover {
    color: #0099cc;
    text-decoration: none;
}

.gallery {
    margin-top: 30px;
}

#galleryContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
}

.gallery-item {
    background: #1c1c1c;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-item p {
    font-size: 12px;
    margin-top: 5px;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#fullscreenView {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: none;
}

#fullscreenImage {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

#fullscreenPrompt {
    color: white;
    margin-top: 10px;
    font-size: 16px;
    max-width: 80%;
}

#closeBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Add download button styling */
#downloadBtn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 204, 255, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#downloadBtn:hover {
    background: #0099cc;
    transform: scale(1.1);
}

/* Blur specific gallery items */
.gallery-item[data-blur="true"] img {
    filter: blur(15px);
    transition: filter 0.3s;
}

/* Optional: Show slightly less blur on hover */
.gallery-item[data-blur="true"]:hover img {
    filter: blur(10px);
}

/* Ensure fullscreen view is always clear */
#fullscreenImage {
    filter: none !important;
}

/* More Button Styles */
.more-button-container {
    text-align: center;
    margin: 30px 0;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.more-button {
    background: linear-gradient(135deg, #00ccff, #0099cc);
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.more-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.4);
}

.premium-footer {
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #888;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    padding: 0.5rem;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00ccff;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-links a:hover::after {
    width: 100%;
    left: 0;
}

.legal-links {
    margin: 1.5rem 0;
}

.legal-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 2px;
}

.legal-link:hover {
    color: #fff;
}

.legal-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #00ccff;
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

.copyright {
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
}

/* Apple-style hover effects */
.social-links .fa-telegram:hover { color: #0088cc; }
.social-links .fa-x-twitter:hover { color: #000; }
.social-links .fa-instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.5rem;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-gate-modal {
    background: rgba(28, 28, 28, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: modalEnter 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes modalEnter {
    to { transform: scale(1); }
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.warning-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

h2 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: -0.5px;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.content-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0.8rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.content-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.fa-solid {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
    margin: 2rem 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

button {
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.accept-button {
    background: linear-gradient(135deg, #00ccff, #0099cc);
    color: white;
}

.reject-button {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4444;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(0);
}

/* User Guide page style */

.guide-container {
max-width: 800px;
padding: 20px;
margin: 40px auto;
}

.guide-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 40px;
color: #00ccff;
}

.guide-section {
background: #1c1c1c;
padding: 25px;
border-radius: 15px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.guide-section h3 {
color: #00ccff;
margin-top: 0;
font-size: 1.5rem;
display: flex;
align-items: center;
gap: 10px;
}

.guide-section ol,
.guide-section ul {
padding-left: 20px;
line-height: 1.8;
}

.guide-section li {
margin-bottom: 10px;
padding-left: 10px;
}

.param-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}

.param-item {
background: #222;
padding: 20px;
border-radius: 10px;
border-left: 4px solid #00ccff;
}

.param-item h4 {
margin: 0 0 15px 0;
color: #fff;
}

.warning-box {
background: #332222;
border: 2px solid #ff4444;
padding: 20px;
border-radius: 10px;
display: flex;
align-items: center;
gap: 15px;
margin-top: 40px;
}

.warning-box i {
color: #ff4444;
font-size: 1.5rem;
}

.warning-box p {
margin: 0;
color: #ff8888;
}

/* Table of Contents Styles */
.guide-toc {
background: #1c1c1c;
border-radius: 15px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.guide-toc h3 {
color: #00ccff;
margin-top: 0;
font-size: 1.3rem;
border-bottom: 1px solid #333;
padding-bottom: 15px;
}

.guide-toc ul {
list-style: none;
padding-left: 0;
margin: 15px 0;
}

.guide-toc li {
margin: 10px 0;
position: relative;
}

.guide-toc li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
display: block;
padding: 8px 15px;
border-radius: 5px;
}

.guide-toc li a:hover {
color: #00ccff;
background: rgba(255,255,255,0.05);
}

.guide-toc > ul > li > a {
font-weight: 600;
}

.guide-toc ul ul {
padding-left: 25px;
margin-top: 5px;
}

.guide-toc ul ul li {
margin: 8px 0;
}

.guide-toc ul ul li a {
font-size: 0.95em;
color: #ccc;
padding: 5px 15px;
}

.guide-toc ul ul li a:hover {
color: #00ccff;
}

.guide-toc ul ul li:before {
content: "•";
color: #00ccff;
position: absolute;
left: -15px;
}

/* Purple-Pink Animated Scroll Badge */
.scroll-badge {
  --purple: #8e44ad;
  --pink:   #ff6ec7;
  --red: #bf1b1b;
  display: inline-block;
  margin: 0 auto 12px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(142, 68, 173, 0.45);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--red));
}

/* Shimmer animation */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.scroll-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shimmer 2.5s infinite ease-in-out;
  pointer-events: none;
}

/* Hover / active states */
.scroll-badge:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.6);
}

.scroll-badge:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 3px 10px rgba(142, 68, 173, 0.5);
}