/* Common Styles for All Pages */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #020408 0%, #0D1116 100%);
    color: #ffffff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 60px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1F6FEB;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #7a2dfa;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #1F6FEB 0%, #7a2dfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header .date,
.header p {
    color: #a8b3c1;
    font-size: 0.9rem;
}

.header p {
    font-size: 1rem;
}

/* Content Box */
.content {
    background: #0D1116;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(31, 111, 235, 0.2);
}

.content h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    color: #1F6FEB;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.content p {
    color: #a8b3c1;
    margin-bottom: 15px;
    line-height: 1.7;
}

.content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content li {
    color: #a8b3c1;
    margin-bottom: 8px;
}

.content strong {
    color: #ffffff;
}

.content a {
    color: #1F6FEB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #7a2dfa;
    text-decoration: underline;
}

.content code {
    background: rgba(31, 111, 235, 0.1);
    color: #1F6FEB;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Footer Styles */
.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(31, 111, 235, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: #a8b3c1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1F6FEB;
}

.footer-divider {
    width: 1px;
    height: 16px;
    background: rgba(168, 179, 193, 0.3);
}

.footer-text {
    color: #6e7681;
    font-size: 0.8rem;
    margin: 0;
}

.footer-name-link {
    color: #a8b3c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-name-link:hover {
    color: #1F6FEB;
}

/* Buttons */
.button,
.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #1F6FEB;
    border: 2px solid #1F6FEB;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover,
.contact-button:hover {
    background-color: #7a2dfa;
    border-color: #7a2dfa;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122, 45, 250, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 25px 50px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .content {
        padding: 30px 25px;
    }

    .content h2 {
        font-size: 1.3rem;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.75rem;
    }
}
