* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
    position: relative;
    overflow: hidden;
}

body {
    background: #FFF5E6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stakeus-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f59e0b;
}

/* Main Content Styles */
main {
    flex: 1;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.celestia-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

/* Faucet Card Styles */
.faucet-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* Social Follow Section */
.social-follow {
    text-align: center;
    margin-bottom: 2rem;
}

.follow-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.twitter-follow-button {
    background: #1da1f2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.twitter-follow-button:hover {
    background: #1991db;
}

/* Claim Section */
.claim-section {
    margin-top: 2rem;
}

.input-group {
    margin-bottom: 1rem;
}

.address-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.address-input:focus {
    border-color: #f59e0b;
    outline: none;
}

.claim-button {
    width: 100%;
    padding: 0.75rem;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.claim-button:hover:not(:disabled) {
    background: #d97706;
}

.claim-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.faucet-info {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Transaction Info */
.transaction-info {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.transaction-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.tx-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tx-details p {
    display: flex;
    justify-content: space-between;
    color: #64748b;
}

.tx-details a {
    color: #f59e0b;
    text-decoration: none;
}

.tx-details a:hover {
    text-decoration: underline;
}

/* Message Styles */
.message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.success {
    background: #dcfce7;
    color: #166534;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Spinner Animation */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer Styles */
footer {
    background: #1e293b;
    color: white;
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .follow-buttons {
        flex-direction: column;
    }

    .faucet-card {
        padding: 1rem;
    }
}

.tx-details {
    word-break: break-all; /* This will allow the hash to wrap */
    max-width: 100%; /* Ensures content stays within container */
    padding: 10px;
}

.transaction-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    width: 100%; /* Ensures full width */
}

.tx-row {
    display: flex;
    flex-direction: column; /* Stack label and value vertically */
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Style for the hash specifically */
.tx-row a {
    color: #f59e0b;
    font-family: monospace; /* Makes hash more readable */
    font-size: 0.9rem;
}


/* Header Styles */
header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo span {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #000;
}

/* Footer Styles */
footer {
    background: #ffc733;
    padding: 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: white;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #f59e0b;
}

/* Make sure the body has these styles for proper layout */
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #FFF5E6;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    header {
        padding: 1rem;
    }
}