
@font-face {
    font-family: "Ubuntu Condensed";
    src: url(/assets/css/fonts/UbuntuCondensed-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}
@font-face {
    font-family: Ubuntu;
    src: url('fonts/Ubuntu-R.ttf') format("truetype");
    src: url('fonts/Ubuntu-R.woff') format("woff");
    src: url('fonts/Ubuntu-R.woff2') format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Ubuntu;
    src: url('fonts/Ubuntu-RI.ttf') format("truetype");
    src: url('fonts/Ubuntu-RI.woff') format("woff");
    src: url('fonts/Ubuntu-RI.woff2') format("woff2");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: Ubuntu;
    src: url('fonts/Ubuntu-B.ttf') format("truetype");
    src: url('fonts/Ubuntu-B.woff') format("woff");
    src: url('fonts/Ubuntu-B.woff2') format("woff2");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: Ubuntu;
    src: url('fonts/Ubuntu-BI.ttf') format("truetype");
    src: url('fonts/Ubuntu-BI.woff') format("woff");
    src: url('fonts/Ubuntu-BI.woff2') format("woff2");
    font-weight: 700;
    font-style: italic;
}
*{
    font-family: "Ubuntu Condensed", "Ubuntu", -apple-system, sans-serif;
}
body{
    background: #395060;
    margin: 0;
    padding: 0;
}
.screenview{
    background: #395060;
    width: 100%;
    min-height: calc(100vh - 120px);
    position: absolute;
    top: 120px;
    left: 0;
    z-index: 10;
}
.meteorAnimeDesc{
    position: absolute;
    left: 0;
    top: 100px;
    width: 100%;
    height: calc(100% - 100px);
    overflow: hidden;
    z-index: 1;
}
footer{
    height: 137px;
    display: block;
    background: #1e2a33;
    z-index: 6;
    box-shadow: inset 0px 0px 10px 2px #000000b3;
}
meteor-content{
    margin-bottom: 20px !important;
    z-index: 6;
}
.fz-130{
    font-size: 130%;
}
.flexed{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.rounded{
    border-radius: 10px;
}
.max-width{
    max-width: calc(100% - 20px);
    margin: auto;
}

.boxContent{
    padding: 40px;
    padding-top: 20px;
    font-size: 120%;
}
.meteorInput{
    width: 222px;
    height: 43px;
    font-size: 150%;
    padding-left: 4px;
    margin: unset;
}
.meteorButton{
    width: 233px;
    height: 80px;
    font-size: 190%;
    cursor: pointer;
    background-color: #2f993d;
    color: #fff;
    text-transform: uppercase;
    border-color: #5dcc65;
    font-family: "Ubuntu Condensed", sans-serif;
    transition-duration: 0.4s;
}
.meteorButton:hover{
    background-color: #2f993dd1;
}

.registerButton{
    margin: auto;
    width: 408px;
    height: 35px;
    cursor: pointer;
    color: #fff;
    font-size: 200%;
    text-transform: uppercase;
    background-color: #03813e;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    align-items: flex-start;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    letter-spacing: normal;
    padding: 30px;
    word-spacing: normal;
    border-style: solid;
    border-width: 3px;
    border-color: #87d450;
}
.registerButton:hover{
    background-color: #049246;
}

#loader{
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #00000063;
}
#loaderLogo{
    background-image: url(../img/METEOR.gif);
    background-repeat: no-repeat;
    position: relative;
    width: 45px;
    height: 45px;
    left: 6px;
    top: 4px;
}
.loader{
    width: 57px;
    height: 57px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: calc(50% - 57px);
    left: 50%;
}
.loader-cyb{
    position: relative;
    border-radius: 50px;
    border: 6px solid rgba(255, 255, 255, 0.4);
}
.loader-cyb:after{
    content: '';
    position: absolute;
    border-radius: 50px;
    top: -6px; left: -6px; bottom: -6px; right: -6px;
    border: 6px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 0.7s linear 0s infinite;
    animation: spin 0.7s linear 0s infinite;
}
@-webkit-keyframes spin {
    0%{ -webkit-transform: rotate(0deg); }
    100%{ -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: #1e2a33;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #2f993d;
}
.toast.success {
    border-left-color: #2f993d;
}
.toast.error {
    border-left-color: #d9534f;
}
.toast.info {
    border-left-color: #5bc0de;
}
.toast.warning {
    border-left-color: #f0ad4e;
}
.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.toast-content {
    flex: 1;
}
.toast-message {
    margin: 0;
    font-size: 110%;
}
.toast-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    margin-left: 12px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.toast-close:hover {
    opacity: 1;
}
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
.toast.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2f993d;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}
#backToTop:hover {
    background: #27823a;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
#backToTop.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Pages Styles */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: #1e2a33;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.auth-title {
    color: #fff;
    font-size: 200%;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    color: #fff;
    font-size: 110%;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 110%;
    border: 2px solid #2f3e4a;
    border-radius: 8px;
    background: #263238;
    color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.form-group input:focus {
    outline: none;
    border-color: #2f993d;
    background: #2a3a42;
}
.form-group input.valid {
    border-color: #2f993d;
    background: rgba(47, 153, 61, 0.1);
}
.form-group input.invalid {
    border-color: #d9534f;
    background: rgba(217, 83, 79, 0.1);
}
.form-group small {
    display: block;
    color: #8a9ba8;
    font-size: 90%;
    margin-top: 6px;
    transition: color 0.3s ease;
}
.form-group small.error {
    color: #ff6b6b;
}
.form-group small.success {
    color: #5dcc65;
}
.form-group .validation-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120%;
    display: none;
}
.form-group {
    position: relative;
}
.form-group .validation-icon.valid {
    display: block;
    color: #2f993d;
}
.form-group .validation-icon.invalid {
    display: block;
    color: #d9534f;
}
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #2f3e4a;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}
.password-strength.show {
    display: block;
}
.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.password-strength-bar.weak {
    width: 33%;
    background: #d9534f;
}
.password-strength-bar.medium {
    width: 66%;
    background: #f0ad4e;
}
.password-strength-bar.strong {
    width: 100%;
    background: #2f993d;
}
.auth-button {
    width: 100%;
    padding: 16px;
    font-size: 130%;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #2f993d 0%, #27823a 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 153, 61, 0.4);
}
.auth-button:active {
    transform: translateY(0);
}
.auth-link {
    text-align: center;
    margin-top: 25px;
    color: #8a9ba8;
    font-size: 105%;
}
.auth-link a {
    color: #2f993d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.auth-link a:hover {
    color: #3db84d;
    text-decoration: underline;
}
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 105%;
}
.alert-danger {
    background: rgba(217, 83, 79, 0.15);
    border: 2px solid #d9534f;
    color: #ff6b6b;
}
.alert-success {
    background: rgba(47, 153, 61, 0.15);
    border: 2px solid #2f993d;
    color: #5dcc65;
}
.alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* Dashboard Styles */
.dashboard-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 5px 20px;
}
.dashboard-nav a {
    padding: 16px 20px;
    background: #2f3e4a;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 105%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 500;
}
.dashboard-nav a i {
    font-size: 120%;
}
.dashboard-nav a:hover {
    background: #3a4d5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.dashboard-nav a.active {
    background: #2f993d;
    border-color: #3db84d;
    box-shadow: 0 4px 12px rgba(47, 153, 61, 0.3);
}
.dashboard-nav a.logout-btn {
    background: #d9534f;
}
.dashboard-nav a.logout-btn:hover {
    background: #c9302c;
}
.dashboard-welcome {
    color: #fff;
    font-size: 180%;
    margin-bottom: 20px;
}
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #8a9ba8;
    font-size: 120%;
}
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.profile-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #2f3e4a;
}
.profile-stat:last-child {
    border-bottom: none;
}
.stat-label {
    color: #8a9ba8;
    font-size: 105%;
}
.stat-value {
    color: #fff;
    font-size: 120%;
    font-weight: 600;
}

/* Share Button Styles */
.share-container {
    margin: 20px 0;
    padding: 20px;
    background: #1e2a33;
    border-radius: 10px;
}
.share-title {
    color: #fff;
    font-size: 140%;
    margin-bottom: 15px;
    font-weight: 600;
}
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.share-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 110%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Ubuntu Condensed", sans-serif;
    text-decoration: none;
    color: #fff;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.share-btn-copy {
    background: #5bc0de;
}
.share-btn-copy:hover {
    background: #46b8da;
}
.share-btn-facebook {
    background: #3b5998;
}
.share-btn-facebook:hover {
    background: #2d4373;
}
.share-btn-twitter {
    background: #1da1f2;
}
.share-btn-twitter:hover {
    background: #0d95e8;
}
.share-btn-whatsapp {
    background: #25d366;
}
.share-btn-whatsapp:hover {
    background: #1ebe57;
}
.share-btn-telegram {
    background: #0088cc;
}
.share-btn-telegram:hover {
    background: #0077b3;
}

/* Anime Action Buttons (Favorite, Watchlist) */
.anime-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #2f3e4a;
    border-radius: 10px;
    background: #263238;
    color: #fff;
    font-size: 105%;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
}

.action-btn:hover {
    background: #2f3e4a;
    border-color: #3a4d5c;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 120%;
    transition: all 0.3s ease;
}

/* Favorite Button */
.action-btn.favorite-btn:hover,
.action-btn.favorite-btn.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #e74c3c;
}

.action-btn.favorite-btn:hover i,
.action-btn.favorite-btn.active i {
    color: #fff;
    transform: scale(1.1);
}

.action-btn.favorite-btn.active {
    animation: heartPulse 0.4s ease;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Watchlist Button */
.action-btn.watchlist-btn:hover,
.action-btn.watchlist-btn.active {
    background: linear-gradient(135deg, #2f993d, #27823a);
    border-color: #2f993d;
}

.action-btn.watchlist-btn:hover i,
.action-btn.watchlist-btn.active i {
    color: #fff;
}

/* Login Prompt Button */
.action-btn.login-prompt {
    background: transparent;
    border-style: dashed;
    color: #8a9ba8;
}

.action-btn.login-prompt:hover {
    background: rgba(47, 153, 61, 0.1);
    border-color: #2f993d;
    color: #5dcc65;
}

/* Loading state */
.action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.action-btn.loading i {
    animation: spin 0.8s linear infinite;
}

/* Episode Actions Container */
.episode-actions-container {
    margin: 20px 0;
    padding: 20px;
    background: #1e2a33;
    border-radius: 10px;
}

.episode-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Card Action Buttons (on grid items) */
.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.grid-item:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-action-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-action-btn:hover {
    transform: scale(1.15);
}

.card-action-btn.favorite:hover,
.card-action-btn.favorite.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.card-action-btn.favorite.active i {
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
}

.card-action-btn.watchlist:hover,
.card-action-btn.watchlist.active {
    background: linear-gradient(135deg, #2f993d, #27823a);
}

.card-action-btn.loading {
    pointer-events: none;
}

.card-action-btn.loading i {
    animation: spin 0.8s linear infinite;
}

#meteorLogo{
    background-image: url('../img/MeteorLogoMini.png');
    width: 110px;
    height: 111px;
    position: absolute;
    margin-top: 15px;
    margin-left: 30px;
}
.meteorFooter{
    position: absolute;
    margin-left: 157px;
    margin-top: 35px;
    max-width: 80%;
    font-size: 105%;
    height: 137px;
    overflow: hidden;
    color: #c5c5c5;
}
.meteorFooter>a{
    text-decoration: none;
    color: #e7e7e7;
    font-size: 99%;
}
.meteorFooter>a:hover{
    text-decoration: underline;
}

meteor-box-50, meteor-box-30, meteor-box-100, meteor-box-80, meteor-box-25, meteor-box-20{
    display: block;
    background-color: #1e2a33;
    transition-duration: .3s;
}
meteor-box-50{
    width: calc(50% - 50px);
    height: auto;
    padding: 10px;
    margin: 5px;
    float: left;
    max-width: 50%;
}
meteor-box-100{
    width: 100%;
    height: auto;
    padding: 10px;
}
meteor-box-80{
    width: 80%;
    height: auto;
    padding: 10px;
    margin: auto;
}
meteor-box-20{
    width: 20%;
    height: auto;
    padding: 10px;
}
meteor-box-30{
    width: calc(33% - 32px);
    height: auto;
    padding: 10px;
    margin: 5px;
    float: left;
    max-width: 33%;
}
meteor-box-25{
    width: calc(25% - 35px);
    height: auto;
    padding: 10px;
    margin: 5px;
    float: left;
}

meteor-password-modal {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #48484899;
}
.modalContent{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e2a33;
    padding: 20px;
    width: 500px;
    height: 308px;
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.75);
}
.modalHeader h2{
    color: #fff;
    font-size: 210%;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin: 0 0 15px 0;
}
.modalBody p{
    color: #fff;
    font-size: 110%;
    text-align: center;
    margin: 8px 0px 0px;
}
.modalBody input{
    width: 460px;
    height: 50px;
    border: 0;
    padding: 0 20px;
    font-size: 150%;
    margin-bottom: 15px;
}
.modal-close {
    background-image: url(/assets/img/alert-close.png);
    width: 19px;
    height: 20px;
    cursor: pointer;
    position: relative;
    float: right;
    margin-top: -50px;
    transform: scale(1.5);
    image-rendering: pixelated;
}
.modal-close:hover{
    background-image: url(/assets/img/alert-close-hover.png);
}
.button-passwd-reset{
    position: relative;
    margin-top: 5px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 17px;
    margin-left: 5px;
}
.button-passwd-reset:hover{
    opacity: .78;
}

.submitlink-view{
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    padding: 20px;
    background-color: #1e2a33;
    border-radius: 10px;
    box-shadow: 0px 0px 6px 0px #000000;
}
.submitlink-view h2{
    margin-bottom: 20px;
    margin-top: 0px;
    color: #fff;
}
.submitlink-view p{
    margin-bottom: 20px;
    color: #fff;
}
.submitlink-view p a{
    color: #fff;
    text-decoration: underline;
}
.submitlink-view p a:hover{
    color: #c5c5c5;
}
.submitlink-view textarea{
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 110%;
    background-color: #395060;
    color: #fff;
    border: 1px solid #1e2a33;
}
.submitlink-view textarea:focus{
    outline: none;
    border: 1px solid #fff;
}
.submitlink-view textarea::placeholder{
    color: #fff;
}
.submitlink-view input{
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 110%;
    background-color: #395060;
    color: #fff;
    border: 1px solid #1e2a33;
}
.submitlink-view input:focus{
    outline: none;
    border: 1px solid #fff;
}
.submitlink-view input::placeholder{
    color: #fff;
}
.submitlink-view button{
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #395060;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 110%;
}
.submitlink-view button:hover{
    background-color: #436075;
}

/* Modern Form Pages */
.form-page-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.form-page-container.dmca-page {
    max-width: 800px;
}

.form-box {
    background: linear-gradient(145deg, #1e2a33, #263238);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-box-wide {
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #fff;
    font-size: 160%;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-header h2 i {
    color: #2f993d;
}

.form-header p {
    color: #8a9aa9;
    font-size: 100%;
    margin: 0;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 400%;
    color: #2f993d;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #fff;
    font-size: 150%;
    margin: 0 0 15px;
}

.form-success p {
    color: #8a9aa9;
    margin: 0 0 25px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-user-info {
    background: rgba(47, 153, 61, 0.1);
    border: 1px solid rgba(47, 153, 61, 0.2);
    color: #2f993d;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 95%;
}

.modern-form .form-group {
    margin-bottom: 22px;
}

.modern-form .form-group label {
    display: block;
    color: #fff;
    font-size: 100%;
    margin-bottom: 8px;
    font-weight: 500;
}

.modern-form .form-group label i {
    color: #2f993d;
    margin-right: 6px;
    width: 18px;
}

.modern-form .form-group input,
.modern-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 100%;
    border: 2px solid #2f3e4a;
    border-radius: 10px;
    background: #1a252d;
    color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-form .form-group input:focus,
.modern-form .form-group textarea:focus {
    outline: none;
    border-color: #2f993d;
    background: #1e2a33;
    box-shadow: 0 0 0 3px rgba(47, 153, 61, 0.1);
}

.modern-form .form-group input::placeholder,
.modern-form .form-group textarea::placeholder {
    color: #5a6a7a;
}

.modern-form .form-group input[readonly] {
    background: #151f28;
    color: #8a9aa9;
    cursor: not-allowed;
}

.modern-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.modern-form .form-hint {
    display: block;
    color: #6a7a8a;
    font-size: 85%;
    margin-top: 6px;
}

.modern-form .form-hint i {
    color: #2f993d;
    margin-right: 4px;
}

.modern-form .char-count {
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.form-section h3 {
    color: #fff;
    font-size: 110%;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #2f993d;
    font-size: 90%;
}

.form-notice {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    color: #8a9aa9;
    padding: 15px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 90%;
}

.form-notice i {
    color: #3498db;
    font-size: 120%;
    margin-top: 2px;
}

.form-notice p {
    margin: 0;
}

.form-notice a {
    color: #3498db;
    text-decoration: underline;
}

.dmca-notice {
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dmca-notice i {
    font-size: 130%;
    margin-top: 2px;
}

.dmca-notice div {
    color: #8a9aa9;
}

.dmca-notice strong {
    color: #f1c40f;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #2f993d;
}

.form-checkbox label {
    color: #8a9aa9;
    font-size: 90%;
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 105%;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f993d, #27823a);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #3ab54a, #2f993d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 153, 61, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2f993d, #27823a);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3ab54a, #2f993d);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.meteorheader-anime{
    width: calc(100% - 30px);
    height: 80px;
    background: linear-gradient(135deg, #1e2a33 0%, #263238 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    gap: 30px;
    z-index: 999;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}
.meteorheader-anime .logo{
    width: 150px;
    height: 60px;
    background-image: url('../img/MeteorLogo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.meteorheader-anime .logo a{
    text-decoration: none;
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
}
.meteorheader-anime .logo a h1{
    font-size: 0;
    margin: 0;
    padding: 0;
}
.main-nav{
    display: flex;
    align-items: center;
    gap: 5px;
}
.main-nav a{
    text-decoration: none;
    color: #fff;
    font-size: 105%;
    padding: 10px 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.main-nav a:hover{
    background: rgba(47, 153, 61, 0.15);
    color: #5dcc65;
}
.header-search{
    flex: 1;
    max-width: 500px;
}
.search-wrapper{
    position: relative;
    width: 100%;
}
.search-icon{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9ba8;
    font-size: 110%;
}
.search-wrapper input{
    width: 100%;
    height: 45px;
    padding: 0 20px 0 45px;
    border: 2px solid #2f3e4a;
    border-radius: 25px;
    background: #263238;
    color: #fff;
    font-size: 105%;
    transition: all 0.3s ease;
}
.search-wrapper input:focus{
    outline: none;
    border-color: #2f993d;
    background: #2a3a42;
    box-shadow: 0 0 0 3px rgba(47, 153, 61, 0.1);
}
.search-wrapper input::placeholder{
    color: #8a9ba8;
}

/* Header Autocomplete */
.header-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e2a33;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    margin-top: 2px;
}

.header-autocomplete.show {
    display: block;
}

.header-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.header-autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.header-autocomplete-item:hover {
    background: rgba(47, 153, 61, 0.15);
}

.header-autocomplete-item img {
    width: 40px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 12px;
    flex-shrink: 0;
}

.header-autocomplete-info {
    flex: 1;
    min-width: 0;
}

.header-autocomplete-title {
    font-size: 95%;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.header-autocomplete-meta {
    font-size: 80%;
    color: #8a9aa9;
    margin-top: 3px;
}

.header-autocomplete-meta .score {
    color: #f1c40f;
}

.header-autocomplete-empty {
    padding: 15px;
    text-align: center;
    color: #8a9aa9;
    font-size: 90%;
}

.header-autocomplete-viewall {
    display: block;
    padding: 12px 15px;
    text-align: center;
    color: #2f993d;
    text-decoration: none;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
    cursor: pointer;
}

.header-autocomplete-viewall:hover {
    background: rgba(47, 153, 61, 0.1);
    color: #2f993d;
}

/* Search History Styles */
.header-autocomplete-section {
    padding: 8px 0;
}

.header-autocomplete-section-title {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.header-autocomplete-history-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-autocomplete-history-item:last-child {
    border-bottom: none;
}

.header-autocomplete-history-item i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.header-autocomplete-history-item:hover {
    background: rgba(47, 153, 61, 0.1);
    color: #2f993d;
    padding-left: 20px;
}

.header-autocomplete-history-item:hover i {
    color: #2f993d;
}

.header-autocomplete-clear-history {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-top: 8px;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.header-autocomplete-clear-history:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
}

.header-autocomplete-clear-history i {
    margin-right: 8px;
}

.header-right{
    flex-shrink: 0;
}
.auth-buttons{
    display: flex;
    gap: 12px;
}
.btn-login, .btn-register{
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 105%;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-login{
    color: #fff;
    background: transparent;
    border: 2px solid #2f3e4a;
}
.btn-login:hover{
    background: #2f3e4a;
    border-color: #3a4d5c;
}
.btn-register{
    color: #fff;
    background: #2f993d;
    border: 2px solid #2f993d;
}
.btn-register:hover{
    background: #27823a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 153, 61, 0.4);
}
.user-menu{
    position: relative;
}
.user-menu-toggle{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #2f3e4a;
    border: 2px solid transparent;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 105%;
    font-weight: 500;
}
.user-menu-toggle:hover{
    background: #3a4d5c;
    border-color: #2f993d;
}
.user-menu-toggle i.fa-user-circle{
    font-size: 140%;
}
.user-menu-toggle i.fa-chevron-down{
    font-size: 90%;
    transition: transform 0.3s ease;
}
.user-menu.active .user-menu-toggle i.fa-chevron-down{
    transform: rotate(180deg);
}
.user-dropdown{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #1e2a33;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    padding: 8px;
    display: none;
    z-index: 1000;
    border: 2px solid #2f3e4a;
}
.user-menu.active .user-dropdown{
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}
@keyframes dropdownFadeIn{
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.user-dropdown a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 105%;
}
.user-dropdown a:hover{
    background: #2f3e4a;
}
.user-dropdown a.logout-link{
    color: #ff6b6b;
}
.user-dropdown a.logout-link:hover{
    background: rgba(217, 83, 79, 0.15);
}
.dropdown-divider{
    height: 1px;
    background: #2f3e4a;
    margin: 8px 0;
}

.menu-toggle{
    display: none;
}

.meteor-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 15px;
}


.meteor-pagination a, .selectedpage, .genrelink{
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #1e2a33;
    transition-duration: .3s;
    font-size: 115%;
}
.genrelink{
    background-color: #2f3e4a;
}
.genrelink:hover{
    background-color: #435663;
}


.selectedpage{
    background-color: #101416;
}

.meteor-pagination a:hover{
    background-color: #435663;
}

.index-specialfix{
    background-color: unset;
    border-radius: 0;
    border: 0;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Similar Animes Grid - More compact */
.similar-animes-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.similar-animes-grid .grid-item-content a img {
    height: 200px;
}

.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #1e2a33, #263238);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(47, 153, 61, 0.3);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 153, 61, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.grid-item:hover::before {
    opacity: 1;
}

.grid-item-content {
    position: relative;
}

.grid-item-content a {
    text-decoration: none;
    display: block;
}

.grid-item-content a img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
    filter: brightness(0.95);
}

.grid-item:hover .grid-item-content a img {
    filter: brightness(1.05);
    transform: scale(1.05);
}

.grid-item-content a .bandeau {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 40px 12px 12px 12px;
    transition: all 0.3s ease;
}

.grid-item:hover .grid-item-content a .bandeau {
    background: linear-gradient(to top, rgba(30, 42, 51, 0.98) 0%, rgba(30, 42, 51, 0.85) 70%, transparent 100%);
    padding-bottom: 15px;
}

.grid-item-content a .bandeau h3 {
    margin: 0;
    color: #fff;
    font-size: 105%;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.grid-item:hover .grid-item-content a .bandeau h3 {
    color: #5dcc65;
}

.grid-item-content .score-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 600;
    font-size: 85%;
    background: linear-gradient(135deg, rgba(47, 153, 61, 0.9), rgba(39, 130, 58, 0.9));
    backdrop-filter: blur(4px);
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.grid-item-content .score-banner i {
    color: #ffd700;
    font-size: 90%;
}

.grid-item-content .date-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: 500;
    font-size: 80%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.grid-item-content .episode-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 85%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.title-section {
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 20px;
    padding: 0 20px;
}

.title-section h2 {
    margin: 0;
    color: #fff;
    font-size: 150%;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.title-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    margin-left: 20px;
}

.title-section h2 i {
    color: #2f993d;
    font-size: 85%;
}

.title-section h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title-section h2 a:hover {
    color: #2f993d;
}

/* Genres Grid */
.genres-grid-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.genre-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.genre-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--genre-color) 0%, color-mix(in srgb, var(--genre-color) 70%, #000) 100%);
    transition: transform 0.4s ease;
}

.genre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.genre-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px;
}

.genre-name {
    color: #fff;
    font-size: 115%;
    font-weight: 700;
    text-transform: capitalize;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.genre-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px color-mix(in srgb, var(--genre-color) 30%, transparent);
}

.genre-card:hover .genre-card-bg {
    transform: scale(1.1);
}

.genre-card:hover .genre-name {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.episode-banner{
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 85%;
    font-weight: 700;
    border-radius: 5px 0 5px 0;
}
.anime-title {
    background-size: cover;
    height: 70px;
    position: relative;
    margin-top: -63px;
}
.anime-title h2 {
    color: #fff;
    font-size: 185%;
    font-weight: 700;
    padding: 20px;
}
meteor-box-player{
    width: calc(100% - 200px);
    position: relative;
    height: auto;
    padding: 0px 100px;
    margin-bottom: 20px;
    display: block;
    background-color: #000;
    transition-duration: .3s;
}
.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
}
.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.video-player iframe.loaded {
    opacity: 1;
}
.video-player-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.video-player-loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.video-player-loader.hidden {
    display: none;
}
.informations-anime {
    padding: 15px;
    margin: auto;
    position: relative;
    display: block;
    width: calc(50% - 100px);
}
.informations-anime h2 {
    font-size: 200%;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.informations-anime small {
    font-size: 85%;
    font-weight: 700;
    color: #999;
}
.informations-anime span {
    font-size: 90%;
    font-weight: 700;
    color: #fff;
}
.informations-anime p {
    margin-bottom: 5px;
    margin-top: 5px;
    color: #fff;
}

.box-intro-left {
    width: 50%;
    position: relative;
    margin: auto;
    display: block;
}
.box-intro-left .image-anime {
    background-size: cover;
    height: 300px;
    width: 80%;
    margin: auto;
    position: relative;
}
.g8d8s{
    width: calc(100% - 60px);
    margin: auto;
    margin-bottom: 30px;
    margin-top: -10px;
    box-shadow: inset 0px 0px 6px 0px #000000;
}

.align-everything {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.big-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.big-buttons a {
    font-size: 130%;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #2f993d 0%, #27823a 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.big-buttons a:hover {
    background: linear-gradient(135deg, #3db84d 0%, #2f993d 100%);
    box-shadow: 0 6px 20px rgba(47, 153, 61, 0.4);
    transform: translateY(-2px);
}
.big-buttons a i {
    font-size: 90%;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 15px;
    border-radius: 4px;
    font-size: 130%;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 15px;
    border-radius: 4px;
    font-size: 130%;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}
.search-bar{
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}
.search-bar input[type="text"]{
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}
.search-bar button{
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #1e2a33;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    outline: none;
}
.search-bar button:hover{
    background: #293945;
}

.fake-image {
    width: 100%;
    height: 105px;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 2px #000000b3;
    transition-duration: .3s;
}
.fake-image:hover {
box-shadow: 0px 0px 5px 5px #000000b3;
}
.genredisplay {
position: relative;
max-height: 105px;
}
.genredisplay a .bandeau{
height: 30px;
bottom: 73px;
}
.genredisplay a .bandeau h3{
font-size: 145%;
}

.privacyandtos{
    padding: 30px;
    box-shadow: 0 0 10px #000000;
    background-color: #1e2a33;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-size: 100%;
    text-align: left;
    overflow: hidden;
    border-radius: 5px;
    margin: 20px auto;
    width: calc(100% - 50px);
}
.privacyandtos h3{
    font-size: 120%;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #fff;
}
.privacyandtos p{
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #fff;
}

.privacyandtos p a{
    color: #fff;
}
.privacyandtos strong{
    font-weight: 700;
    color: #fff;
    font-size: 105%;
}

.genres-anime a.genrelink {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    padding: 5px 10px;
}
.genres-anime a.genrelink:hover {
    background-color: #2f3e4a;
}
.form-control {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 15px;
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 7px;
    font-size: 30px;
    font-family: inherit;
    outline: none;
    box-shadow: 0 0 5px 2px #000000b3;
    transition: all 0.3s;
    max-width: 400px;
    color: #fff;
    background-color: #1e2a33;
}


/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (1024px and below) */
@media screen and (max-width: 1024px) {
    .meteorheader-anime {
        padding: 0 20px;
        gap: 20px;
    }
    
    .header-search {
        max-width: 350px;
    }
    
    .main-nav a {
        padding: 8px 12px;
        font-size: 100%;
    }
    
    .informations-anime {
        width: calc(70% - 40px);
    }
    
    meteor-box-player {
        width: calc(100% - 100px);
        padding: 0 50px;
    }
    
    .auth-container {
        max-width: 90%;
        padding: 30px;
    }
    
    .dashboard-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
    /* Header */
    .meteorheader-anime {
        height: auto;
        min-height: 70px;
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-left {
        order: 1;
        gap: 15px;
        flex-shrink: 0;
    }
    
    .meteorheader-anime .logo {
        width: 120px;
        height: 50px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1e2a33 0%, #263238 100%);
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        width: 100%;
        padding: 15px 20px;
        font-size: 115%;
        border-radius: 10px;
        margin-bottom: 5px;
    }
    
    .main-nav a:hover,
    .main-nav a:active {
        background: rgba(47, 153, 61, 0.2);
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: #fff;
        cursor: pointer;
        font-size: 140%;
        background: #2f3e4a;
        border-radius: 10px;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .menu-toggle:hover,
    .menu-toggle:active {
        background: #3a4d5c;
    }
    
    .header-search {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .search-wrapper input {
        height: 48px;
        font-size: 110%;
    }
    
    .header-right {
        order: 2;
        margin-left: auto;
    }
    
    .user-menu-toggle .username {
        display: none;
    }
    
    .user-menu-toggle {
        padding: 10px 14px;
    }
    
    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 20px 20px 0 0;
        min-width: 100%;
        padding: 20px;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .user-dropdown a {
        padding: 16px 20px;
        font-size: 115%;
    }
    
    .auth-buttons {
        gap: 8px;
    }
    
    .btn-login, .btn-register {
        padding: 10px 16px;
        font-size: 100%;
    }
    
    .btn-login i, .btn-register i {
        display: none;
    }

    .meteorAnimeDesc{
        top: 160px;
    }
    
    /* Screenview */
    .screenview {
        top: 150px;
        min-height: calc(100vh - 120px);
    }
    
    /* Video Player */
    meteor-box-player {
        width: 100%;
        padding: 0;
    }

    .search-wrapper {
        position: relative;
        width: calc(100% - 60px);
    }

    .video-player-loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 5px;
    }
    
    /* Anime Info */
    .informations-anime {
        width: calc(100% - 30px);
        padding: 15px;
    }
    
    .informations-anime h2 {
        font-size: 160%;
    }

    .box-intro-left {
        width: 100%;
    }

    .box-intro-left .image-anime {
        width: 100%;
        height: 250px;
    }
    
    .align-everything {
        flex-direction: column;
        gap: 15px;
    }
    
    .g8d8s {
        width: calc(100% - 30px);
    }
    
    /* Title Section */
    .title-section {
        padding: 0 15px;
        margin: 20px auto 15px;
    }
    
    .title-section h2 {
        font-size: 120%;
        letter-spacing: 1px;
    }
    
    .title-section h2::after {
        display: none;
    }

    /* Genres Grid */
    .genres-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .genre-card {
        height: 100px;
    }
    
    .genre-name {
        font-size: 105%;
    }
    
    /* Share Buttons */
    .share-container {
        padding: 15px;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        padding: 12px 16px;
        font-size: 105%;
        flex: 1;
        min-width: calc(50% - 4px);
        justify-content: center;
    }
    
    /* Action Buttons */
    .anime-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .episode-actions {
        flex-direction: column;
    }
    
    .episode-actions .action-btn {
        width: calc(100% - 40px);
    }
    
    /* Card actions always visible on touch devices */
    .card-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .card-action-btn {
        width: 34px;
        height: 34px;
        font-size: 100%;
    }
    
    /* Auth Pages */
    .auth-container {
        max-width: 100%;
        margin: 20px 15px;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .auth-title {
        font-size: 170%;
    }
    
    .form-group input {
        padding: 16px;
        font-size: 115%;
    }
    
    .auth-button {
        padding: 18px;
        font-size: 120%;
    }
    
    /* Dashboard */
    .dashboard-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .dashboard-nav a {
        padding: 14px 16px;
        font-size: 100%;
    }
    
    .dashboard-welcome {
        font-size: 150%;
    }
    
    /* Footer */
    footer {
        height: auto;
        min-height: 120px;
        padding-bottom: 20px;
    }
    
    #meteorLogo {
        width: 80px;
        height: 80px;
        margin-left: 15px;
        margin-top: 20px;
    }
    
    .meteorFooter {
        margin-left: 110px;
        margin-top: 25px;
        font-size: 95%;
        max-width: calc(100% - 130px);
        height: auto;
    }
    
    /* Pagination */
    .meteor-pagination a, .selectedpage, .genrelink {
        padding: 10px 12px;
        font-size: 105%;
        margin: 0 3px;
    }
    
    /* Genre Links */
    .genres-anime a.genrelink {
        padding: 8px 14px;
        margin-bottom: 8px;
    }
    
    /* Misc */
    .big-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .big-buttons a {
        font-size: 110%;
        padding: 14px 20px;
        width: 100%;
        justify-content: center;
    }
    
    .big-buttons a.notonmobile {
        display: inline-flex !important;
    }
    
    .boxContent {
        padding: 20px;
    }
    
    .privacyandtos {
        padding: 20px;
        width: calc(100% - 30px);
    }
    
    .submitlink-view {
        margin: 15px;
        padding: 20px;
    }
    
    /* Toast */
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
    
    /* Back to Top */
    #backToTop {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
    
    .notonmobile {
        display: none;
    }
    
    /* Form Pages */
    .form-page-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .form-box {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 140%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
}

/* Mobile Phones (600px and below) */
@media screen and (max-width: 600px) {
    /* Grid */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
        padding: 10px;
    }
    
    .grid-item-content a img {
        height: 200px;
    }
    
    .grid-item-content a .bandeau {
        padding: 30px 10px 10px 10px;
    }
    
    .grid-item-content a .bandeau h3 {
        font-size: 95%;
    }
    
    .grid-item-content .score-banner,
    .grid-item-content .date-banner,
    .grid-item-content .episode-banner {
        font-size: 75%;
        padding: 4px 8px;
    }
    
    /* Header */
    .meteorheader-anime {
        padding: 10px 12px;
    }
    
    .meteorheader-anime .logo {
        width: 100px;
        height: 45px;
    }
    
    .search-wrapper input {
        height: 44px;
        padding-left: 40px;
        font-size: 100%;
    }

    .search-icon {
        left: 14px;
        font-size: 100%;
    }
    
    /* Share Buttons - Stack on mobile */
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        min-width: 100%;
    }
    
    /* Dashboard */
    .dashboard-nav {
        grid-template-columns: 1fr 1fr;
    }
    
    .dashboard-nav a {
        padding: 12px;
        font-size: 95%;
    }
    
    .dashboard-nav a i {
        font-size: 110%;
    }
    
    /* Footer */
    footer {
        text-align: center;
        padding: 20px 15px;
    }
    
    #meteorLogo {
        position: relative;
        margin: 0 auto 15px auto;
        display: block;
        width: 70px;
        height: 70px;
    }
    
    .meteorFooter {
        position: relative;
        margin: 0;
        max-width: 100%;
        text-align: center;
        font-size: 90%;
    }
    
    /* Anime Info */
    .informations-anime h2 {
        font-size: 140%;
    }
    
    .anime-title h2 {
        font-size: 140%;
        padding: 15px;
    }
    
    /* Title Section */
    .title-section {
        padding: 0 10px;
        margin: 15px auto 12px;
    }
    
    .title-section h2 {
        font-size: 110%;
        letter-spacing: 0.8px;
    }
    
    /* Genres Grid Mobile */
    .genres-grid-container {
        padding: 0 10px;
    }
    
    .genres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .genre-card {
        height: 85px;
        border-radius: 12px;
    }
    
    .genre-name {
        font-size: 95%;
    }
    
    /* Big Buttons */
    .big-buttons a {
        font-size: 100%;
        padding: 12px 16px;
    }
    
    /* Alert boxes */
    .alert-danger, .alert-success {
        width: calc(100% - 30px);
        font-size: 110%;
        padding: 12px;
    }
}

/* Small Mobile Phones (400px and below) */
@media screen and (max-width: 400px) {
    /* Grid - 2 columns fixed */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .grid-item-content a img {
        height: 160px;
    }

    .grid-item-content a .bandeau {
        padding: 25px 8px 8px 8px;
    }
    
    .grid-item-content a .bandeau h3 {
        font-size: 85%;
    }
    
    .grid-item-content .score-banner,
    .grid-item-content .episode-banner {
        font-size: 70%;
        padding: 3px 6px;
    }
    
    .grid-item-content .date-banner {
        display: none;
    }
    
    /* Header */
    .meteorheader-anime {
        padding: 8px 10px;
    }
    
    .meteorheader-anime .logo {
        width: 90px;
        height: 40px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 130%;
    }
    
    .header-search {
        margin-top: 8px;
    }
    
    .search-wrapper input {
        height: 42px;
    }
    
    /* Auth */
    .btn-login, .btn-register {
        padding: 8px 12px;
        font-size: 95%;
    }
    
    .auth-container {
        margin: 15px 10px;
        padding: 20px 15px;
    }
    
    .auth-title {
        font-size: 150%;
    }
    
    .form-group input {
        padding: 14px;
        font-size: 110%;
    }
    
    /* Dashboard */
    .dashboard-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .dashboard-welcome {
        font-size: 130%;
    }
    
    /* Title Section */
    .title-section h2 {
        font-size: 100%;
        letter-spacing: 0.5px;
    }
    
    .title-section h2 i {
        font-size: 80%;
    }

    /* Genres Grid Small Mobile */
    .genres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .genre-card {
        height: 75px;
    }
    
    .genre-name {
        font-size: 90%;
    }
    
    /* Anime Info */
    .informations-anime {
        width: calc(100% - 20px);
        padding: 10px;
    }
    
    .informations-anime h2 {
        font-size: 130%;
    }
    
    /* Toast */
    #backToTop {
        bottom: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .toast {
        padding: 12px 16px;
        font-size: 100%;
    }
    
    .toast-icon {
        font-size: 20px;
    }
    
    /* Pagination */
    .meteor-pagination a, .selectedpage {
        padding: 8px 10px;
        font-size: 100%;
        margin: 0 2px;
        width: calc(100% - 21px);
    }
    
    /* Footer */
    .meteorFooter {
        font-size: 85%;
    }
    
    #meteorLogo {
        width: 60px;
        height: 60px;
    }
}

/* ===== SEARCH PAGE STYLES ===== */

.search-filters-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.search-bar-wrapper {
    position: relative;
}

.search-bar-main {
    display: flex;
    background: #1e2a33;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-bar-main input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 110%;
    outline: none;
}

.search-bar-main input::placeholder {
    color: #8a9aa9;
}

.search-bar-main button {
    padding: 18px 28px;
    border: none;
    background: linear-gradient(135deg, #2f993d, #27823a);
    color: #fff;
    cursor: pointer;
    font-size: 120%;
    transition: all 0.3s ease;
}

.search-bar-main button:hover {
    background: linear-gradient(135deg, #3ab54a, #2f993d);
}

/* Autocomplete */
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e2a33;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 100;
        display: none;
    max-height: 400px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.autocomplete-item:hover {
    background: rgba(47, 153, 61, 0.15);
}

.autocomplete-item img {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 14px;
}

.autocomplete-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.autocomplete-title {
    font-weight: 500;
    font-size: 100%;
}

.autocomplete-score {
    font-size: 85%;
    color: #f1c40f;
}

.autocomplete-empty {
    padding: 20px;
    text-align: center;
    color: #8a9aa9;
}

/* Filters Toggle */
.filters-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 95%;
    transition: all 0.3s ease;
}

.filters-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(47, 153, 61, 0.5);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #2f993d;
    border-radius: 10px;
    font-size: 80%;
    font-weight: 600;
}

/* Advanced Filters Panel */
.advanced-filters {
    display: none;
    margin-top: 15px;
    padding: 25px;
    background: #1e2a33;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.advanced-filters.show {
        display: block;
    animation: slideDown 0.3s ease;
}

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

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 90%;
    color: #8a9aa9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group label i {
    color: #2f993d;
}

.filter-group select {
    padding: 12px 16px;
    background: #151f28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 95%;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a9aa9' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: #2f993d;
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-filter-apply,
.btn-filter-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 95%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-filter-apply {
    background: linear-gradient(135deg, #2f993d, #27823a);
    color: #fff;
}

.btn-filter-apply:hover {
    background: linear-gradient(135deg, #3ab54a, #2f993d);
    transform: translateY(-2px);
}

.btn-filter-reset {
    background: rgba(255, 255, 255, 0.05);
    color: #8a9aa9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-filter-reset:hover {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(47, 153, 61, 0.15);
    border: 1px solid rgba(47, 153, 61, 0.3);
    border-radius: 20px;
    color: #2f993d;
    font-size: 90%;
}

.filter-tag i {
    font-size: 85%;
}

.remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 120%;
    line-height: 1;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    background: #e74c3c;
}

/* Search Results Header */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.results-count {
    color: #fff;
    font-size: 100%;
}

.results-count strong {
    color: #2f993d;
    font-size: 120%;
}

.results-page {
    color: #8a9aa9;
    font-size: 90%;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 400%;
    color: #2c3e50;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #fff;
    font-size: 150%;
    margin-bottom: 10px;
}

.no-results p {
    color: #8a9aa9;
    margin-bottom: 25px;
}

/* Genre Quick Links */
.genre-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.genre-link {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 90%;
    transition: all 0.3s ease;
}

.genre-link:hover {
    background: rgba(47, 153, 61, 0.2);
    border-color: rgba(47, 153, 61, 0.5);
    color: #2f993d;
    transform: translateY(-2px);
}

/* Search Page Responsive */
@media (max-width: 768px) {
    .search-bar-main input {
        padding: 14px 16px;
        font-size: 100%;
    }
    
    .search-bar-main button {
        padding: 14px 20px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn-filter-apply,
    .btn-filter-reset {
        width: 100%;
        justify-content: center;
    }
    
    .search-results-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .autocomplete-item img {
        width: 40px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .advanced-filters {
        padding: 15px;
    }
    
    .active-filters {
        flex-direction: column;
    }
    
    .filter-tag {
        justify-content: space-between;
    }
    
    .genre-quick-links {
        gap: 8px;
    }
    
    .genre-link {
        padding: 8px 14px;
        font-size: 85%;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .main-nav a,
    .user-dropdown a,
    .dashboard-nav a,
    .share-btn,
    .auth-button,
    .btn-login,
    .btn-register {
        min-height: 48px;
    }
    
    /* Remove hover effects that don't work on touch */
    .grid-item:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .grid-item:active {
        transform: scale(0.98);
    }
    
    .btn-register:hover {
        transform: none;
    }
    
    /* Better tap feedback */
    .grid-item,
    .share-btn,
    .auth-button,
    .menu-toggle,
    .user-menu-toggle {
        -webkit-tap-highlight-color: rgba(47, 153, 61, 0.2);
    }
}

/* Cloudflare Turnstile CAPTCHA styling */
.cf-turnstile {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.form-group .cf-turnstile {
    margin: 15px 0;
}

/* Ensure Turnstile widget is properly sized on mobile */
@media screen and (max-width: 600px) {
    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: left center;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    margin-top: -40px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #2f993d;
}

.breadcrumb-item.active span {
    color: #fff;
    font-weight: 500;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    margin: 0 4px;
}

.breadcrumb-separator i {
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        padding: 10px 15px;
        margin-top: 0;
    }
    
    .breadcrumb-list {
        font-size: 13px;
    }
    
    .breadcrumb-separator {
        margin: 0 2px;
    }
}

/* Carousel Component */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0px 0;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: 20px;
    padding: 5px 0;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-container .grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    min-width: 100%;
}

.carousel-container .grid-item {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 200px;
}

.carousel-nav {
        position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
        color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
}

.carousel-wrapper:hover .carousel-nav {
    opacity: 1;
    pointer-events: all;
}

.carousel-nav:hover {
    background: rgba(47, 153, 61, 0.9);
    border-color: #2f993d;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-nav i {
    font-size: 18px;
}

/* Mobile carousel - show scrollbar on touch devices */
@media screen and (max-width: 768px) {
    .carousel-container {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        -webkit-overflow-scrolling: touch;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: block;
        height: 6px;
    }
    
    .carousel-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
    
    .carousel-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .carousel-container::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
    .carousel-nav {
        display: none; /* Hide nav buttons on mobile, use swipe instead */
    }
    
    .carousel-container .grid-item {
        min-width: 160px;
        max-width: 160px;
    }
}

@media screen and (max-width: 600px) {
    .carousel-container .grid-item {
        min-width: 140px;
        max-width: 140px;
    }
}

/* Admin Panel Styles */
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.admin-nav a:hover {
    background: rgba(47, 153, 61, 0.2);
    color: #2f993d;
}

.admin-nav a.active {
    background: linear-gradient(135deg, #2f993d 0%, #1e6b2a 100%);
    color: #fff;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #f5576c;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.admin-badge-large {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(245, 87, 108, 0.2);
    color: #f5576c;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(245, 87, 108, 0.3);
}

/* Admin Dashboard */
.admin-dashboard {
    margin-top: 20px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.admin-stat-content h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.admin-stat-content p {
    margin: 5px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.admin-dashboard-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard-section h3 {
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
}

/* Admin Section */
.admin-section {
    margin-top: 20px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-section-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

/* Admin Buttons */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2f993d 0%, #1e6b2a 100%);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 153, 61, 0.4);
}

.admin-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-btn-primary:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.admin-btn-success {
    background: linear-gradient(135deg, #2f993d 0%, #1e6b2a 100%);
}

.admin-btn-danger {
    background: linear-gradient(135deg, #f5576c 0%, #d43f52 100%);
}

.admin-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.admin-btn-small:hover {
    background: rgba(47, 153, 61, 0.3);
    color: #2f993d;
    transform: scale(1.1);
}

.admin-btn-small.admin-btn-danger:hover {
    background: rgba(245, 87, 108, 0.3);
    color: #f5576c;
}

.admin-btn-small.admin-btn-success:hover {
    background: rgba(47, 153, 61, 0.5);
    color: #fff;
}

/* Admin Table */
.admin-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
}

.admin-table thead {
    background: rgba(0, 0, 0, 0.4);
}

.admin-table th {
    padding: 12px 15px;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #2f993d;
}

.admin-link {
    color: #2f993d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.admin-link:hover {
    color: #1e6b2a;
}

/* Admin Alerts */
.admin-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-alert-error {
    background: rgba(245, 87, 108, 0.2);
    border: 1px solid rgba(245, 87, 108, 0.3);
    color: #f5576c;
}

.admin-alert-success {
    background: rgba(47, 153, 61, 0.2);
    border: 1px solid rgba(47, 153, 61, 0.3);
    color: #2f993d;
}

/* Admin Form */
.admin-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    outline: none;
    border-color: #2f993d;
    box-shadow: 0 0 0 3px rgba(47, 153, 61, 0.1);
}

.admin-form-group small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.admin-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
}

.admin-pagination span {
    color: rgba(255, 255, 255, 0.7);
}

/* Admin Empty State */
.admin-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* Admin Anime Selector */
.admin-anime-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-anime-card {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-anime-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: #2f993d;
}

.admin-anime-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.admin-anime-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-anime-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 48px;
}

.admin-anime-card-info {
    padding: 15px;
}

.admin-anime-card-info h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.admin-anime-card-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Admin Episodes */
.admin-episodes-list {
    margin-top: 20px;
}

.admin-episode-group {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-episode-group h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 18px;
}

.admin-episode-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-episode-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-episode-link-actions {
    display: flex;
    gap: 8px;
}

/* Admin Bulk Actions */
.admin-bulk-actions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Submission Details */
.submission-row {
    cursor: pointer;
    transition: background 0.2s;
}

.submission-details {
    border-top: 2px solid rgba(47, 153, 61, 0.3);
}

.submission-details iframe {
    width: 100%;
    min-height: 400px;
}

/* Responsive Admin */
@media screen and (max-width: 1024px) {
    .submission-details > td > div > div {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
    }
    
    .admin-nav a {
        width: 100%;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-anime-selector {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .admin-table-container {
        overflow-x: scroll;
    }
    
    .admin-episode-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .submission-details iframe {
        min-height: 300px;
    }
}