:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00ff88;
    /* Neon Green */
    --accent-glow: 0 0 20px rgba(0, 255, 136, 0.5);
    --button-bg: #111;
    --button-gradient: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
}

/* Header */
header {
    position: absolute;
    top: 20px;
    left: 20px;
}

.menu-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.main-btn {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid #333;
    background: var(--button-gradient);
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
}

.main-btn:active {
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.main-btn.copied {
    border-color: var(--accent-color);
    box-shadow: var(--accent-glow);
    color: var(--accent-color);
}

.btn-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.copy-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.status-msg {
    margin-top: 30px;
    height: 20px;
    font-size: 0.9rem;
    color: #888;
    opacity: 0;
    transition: opacity 0.3s;
}

.status-msg.visible {
    opacity: 1;
}

/* Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
}

/* Footer & SEO Text */
footer {
    width: 100%;
    padding: 40px 20px;
    background: #0a0a0a;
    border-top: 1px solid #111;
}

.seo-content {
    max-width: 600px;
    margin: 0 auto;
    color: #444;
    font-size: 0.8rem;
    line-height: 1.6;
}

.seo-title {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 5px 10px;
    border: 1px solid #222;
    border-radius: 20px;
    transition: all 0.2s;
}

.footer-link:hover {
    border-color: #444;
    color: #888;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 350px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.close-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: #333;
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .main-btn {
        width: 200px;
        height: 200px;
    }
}

/* --- Blog Styles --- */
.blog-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    background: #050505;
}

.blog-header .logo {
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

.blog-header nav a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-header nav a:hover,
.blog-header nav a.active {
    color: white;
}

.blog-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    background: #111;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s;
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.article-card .tag {
    font-size: 0.7rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.article-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Blog Post Styles */
.blog-post {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.blog-post article h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-post .meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.blog-post article h2 {
    color: white;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.blog-post article p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.blog-post article ul,
.blog-post article ol {
    color: #bbb;
    margin-bottom: 20px;
    padding-left: 25px;
    line-height: 1.7;
}

.blog-post article li {
    margin-bottom: 10px;
}

.blog-post article a {
    color: var(--accent-color);
    text-decoration: none;
}

.cta-box {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.cta-box p {
    margin-bottom: 15px;
    color: white;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}