* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(255, 0, 204, 0.05) 0%, transparent 20%);
}

nav {
    width: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 95%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
}

.logo i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    backdrop-filter: none;
    align-items: center;
    gap: 15px;
    left: 0;
    top: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    padding: 0;
    width: auto;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 12px 20px;
    text-align: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: #00ffff;
    background-color: rgba(0, 255, 255, 0.1);
}

.nav-links a.active {
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: rgba(0, 255, 255, 0.15);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    border-radius: 3px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    * {
        cursor: default !important;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-links {
        overflow: hidden;
        position: absolute;
        width: 100%;
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        padding: 0;
        transition: all 0.3s ease;
    }
    .nav-links.active {
        max-height: 400px;
        overflow-y: auto;
        padding: 20px 0;
        scrollbar-width: none;
    }
}

.hero {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.hero-tools {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-tools .tool-item {
    display: flex;
    flex-direction: row;
    padding: 12px;
    gap: 8px;
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-tools .tool-item:first-child {
    border-left: none;
}

.hero-tools .tool-item:hover {
    background: rgba(0, 255, 255, 0.1);
}

.fortext {
    position: relative;
    text-align: center;

    font-family: "Arial";
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.fortext::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 0px;
    left: 0;
    bottom: 0;
    background: linear-gradient(109.6deg, rgb(253, 199, 141) 11.3%, rgb(249, 143, 253) 100.2%);
    transition: all 0.5s ease;
}

.fortext:hover::before {
    width: 100%;
}

form {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: auto;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-container input {
    width: 100%;
    padding: 15px 99px 15px 45px;
    border: 2px solid #00ffff;
    background-color: rgba(33, 33, 33, 0.7);
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.input-container input:focus {
    border-color: #ff00cc;
    color: #ff00cc;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
}

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

.icon-url {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffff;
    font-size: 18px;
    pointer-events: none;
}

.button-paste {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    background: #dae4ff;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    color: #0423ee;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.button-paste:hover {
    background: #c1d4ff;
}

.button-paste.btn-clear {
    background: #495acf;
    color: #fff;
}

.input-container .buttons {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    border: none;
    cursor: pointer;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.input-container .buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.input-container .buttons:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 204, 0.4);
}

.input-container .buttons:hover::before {
    left: 100%;
}

.input-container .buttons:active {
    transform: translateY(0);
}

.input-container .buttons:disabled {
    background: #aaa;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    position: absolute;
    user-select: none;
    transform: translateY(-110%);
    width: 100%;
    background: #fff5c4;
    color: #333;
    border-left: 4px solid #f0ad4e;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 1 !important;
}

.fade-out {
    opacity: 0 !important;
}

.psvloader {
    display: none;
    position: absolute;
    z-index: 10;
    overflow: visible !important;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 10px;
    background: #3498db !important;
    border-radius: 5px;
    animation: 1.8s ease-in-out infinite load;
}

.psvloader:before,
.psvloader:after {
    position: absolute;
    display: block;
    content: "";
    animation: 1.8s ease-in-out infinite load;
    height: 10px;
    border-radius: 5px;
}

.psvloader:before {
    top: -10px;
    left: 10px;
    width: 40px;
    background: #ef4836;
}

.psvloader:after {
    bottom: -10px;
    width: 35px;
    background: #f5ab35;
}

@keyframes load {
    0% {
        transform: translateX(50px);
    }
    50% {
        transform: translateX(-40px);
    }
    100% {
        transform: translateX(50px);
    }
}

.gallery {
    display: flex;
    overflow-y: scroll;
    max-height: 210px;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 500px;
    justify-content: center;
    margin-top: 20px;
}

.image-container {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #00ffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.1);
}

.all {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.more-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: cover;
    color: white;
    font-size: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    cursor: pointer;
    display: none;
}

.more-images::before {
    content: attr(data-content);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.more-images:hover::before {
    background-color: rgba(0, 0, 0, 0.7);
}

.hidden-images {
    display: none;
}

.modals,
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.alert-icon {
    font-size: 3rem;
    color: #ff3b5c;
    margin-bottom: 15px;
}
.alert-box {
    background-color: #2c2c2c;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 350px;
    animation: slideIn 0.3s ease-in-out;
    border: 1px solid rgba(255, 0, 204, 0.3);
}

.alert-box h2 {
    margin: 0 0 15px;
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
}

.alert-box p {
    margin: 0 0 25px;
    font-size: 1rem;
    color: #ff3b5c;
    font-weight: bold;
}

.alert-box button {
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.alert-box button:hover {
    box-shadow: 0 5px 15px rgba(255, 0, 204, 0.4);
}

.modal {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
    background: linear-gradient(135deg, #005c97, #363795, #e8175d, #474747);
    background-size: 400% 400%;
    animation: slideIn 0.3s ease-in-out;
}

.closenews {
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.closenews:hover {
    color: red;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    border-radius: 10px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.copy-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 10px;
}

.copy-buttons button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
}

.copy-buttons button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-buttons img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto 5px;
}

.copy-buttons span {
    display: block;
    font-size: 14px;
    color: #fff;
}

.share-button {
    position: fixed;
    bottom: 30px;
    right: 16px;
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    background-color: #218838;
    transform: scale(1.1);
}

.d-none {
    display: none !important;
}
.flex-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
        user-select: none;
    }
    .share-button {
        display: none;
    }
}

.error-message {
    position: absolute;

    user-select: none;

    transform: translateY(-110%);

    width: calc(100% - 0px);

    background: #fff5c4;

    color: #333;

    border-left: 4px solid #f0ad4e;

    padding: 10px;

    max-width: 600px;

    border-radius: 4px;

    font-size: 14px;

    margin-bottom: 10px;

    opacity: 0;

    transition: opacity 0.5s ease;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;

        transform: translateY(0);
    }

    to {
        opacity: 1;

        transform: translateY(10);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;

        transform: translateY(10);
    }

    to {
        opacity: 0;

        transform: translateY(0);
    }
}

.psvloader {
    display: none;

    position: absolute;

    z-index: 10;

    overflow: visible !important;

    transform: translate(-50%, -50%);

    width: 50px;

    height: 10px;

    background: #3498db !important;

    border-radius: 5px;

    animation: 1.8s ease-in-out infinite load;
}

.psvloader:before,
.psvloader:after {
    position: absolute;

    display: block;

    content: "";

    animation: 1.8s ease-in-out infinite load;

    height: 10px;

    border-radius: 5px;
}

.psvloader:before {
    top: -10px;

    left: 10px;

    width: 40px;

    background: #ef4836;
}

.psvloader:after {
    bottom: -10px;

    width: 35px;

    background: #f5ab35;
}

@keyframes load {
    0% {
        transform: translateX(50px);
    }

    50% {
        transform: translateX(-40px);
    }

    100% {
        transform: translateX(50px);
    }
}

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

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ffff, #ff00cc);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .close-btn {
        user-select: none;
    }
    .button {
        user-select: none;
    }
    * {
        cursor: default !important;
    }
}
