:root {
        --youtube-red: #FF0000;
        --accent-red: #C10404;
        --primary-bg: #0f0f23;
        --secondary-bg: #1a1a2e;
        --card-bg: #16213e;
        --accent-bg: #1e2749;
        --text-primary: #ffffff;
        --text-secondary: #b3b3b3;
        --text-muted: #808080;
        --border-color: #2a2a3e;
        --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-glow: 0 0 20px rgba(255, 0, 0, 0.1);
}

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

body{
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

header{
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 120px;
  margin: 0;
  gap: 18px;
  justify-content: center;
  align-items: center;
  background: rgba(22, 33, 62, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: solid 1px var(--border-color);
  z-index: 100;
}

.logo{
  font-size: 24px;
  font-weight: 700;
  font-family: Montserrat;
  color: var(--youtube-red);
}

.logo i{
  scale: 1.3;
  color: var(--youtube-red);
}

.search-fetch{
  display: flex;
  justify-content: center;
  gap: 0px;
}

.enter{
  width: 16rem;
  height: 50px;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 16px;
  background: var(--accent-bg);
  border-radius: 10px 0 0 10px;
  border: none;
  outline: none;
  box-shadow: inset 0.5px 0.5px 2px var(--text-muted);
  color: var(--text-primary);
  padding-left: 8px;
}

.enter:focus, select:focus, textarea:focus{
  outline : solid 2px var(--shadow-glow);
  border: solid 2px var(--youtube-red);
}

.enter::placeholder{
  padding-left: 8px;
}

.fetch-btn{
  padding: 5px;
  background: linear-gradient(135deg, var(--youtube-red), #cc0000);
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  opacity: 0.9;
  font-family: Montserrat;
  font-weight: 750;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 50px;
}

main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 145px;
  max-width: 1200px;
}

.engine{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 540px;
    height: auto;
    width: 350px;
    border: solid 1.5px var(--border-color);
    border-radius: 18px;
    background: var(--card-bg);
    border-top: 3px solid var(--youtube-red);
    gap: 19px;
    box-shadow: var(--shadow-medium);
}

.videoContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-shadow: 0 0 50px var(--youtube-red);
    width: 100%;
    margin-top: 10px;
    animation: breathe 3s ease 5;
}

@keyframes breathe{
    0%{
        transform: translateY(2px);
    }
    50%{
        transform: translateY(-2px);
    }
    100%{
        transform: translateY(2px);
    }
}

.appears{
    background: linear-gradient(
    135deg, #FF0000,#00F515,#2B3CFF 
);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-box{
    display: flex;
    flex-direction: column;
    width: 86%;
    height: 84%;
    gap: 24px;
}

.title-description{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    color: var(--text-primary);
    height: auto;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.video-title{
    font-size: 23px;
    font-weight: 700;
}

.video-description{
    font-size: 16px;
}

.analyze{
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.analyze .views, .likes{
    display: flex;
    height: 45px;
    border: solid var(--border-color);
    background: var(--accent-bg);
    border-radius: 11px;
    width: 100%;
    padding: 0 0 0 9px;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
}

.analyze .type{
    display: flex;
    height: 45px;
    border: solid var(--border-color);
    background: var(--youtube-red);
    border-radius: 11px;
    width: 100%;
    padding: 0 0 0 9px;
    align-items: center;
    gap: 5px;
    color: var(--text-primary);
}


.download-space{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: solid var(--border-color);
    width: 100%;
    background: var(--accent-bg);
    height: 180px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    gap: 15px;
}

.download-btn{
    background: linear-gradient(135deg, var(--youtube-red), #cc0000);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    height: 50px;
    width: 210px;
    font-size: 15px;
    font-weight: 800;
    margin: 15px 0 0 25px;
}

.download-btn:hover{
        transform: scale(1.04);
        transition: all 0.3s ease;
}

.fa-circle-info{
    color: var(--youtube-red); 
}

.tit{
    font-size: 17px;
    color: var(--text-secondary);
    font-family: 'Montserrat' , sans-serif;
    font-weight: 600;
}

.moreInfo{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-self: center;
    margin: 0 20px 0 0;
    padding-left: 9px;
}


.load-box{
    position: relative;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin{
    0%{
        transform: rotateZ(360deg);
    }
}

.dot{
    position: absolute;
    height: 5px;
    width: 5px;
    border-radius: 50px;
    background-color: var(--accent-red);
    top: 41%;
    left: 41%;
    transform: translate(-50%, -50%);
}


.load-box .dot:nth-child(1){
    transform: rotate(0deg) translate(10px) rotate(-0deg);
}


.load-box .dot:nth-child(2){
    transform: rotate(45deg) translate(10px) rotate(-45deg);
}

.load-box .dot:nth-child(3){
    transform: rotate(90deg) translate(10px) rotate(-90deg);
}

.load-box .dot:nth-child(4){
    transform: rotate(135deg) translate(10px) rotate(-135deg);
}

.load-box .dot:nth-child(5){
    transform: rotate(180deg) translate(10px) rotate(-180deg);
}

.load-box .dot:nth-child(6){
    transform: rotate(225deg) translate(10px) rotate(-225deg);
}

.load-box .dot:nth-child(7) {
    transform: rotate(270deg) translate(10px) rotate(-270deg);
}

.load-box .dot:nth-child(8) {
    transform: rotate(315deg) translate(10px) rotate(-315deg);
}

.load-box .dot:nth-child(9) {
    transform: rotate(360deg) translate(10px) rotate(-360deg);
}


.footer {
        background: var(--secondary-bg);
        padding: 3rem 2rem 2rem;
        text-align: center;
        border-top: 1px solid var(--border-color);
}

.Jesus-section {
        margin-bottom: 2rem;
}

.Jesus-text {
        font-size: 1.2rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
}

.Jesus {
        color: var(--youtube-red);
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
}


.Jesus:hover {
        color: var(--youtube-red);
        text-shadow: 0 0 10px var(--accent-red);
}

.social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
        
.social-link:hover {
    background: var(--youtube-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-glow);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: Montserrat;
}

/* Responsive design */
@media (min-width: 760px) {
    .engine {
        flex-direction: row;
        align-items: flex-start;
        width: 92%;
    }
    
    .download-box{
        align-self: center;
        width: 80%;
        padding-right: 20px;
    }
    
    .download-space{
       display: flex;
       flex-direction: column;
       align-items: flex-start;
       padding: 25px 0 0 15px;
       height: 10rem;
    }
    
    header{
        flex-direction: row;
        gap: 30%;
    }
    
    .enter{
        width: 30rem;
    }

    .video-title {
        font-size: 1.75rem;
    }

    .search-fetch {
        max-width: 500px;
    }
    
    .videoContainer{
        align-self: center;
        width: 50;
    }
    
}


