
/* Basic Reset & Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styles */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; /* Prefer Inter if loaded, fallback to common sans-serif */
    line-height: 1.6;
    color: #333; /* Dark gray for text */
    background-color: #f8f9fa; /* Light gray background */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container for Centered Content */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styling */
.header {
    background-color: #2c3e50; /* Dark blue/charcoal */
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Wider header container */
    padding: 0 20px;
}

.header .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.header nav ul {
    list-style: none;
}

.header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

.header nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: #4CAF50; /* Accent color */
}

/* Main Content Area */
.main-content {
    flex: 1; /* Allows content area to grow and push footer down */
    padding: 40px 0;
}

/* Section Styling */
.section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.section h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #4CAF50; /* Accent color */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #45a049; /* Slightly darker accent */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #7f8c8d; /* Gray for secondary action */
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #6c7a7d;
}


/* Form Styling */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

textarea.form-control {
    resize: vertical; /* Allow vertical resizing for textareas */
    min-height: 120px;
}

.form-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-nav-item {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tab-nav-item.active {
    color: #4CAF50;
    border-color: #4CAF50;
}

.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
}

/* Footer Styling */
.footer {
    background-color: #34495e; /* Slightly lighter dark blue */
    color: #ecf0f1;
    padding: 30px 0;
    text-align: center;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer .social-links a {
    color: #ecf0f1;
    font-size: 1.5em;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #4CAF50;
}

.footer p {
    margin-top: 15px;
    font-size: 0.9em;
    color: #bdc3c7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .header nav ul li {
        margin: 10px 15px;
    }

    .section h1 {
        font-size: 2em;
    }

    .section p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .form-container {
        padding: 20px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .header .logo {
        font-size: 1.5em;
    }

    .header nav ul li {
        margin: 5px 10px;
    }

    .tab-nav-item {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

/* --- Wallet Grid Styling --- */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Responsive grid */
    gap: 25px; /* Space between grid items */
    max-width: 900px; /* Limit width of the grid */
    margin: 40px auto; /* Center the grid below the text */
    padding: 0 10px; /* Some padding on small screens */
}

.wallet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fcfcfc; /* Slightly off-white for individual items */
}

.wallet-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.wallet-icon-wrapper {
    width: 80px; /* Fixed width for icons */
    height: 80px; /* Fixed height for icons */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Make it circular */
    overflow: hidden; /* Hide parts of image outside circle */
    background-color: #ffffff; /* White background for icon circle */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* Subtle shadow for icon */
    margin-bottom: 10px;
}

.wallet-icon-wrapper img {
    width: 100%; /* Make image fill the circular wrapper */
    height: 100%;
    object-fit: contain; /* Ensure the whole icon is visible */
    border-radius: 50%; /* Maintain circular shape */
}

.wallet-name {
    font-size: 0.95em;
    font-weight: 600;
    text-align: center;
    color: #555; /* Slightly muted text color */
}

.wallet-item:hover .wallet-name {
    color: #4CAF50; /* Accent color on hover */
}

.tagline { /* Style for the "Open protocol..." text */
    font-size: 1.2em;
    color: #777;
    margin-top: -10px; /* Adjust spacing */
    margin-bottom: 40px;
}

/* Responsive Adjustments for wallet grid */
@media (max-width: 600px) {
    .wallet-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    .wallet-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    .wallet-name {
        font-size: 0.9em;
    }
}

@media (max-width: 400px) {
    .wallet-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 15px;
    }
    .wallet-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .wallet-name {
        font-size: 0.85em;
    }
}