/* Main styles for Pandacoin website */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #333;
}

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

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f0c419;
}

/* Header and Navigation */
header {
    background-color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    padding: 10px;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

.nav-links a.active {
    color: #f0c419;
}

/* Hero section */
.hero {
    background-color: #333;
    text-align: center;
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 200px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Intro section */
.intro {
    background-color: #333;
    padding: 60px 0;
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    font-weight: 300;
}

/* About section */
.about {
    background-color: #fff;
    color: #333;
    padding: 60px 0;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.about p {
    margin: 0 auto 20px;
    font-size: 16px;
    max-width: 800px;
    text-align: center;
}

/* Get Started section */
.get-started {
    background-color: #333;
    padding: 60px 0;
}

.get-started h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    text-align: center;
    margin: 20px;
    padding-top: 4%;
    flex: 1;
    min-width: 200px;
    min-height: 200px;
    border: #fff 1px solid;
    border-radius: 16px;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 24px;
    font-weight: 400;
}

/* News section */
.news {
    background-color: #333;
    color: #fff;
    padding: 60px 0;
}

.news h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    background-color: #444;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.published {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background-color: #555;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tag.finance { background-color: #ffecb3; color: #856404; }
.tag.altcoins { background-color: #d1c4e9; color: #4527a0; }
.tag.cryptocurrency { background-color: #ffcdd2; color: #b71c1c; }
.tag.technology { background-color: #c8e6c9; color: #1b5e20; }
.tag.blockchain { background-color: #bbdefb; color: #0d47a1; }
.tag.pandacoin { background-color: #e1bee7; color: #6a1b9a; }

.read-more {
    display: inline-block;
    color: #2196f3;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Page header for subpages */
.page-header {
    text-align: center;
    padding: 60px 0 30px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Resources page specific styles */
.resources-section {
    padding: 40px 0;
    text-align: center;
}

.resources-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resource-card {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
}

.resource-link {
    display: inline-block;
    margin-top: 15px;
    color: #2196f3;
}

/* Wallet page specific styles */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wallet-card {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.wallet-download {
    display: inline-block;
    margin-top: 15px;
    background-color: transparent;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wallet-download:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.guide-steps {
    max-width: 800px;
    margin: 30px auto 0;
}

.guide-step {
    margin-bottom: 20px;
    text-align: left;
}

.guide-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}
