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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    min-height: 100vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    /* margin-bottom: 30px; */
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes twist {
    0%, 100% {
        transform: rotateZ(0deg);
    }
    15% {
        transform: rotateZ(15deg);
    }
    20% {
        transform: rotateZ(-15deg);
    }
    25% {
        transform: rotateZ(15deg);
    }
    30% {
        transform: rotateZ(-15deg);
    }
    35% {
        transform: rotateZ(0deg);
    }
    75% {
        transform: rotateZ(0deg);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out 0.4s both;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Poster section */
.poster-section {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
}

.poster-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transition: transform 0.3s ease;
}

.poster-image:hover {
    transform: scale(1.05);
}

.info-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e0e7ff 100%);
    border-left: 5px solid #667eea;
    padding: 10px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* .info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: shimmer 2s infinite;
} */

.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

a:hover {
    color: #764ba2;
}

a:hover::after {
    width: 100%;
}

.github-logo {
    width: 60px;
    height: 60px;
    color: #667eea;
    transition: color 0.3s ease;
    animation: twist 2s ease-in-out infinite;
}

.github-link:hover .github-logo {
    color: #764ba2;
}

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

.link-card {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transition: top 0.3s ease;
    z-index: -1;
}

.link-card:hover::before {
    top: 0;
}

.link-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.link-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.link-card:hover h3 {
    color: #667eea;
}

code {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
    margin: 10px 0;
    font-family: 'Monaco', 'Courier New', monospace;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
}

.code-block {
    position: relative;
    margin: 10px 0;
}

.copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.code-block:hover .copy-btn {
    opacity: 1;
    transform: scale(1);
}

.copy-btn:hover {
    background: #764ba2;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #4caf50;
}

.link-card:hover code {
    background: #f0f0f0;
    color: #333;
    border-color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .poster-image {
        max-height: 100%;
    }

    .link-card {
        padding: 15px;
    }
}

