body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #fff;
}

#themeIcon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, fill 0.3s ease;
}
#themeIcon:hover {
    transform: scale(1.2);
}


/* Mobile */

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden; /* Hide horizontal overflow */
}

/* Optional: make sure all elements fit within viewport */
* {
    box-sizing: border-box; /* Prevent padding/margin from causing overflow */
    max-width: 100%;        /* Prevent wide elements from stretching page */
}

/* END Mobile */


.logo {
    position: fixed; /* stays in place on all pages */
    top: 0px;        /* distance from top */
    left: 15px;      /* distance from left */
    font-size: 24px; /* adjust size as needed */
    font-weight: bold;
    z-index: 999;    /* stays above other elements */
	text-decoration: none !important;
	color: #fff !important;
	transition: transform 0.3s ease; /* smooth animation */
}

.logo:hover {
    transform: scale(1.1); /* enlarge on hover */
}



/* Home button */
#homeButton {
    position: fixed;
    bottom: 18px !important;
    left: 20px; /* shifted right of home button */
    background: rgba(0,0,0,0.6);
    padding: 12.5px 16px !important;
    border-radius: 30px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
#homeButton:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Loop button (next to home button) */
#loopToggleButton {
    position: fixed;
    bottom: 18px;
    left: 90px; /* shifted right of home button */
    background: rgba(0,0,0,0.6);
    padding: 12.5px 16px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}


/* Voice button (next to loop button) */
#voiceToggleButton {
    position: fixed;
    bottom: 125px;
    right: 10px; /* shifted right of loop button */
    background: transparent;
    padding: 10px 16px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
#voiceToggleButton:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}


/* Join Now button right */
#joinButton {
    position: fixed;
    bottom: 20px;
    right: 20px; /* right side */
    background: red;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}


/* Tooltip */
#loopToggleButton::after {
     content: attr(data-tooltip);
    position: absolute;
    bottom: 57px; /* above the button */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


/* Tooltip for voice button */
#voiceToggleButton::after {
    content: "Info/AI alert";
    position: absolute;
    bottom: 57px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


#loopToggleButton:hover::after {
    opacity: 1;
}

#voiceToggleButton:hover::after {
    opacity: 1;
}



#joinButton:hover {
    background: darkred;
    transform: scale(1.05);
}

 .features {
            max-width: 800px;
            margin: 0 auto 40px auto;
            padding: 0 20px;
        }

        .features ul {
            list-style-type: disc;
            padding-left: 20px;
        }

        .features li {
            margin-bottom: 10px;
			font-size:13 px !important;
        }
		
		
		
		
		
		
		.galleryaiimg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .galleryaiimg img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
  }

  .galleryaiimg img:hover {
    transform: scale(1.05);
  }

  @media (min-width: 768px) {
    .galleryaiimg {
      grid-template-columns: repeat(3, 1fr);
    }
  }
		
		
		
		
		.galleryimage {
	width: 100% !important;          /* Full width of the viewport */
    box-sizing: border-box; /* Includes padding/border in width */
    padding: 20px;        /* Optional: adds some spacing inside */
    background-color: #f0f0f0; /* Optional: background color */
    text-align: center;   /* Optional: center text */
		}
		
		  .galleryb {
            max-width: 900px;
            margin: 0 auto 40px auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
            background-color: #eaeaea;
            border-radius: 10px;
            text-align: center;
            color: #555;
            font-size: 20px;
        }

        .columns {
            display: flex;
            max-width: 900px;
            margin: 0 auto 40px auto;
            gap: 20px;
            padding: 0 20px;
        }

        .column {
            flex: 1;
            background-color: #fff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            text-align: center;
        }
		
		@media (max-width: 768px) {
            .columns {
                flex-direction: column;
            }
        }
		
		
		
		
		
		
		form {
        padding: 40px 50px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        display: flex;
        gap: 10px;
        align-items: center;
    }
	
	#loginform { color: #fff !important;}
    #inputform { margin-top: 9px !important;}


    label {
        flex: 1;
        display: flex;
        flex-direction: column;
        font-weight: 500;
        font-size: 16px;
        color: #1c1c1e;
    }

    input {
        padding: 10px 15px;
        margin-top: 5px;
        border: 1px solid #d1d1d6;
        border-radius: 8px;
        font-size: 16px;
        outline: none;
        transition: border 0.3s, box-shadow 0.3s;
    }

    input:focus {
        border-color: #007aff;
        box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
    }

    .buttonl {
        padding: 12px 20px;
        background-color: #007aff;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        align-self: center;
        width: 50%;
    }

    .buttonl:hover {
        background-color: #005bb5;
        transform: translateY(-2px);
    }
		
		
		
		
		
		
		
 .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 15px;
}

.grid-item {
    width: 100%;
    aspect-ratio: 400 / 421; /* maintain 400x421 ratio */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Tablet/Mobile: 2 columns */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Remove 1-column rule to keep 2 columns even on very small phones */
/* Optional: keep 2 columns always on mobile by using the 900px max-width */


li.normalfont {
	font-size:15px !important;
}


 .row {
    width: 100%;         /* Full width of screen/container */
    max-width: 100vw;    /* Never exceed viewport width */
    overflow: hidden;    /* Clear floats */
    padding: 30px;
    box-sizing: border-box; /* Include padding in width */
  }

  .left {
    float: left;
    width: 50%;          /* Half the row */
    text-align: left;
	font-size: 12px;
  }

  .left a {
    color: #fff;
	text-decoration: none;
  }
  
  .footer-menu-margin {
	  margin-left: 20px;
  }
  
  .right {
    float: right;
    width: 50%;          /* Half the row */
    text-align: right;
	font-size: 12px;
  }
  
  
  #footerspace {
	 padding-top: 90px !important;
  }
  
  .pagination {
	  padding-top: 10px;
  }
  
  /* Apply blur to premium videos */
.blurred {
    filter: blur(8px);
    transition: filter 0.3s;
    pointer-events: none; /* optional: prevent interaction with blurred video */
}

/* 18+ badge */
.badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,0,0,0.8);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 30px;
    z-index: 5;
    pointer-events: none; /* allow click to pass through to link */
}
  
  
 
 /* Modal */
 #modalTitle { color:#000; }
 #modalAuthor { color:#000; }
 #modalDate { color:#000; }
 .modal-content  { color:#000; }
 #reportLink {color: red !important;}
 
 
 
.icon-circle {
  display: inline-flex;           /* Flexbox for centering */
  align-items: center;            /* Vertical centering */
  justify-content: center;        /* Horizontal centering */
  width: 20px;
  height: 20px;
  border: 1px solid red;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  margin-right: 5px;
  margin-top: -3px !important;
}







 /* Scroll Red Arrow container */
   /* Arrow container */
  #scrollArrow {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 80px;       /* very big */
    color: red;
    cursor: pointer;
    animation: upDown 1s infinite alternate;
    z-index: 1000;
    transition: opacity 0.5s;
    will-change: transform; /* hint for smoother animation */
  }

  /* Up and down animation */
  @keyframes upDown {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -15px, 0); }
  }

  /* Hidden state */
  #scrollArrow.hidden {
    opacity: 0;
    pointer-events: none;
  }

   /* END Scroll Red Arrow container */
   
   
   
   

.video-thumb,
.thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16; /* adjust to your video orientation */
    overflow: hidden;   /* clip any extra pixels */
    background-color: black; /* fallback if video hasn't loaded yet */
}

.video-thumb video,
.thumb video,
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* ensure video fills container */
    display: block;
    vertical-align: top;    
}

/* Make clickable link cover the video fully */
.thumb a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .thumb {
        width: calc(50% - 10px); /* 2 per row on tablet/mobile */
    }
	
}

@media (max-width: 480px) {
    .thumb {
        width: 100%; /* full width on small screens */
    }
}

/* Stop iOS from auto text-resizing quirks */
html { -webkit-text-size-adjust: 100%; }

/* Prevent focus-zoom by ensuring 16px+ computed size */
@media (max-width: 480px) {
  input,
  select,
  textarea,
  button {
    font-size: 16px;          /* key line for iOS */
    line-height: 1.4;
  }
}

#searchInput::placeholder {
  color: #e1e1e1;
}


#footerspace {
  margin-top: 20px;
  background: #111;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footerspace .left a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
}

#footerspace .right {
  max-width: 400px;
  font-size: 12px;
  line-height: 1.4;
}

/* Pages */
.nsfwfilter {
    background:#333;
	color:#fff;
}

/* Light Mode Start */


body.light-mode {
    background: #fff;
    color: #000;
}


body.light-mode #aimark {
    color: #000 !important;
}

body.light-mode #homeButton {
    background: #000 !important;
    color: #fff !important;
}

body.light-mode #homeButton:hover,
body.light-mode #loopToggleButton:hover,
body.light-mode #voiceToggleButton:hover {
    background: rgba(0,0,0,0.1);
}

body.light-mode #joinButton {
    background: #ff4d4d;
    color: #fff;
}

body.light-mode #joinButton:hover { background: #e60000; }

body.light-mode #footerspace {
    background: #f2f2f2;
    color: #000;
}

body.light-mode #footerspace .left a { color: #000; }

/* Tooltips in light mode */
body.light-mode #loopToggleButton::after,
body.light-mode #voiceToggleButton::after {
    background: rgba(255,255,255,0.9);
    color: #000;
}

/* Video thumbs / overlays */
body.light-mode .video-thumb,
body.light-mode .thumb {
    background-color: #e6e6e6;
}

/* Modal */
body.light-mode .modal-content { background: #fff; color: #000; }
body.light-mode #reportLink { color: red !important; }

/* Grid / gallery */
body.light-mode .grid-item,
body.light-mode .galleryb,
body.light-mode .column {
    background-color: #f9f9f9;
}

/* Blur effect (keep same for both) */
.blurred { filter: blur(8px); }


/* Pages */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 {
    color: #000000;
}


/* Pages */
body.light-mode .pricing-box {
    background-color: #ffffff !important;
	color: #000;
}





/* Pages */
body.light-mode #loginform {
    color: #000000 !important;
}

/* Pages */
body.light-mode .nsfwfilter {
    background: #fff !important;
	color: #333 !important;
}

body.light-mode .pagination-wrapper {
    text-align: center;
    margin: 20px 0;
    font-family: sans-serif;
}

body.light-mode .pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.light-mode .pagination .prev a,
body.light-mode .pagination .next a {
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

body.light-mode .pagination .prev a:hover,
body.light-mode .pagination .next a:hover {
    background-color: #f0f0f0;
}

body.light-mode .pagination .pages a {
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 2px;
    display: inline-block;
    transition: all 0.2s;
}

body.light-mode .pagination .pages a.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

body.light-mode .pagination .pages a:hover {
    background-color: #eee;
}

body.light-mode .pagination .pages .dots {
    color: #888;
    padding: 6px 5px;
}

body.light-mode .pagination .jump-form {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    gap: 5px;
}

body.light-mode .pagination .jump-form input[type="number"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    width: 50px;
}

body.light-mode .pagination .jump-form button.go-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

body.light-mode .pagination .jump-form button.go-button:hover {
    background-color: #333;
}

/* Light-mode Icons */
body.light-mode #searchIcon,
body.light-mode #userIcon,
body.light-mode #themeIcon {
    background: #000000; /* light gray background */
    color: #000; /* icon color black */
    padding: 12px 16px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, color 0.3s;
}

body.light-mode #searchIcon:hover,
body.light-mode #userIcon:hover,
body.light-mode #themeIcon:hover {
    background: #ddd; /* slightly darker gray on hover */
    transform: scale(1.1);
}







/* Home button */
body.light-mode #homeButton {
    background: #ffffff; /* light gray background */
    color: #000; /* icon color black */
    padding: 12px 16px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, color 0.3s;
}
body.light-mode #homeButton:hover {
    background: #ddd; /* slightly darker gray on hover */
    transform: scale(1.1);
}

/* Light-mode Input field */
body.light-mode .searchContent {
   
    background: #fff; /* white background */
   
}




/* Light-mode Input field */
body.light-mode .searchContent input {
    padding: 18px 22px;
    font-size: 14px;
    width: 350px;
    border: 2px solid #888; /* gray border */
    outline: none;
    background: #fff; /* white background */
    border-radius: 5px;
    color: #000; /* black text */
    font-weight: bold;
    font-family: Arial, sans-serif;
}

body.light-mode .searchContent input::placeholder {
    color: #000 !important; /* gray placeholder */
    opacity: 0.8;
    font-weight: normal;
}

/* Light-mode Button */
body.light-mode .searchContent button {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    background: #000 !important;
    color: #000; /* black text */
    border: 2px solid #000; /* black border */
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, border 0.3s, opacity 0.3s;
}

body.light-mode .searchContent button:hover {
    background: #f0f0f0; /* light gray hover */
    border-radius: 5px;
    border: 1px solid #888; /* gray border */
    opacity: 0.8;
}

body.light-mode .searchContent button:hover {
    background: #f0f0f0; /* light gray hover */
    border-radius: 5px;
    border: 1px solid #888; /* gray border */
    opacity: 0.8;
}


body.light-mode #yeslight {
    display:block !important;
}


body.light-mode #nolight {
    display: none !important;
}


#yeslight {
   display: none !important;
}


 #nolight {
   display:block;
}




/* Light Mode End */