@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
*
{
    font-family: 'Poppins';
}
:root {
    --primary: #ff0000;
    --secondary: #282828;
    --light: #ffffff;
    --dark: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
   
}
/* Notification Styles */
.notification {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
    font-family: 'Poopins';
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
body {
    background: var(--secondary);
    color: var(--light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 2rem;
    background: var(--dark);
    margin-bottom: 2rem;
}

.player-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

#videoContainer {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.notes-section {
    background: rgba(0,0,0,0.8);
    padding: 1.5rem;
    border-radius: 8px;
}

#inputField {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    background: #000;
    border: 1px solid var(--primary);
    color: white;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    margin: 1rem 0;
    background: #000;
    border: 1px solid var(--primary);
    color: white;
    resize: vertical;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    opacity: 0.9;
}

.note-card {
    background: #000000;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary);
}

.timestamp {
    color: #888;
    font-size: 0.8rem;
}

.error-message {
    color: #ff4444;
    padding: 1rem;
    display: none;
}

.mode-switch {
    margin: 1rem 0;
}

.history-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.8);
    border-radius: 8px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.history-item span {
    cursor: pointer;
    flex-grow: 1;
    margin: 0 1rem;
}

.history-item button {
    background: #ff4444;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.copy-button {
    background: #4CAF50;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.offline-mode {
    margin-top: 1rem;
}

/* Default Channels Section */
.default-channels {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.8);
    border-radius: 8px;
}

.default-channels h2 {
    margin-bottom: 1rem;
}

.channel-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.channel-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-item span {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: #c5e5e4;
    border-radius: 100px;
    font-weight: 600;
    color: #1f387e;
    box-shadow: 0 0 0 2px #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    height: 20px;
  }
  
  .animated-button svg {
    position: absolute;
    width: 24px;
    fill: #1f387e;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .arr-1 {
    right: 16px;
  }
  
  .animated-button .arr-2 {
    left: -25%;
  }
  
  .animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
  }
  
  .animated-button:hover .arr-1 {
    right: -25%;
  }
  
  .animated-button:hover .arr-2 {
    left: 16px;
  }
  
  .animated-button:hover .text {
    transform: translateX(12px);
  }
  
  .animated-button:hover svg {
    fill: #1f387e;
  }
  
  .animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px greenyellow;
  }
  
  .animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
  }
   
.button1 {
     display: flex;
     justify-content: center;
    width: fit-content;
    display: flex;
    padding: 1.2em 1rem;
    cursor: pointer;
    gap: 0.4rem;
    font-weight: bold;
    border-radius: 30px;
    text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
    background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;
    background-size: 300%;
    color: #fff;
    border: none;
    background-position: left center;
    box-shadow: 0 30px 10px -20px rgba(0,0,0,.2);
    transition: background .3s ease;
  }
  
  .button1:hover {
    background-size: 320%;
    background-position: right center;
  }
  
  .button1:hover svg {
    fill: #fff;
  }
  
  .button1 svg {
    width: 23px;
    fill: #f09f33;
    transition: .3s ease;
  }
  
.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(0 107 179);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
  }
  
  .icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
  }
  
  .button:hover {
    transform: scale(1.05);
    border-color: #fff9;
  }
  
  .button:hover .icon {
    transform: translate(4px);
  }
  
  .button:hover::before {
    animation: shine 1.5s ease-out infinite;
  }
  
  .button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
  }
  
  @keyframes shine {
    0% {
      left: -100px;
    }
  
    60% {
      left: 100%;
    }
  
    to {
      left: 100%;
    }
  }
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    font-family: 'Poppins';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #ff0000;
    --secondary: #282828;
    --light: #ffffff;
    --dark: #000000;
}

/* Notification Styles */
.notification {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

body {
    background: var(--secondary);
    color: var(--light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 2rem;
    background: var(--dark);
    margin-bottom: 2rem;
}

.player-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

#videoContainer {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.notes-section {
    background: rgba(0,0,0,0.8);
    padding: 1.5rem;
    border-radius: 8px;
}

#inputField {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    background: #000;
    border: 1px solid var(--primary);
    color: white;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    margin: 1rem 0;
    background: #000;
    border: 1px solid var(--primary);
    color: white;
    resize: vertical;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    opacity: 0.9;
}

.note-card {
    background: #000000;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary);
}

.timestamp {
    color: #888;
    font-size: 0.8rem;
}

.error-message {
    color: #ff4444;
    padding: 1rem;
    display: none;
}

.mode-switch {
    margin: 1rem 0;
}

.history-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.8);
    border-radius: 8px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.history-item span {
    cursor: pointer;
    flex-grow: 1;
    margin: 0 1rem;
}

.history-item button {
    background: #ff4444;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.copy-button {
    background: #4CAF50;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.offline-mode {
    margin-top: 1rem;
}

/* Default Channels Section */
.default-channels {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.8);
    border-radius: 8px;
}

.default-channels h2 {
    margin-bottom: 1rem;
}

.channel-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.channel-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-item span {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}


@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .player-section {
        grid-template-columns: 1fr; 
        gap: 1rem;
    }

    .notes-section {
        padding: 1rem;
    }

    .history-section {
        padding: 1rem;
    }

    .history-item {
        flex-direction: column; 
        align-items: flex-start;
    }

    .history-item img {
        width: 100%;
        height: auto;
        margin-bottom: 0.5rem;
    }

    .history-item span {
        margin: 0.5rem 0;
    }

    .history-item button {
        margin: 0.5rem 0;
    }

    .channel-list {
        justify-content: center; 
    }

    .channel-item img {
        width: 80px;
        height: 80px;
    }

    .channel-item span {
        font-size: 0.8rem;
    }

    .button-container {
        flex-direction: column; 
        gap: 0.5rem;
    }

    .button-container button {
        width: 100%; 
    }
}
.btn-conteiner {
    display: flex;
    justify-content: center;
    --color-text: #ffffff;
    --color-background: #ff135a;
    --color-outline: #ff145b80;
    --color-shadow: #00000080;
    height:50px;
  }
  
  .btn-content {
    display: flex;
    align-items: center;
    padding: 5px 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-background);
    transition: 1s;
    border-radius: 100px;
    box-shadow: 0 0 0.2em 0 var(--color-background);
  }
  
  .btn-content:hover, .btn-content:focus {
    transition: 0.5s;
    -webkit-animation: btn-content 1s;
    animation: btn-content 1s;
    outline: 0.1em solid transparent;
    outline-offset: 0.2em;
    box-shadow: 0 0 0.4em 0 var(--color-background);
  }
  
  .btn-content .icon-arrow {
    transition: 0.5s;
    margin-right: 0px;
    transform: scale(0.6);
  }
  
  .btn-content:hover .icon-arrow {
    transition: 0.5s;
    margin-right: 25px;
  }
  
  .icon-arrow {
    width: 20px;
    margin-left: 15px;
    position: relative;
    top: 6%;
  }
    
  /* SVG */
  #arrow-icon-one {
    transition: 0.4s;
    transform: translateX(-60%);
  }
  
  #arrow-icon-two {
    transition: 0.5s;
    transform: translateX(-30%);
  }
  
  .btn-content:hover #arrow-icon-three {
    animation: color_anim 1s infinite 0.2s;
  }
  
  .btn-content:hover #arrow-icon-one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
  }
  
  .btn-content:hover #arrow-icon-two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
  }
  
  /* SVG animations */
  @keyframes color_anim {
    0% {
      fill: white;
    }
  
    50% {
      fill: var(--color-background);
    }
  
    100% {
      fill: white;
    }
  }
  
  /* Button animations */
  @-webkit-keyframes btn-content {
    0% {
      outline: 0.2em solid var(--color-background);
      outline-offset: 0;
    }
  }
  
  @keyframes btn-content {
    0% {
      outline: 0.2em solid var(--color-background);
      outline-offset: 0;
    }
  }
  /* Navbar Styles */
.navbar {
    background: var(--dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    color: var(--light);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    margin-left: 2rem;
}

.navbar-link {
    color: var(--light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: var(--primary);
}

/* Hamburger Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--dark);
        position: absolute;
        top: 60px;
        left: 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-item {
        margin: 1rem 0;
        text-align: center;
    }

    .navbar-toggle {
        display: flex;
    }
}
