@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto+Slab:wght@400;700&display=swap');

:root {
    --primary-color: #0077be;
    --secondary-color: #f0f8ff;
    --text-color: #333;
    --section-bg: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 600;
}

.logo svg {
    fill: white;
    margin-right: 10px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    padding: 40px 0;
}

section {
    background-color: var(--section-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: var(--primary-color);
    font-family: 'Roboto Slab', serif;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.code-box {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.code-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.code {
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1em;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.copy-btn svg {
    fill: var(--primary-color);
}

img, .video-container {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer nav {
    margin-bottom: 20px;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin: 0 15px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
}

footer ul li a:hover {
    color: var(--secondary-color);
}

.social-share {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-share a {
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-share a:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    nav, footer nav {
        flex-direction: column;
    }

    nav ul, footer ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li, footer ul li {
        margin: 5px 10px;
    }

    section {
        padding: 20px;
    }
}

.expired-code-box {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.expired-code-box ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.expired-code-box li {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    color: #777;
}