/* Table page specific styles */
body {
    background-color: #000000;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



#logo {
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 600;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 80px; /* Reduced from 120px to account for smaller header */
}

.content-section {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(5, 5, 10, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 5, 5, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(5, 10, 5, 0.35) 0%, transparent 50%);
    animation: gradientMove 20s ease-in-out infinite;
    z-index: 1;
}

.section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.section-header h2 {
    color: rgb(102, 255, 196);
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid rgb(102, 255, 196);
    padding-bottom: 15px;
    width: fit-content;
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.video-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(102, 255, 196, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
}

.video-thumbnail .placeholder-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.video-thumbnail blockquote {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
}

.video-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.video-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Repository Grid Styles */
.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.repo-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.repo-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.repo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(102, 255, 196), rgba(102, 255, 196, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.repo-info {
    flex: 1;
    cursor: pointer;
}

.repo-info h3 {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.repo-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.repo-stats {
    display: flex;
    gap: 20px;
}

.repo-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.repo-stats i {
    color: rgb(102, 255, 196);
}

/* Timeline Styles */
.timeline-section {
    background: rgba(0, 0, 0, 0.8);
}

.timeline {
    position: relative;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgb(102, 255, 196) 20%, 
        rgb(102, 255, 196) 80%, 
        transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 15px;
    width: 20px;
    height: 20px;
    background: rgb(102, 255, 196);
    border-radius: 50%;
    border: 4px solid #000;
    box-shadow: 0 0 0 3px rgb(102, 255, 196);
}

.timeline-date {
    color: rgb(102, 255, 196);
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 100px;
    flex-shrink: 0;
    margin-top: 5px;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Scroll Indicator Styles */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 300;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-indicator.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
    color: rgb(102, 255, 196);
    font-size: 1.2rem;
}

.scroll-indicator span {
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes gradientMove {
    0% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    25% {
        transform: translate(-10%, -15%) rotate(90deg);
    }
    50% {
        transform: translate(15%, -5%) rotate(180deg);
    }
    75% {
        transform: translate(-5%, 10%) rotate(270deg);
    }
    100% {
        transform: translate(0%, 0%) rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 10px;
        padding-top: 70px; /* Reduced from 100px */
    }
    
    .content-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .video-grid,
    .repo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 10px;
        width: 15px;
        height: 15px;
    }
    
    .timeline-date {
        min-width: 80px;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    #header table {
        padding: 0 15px;
    }
    
    #navigation a {
        margin-left: 20px;
        font-size: 0.85rem; /* Slightly smaller on mobile */
    }
    
    #logo {
        font-size: 1.2rem; /* Slightly smaller on mobile */
    }
}

@media (max-width: 480px) {
    .video-item,
    .repo-item,
    .timeline-content {
        padding: 20px;
    }
    
    .repo-item {
        flex-direction: column;
        text-align: center;
    }
    
    .repo-icon {
        align-self: center;
    }
    
    .scroll-indicator {
        bottom: 15px;
        padding: 10px 15px;
        font-size: 0.75rem;
    }
    
    #navigation a {
        margin-left: 15px;
        font-size: 0.8rem;
    }
    
    #logo {
        font-size: 1.1rem;
    }
    
    .main-container {
        padding-top: 60px; /* Even smaller on very small screens */
    }
} 
