/* Custom properties for easy color changes */
:root {
    --primary-orange: #f5ae88; /* Main background color */
    --text-dark: #333;
    --text-light: #fff;
    --button-orange: #ff6800; /* GET METAMASK button */
    --dark-fox-red: #cc4d00;
    --card-background: #ffffff;
    --blue-circle: #4489ff; /* Blue icons in wallet */
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-orange);
    color: var(--text-dark);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header / Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar nav ul li a {
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
}

.cta-button {
    background-color: var(--button-orange);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 5% 80px;
    gap: 40px;
    position: relative;
    overflow: hidden; /* To contain the absolute positioning */
}

.content-left {
    flex: 1;
    max-width: 500px;
    padding-top: 50px;
}

.content-left h1 {
    font-size: 56px;
    line-height: 1.1;
    margin: 30px 0;
    font-weight: 700;
}

/* Tabs */
.tabs {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
    gap: 10px;
}

.tab {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.2s;
}

.tab.active {
    background-color: var(--text-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--dark-fox-red);
}

/* Browser Grid */
.browser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.browser-card {
    background-color: var(--card-background);
    padding: 20px 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
    aspect-ratio: 1/1; /* Makes cards square */
    justify-content: center;
}

.browser-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.browser-card i {
    font-size: 40px;
    /* Specific colors for icons (approximate from image) */
}
.browser-card.chrome i { color: #4285F4; }
.browser-card.firefox i { color: #FF7139; }
.browser-card.brave i { color: #FF3933; }
.browser-card.opera i { color: #CC0F16; }
.browser-card.edge i { color: #0078D7; }

.browser-card span {
    font-size: 14px;
    font-weight: 500;
}

.fox-icon-small {
    /* Placeholder for the small animated character shown on the left */
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.5); /* Placeholder */
    border-radius: 50%;
    /* Replace with actual image/animation */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* --- Content Right (Mockup) --- */
.content-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 20px;
}

.fox-logo-large {
    /* Stylized fox mascot positioning */
    position: absolute;
    top: -20px;
    right: 150px; /* Adjust based on wallet position */
    width: 150px;
    height: 150px;
    background-color: transparent; /* Placeholder for image */
    z-index: 5;
    /* Replace with actual image/SVG */
}

/* Browser UI Overlay - The window frame */
.browser-ui-overlay {
    background-color: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 550px;
    min-height: 400px;
    padding: 50px 0 0 0; /* Space for the address bar */
    position: relative;
    overflow: hidden;
    z-index: 8;
}

.browser-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}

.browser-bar i {
    color: #999;
}

.browser-bar input {
    flex-grow: 1;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: #fff;
    outline: none;
}

.browser-bar .fox {
    color: var(--dark-fox-red);
    font-size: 24px;
}

/* Wallet Mockup - The content inside the browser window */
.wallet-mockup {
    position: absolute;
    top: 60px; /* Below the browser bar */
    right: 20px;
    width: 300px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 10;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wallet-address {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
}

.wallet-balance {
    text-align: center;
    margin-bottom: 30px;
}

.wallet-balance h2 {
    font-size: 32px;
    font-weight: 700;
}

.change-positive {
    color: #4CAF50; /* Green color */
    font-weight: 500;
    font-size: 14px;
}

.wallet-actions {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 20px;
}

.action-item {
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--blue-circle);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 18px;
}

/* Wallet Footer Tabs */
.wallet-footer-tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.wallet-footer-tabs span {
    font-weight: 500;
    font-size: 14px;
    padding-bottom: 5px;
    cursor: pointer;
    color: #999;
}

.wallet-footer-tabs span.active {
    color: var(--text-dark);
    border-bottom: 2px solid var(--dark-fox-red);
}

/* Simple Responsive Adjustment */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .content-left, .content-right {
        max-width: 100%;
        text-align: center;
    }
    .content-left h1 {
        font-size: 40px;
    }
    .browser-grid {
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .content-right {
        justify-content: center;
        align-items: center;
        margin-top: 50px;
    }
    .browser-ui-overlay {
        width: 90%;
        max-width: 450px;
    }
    .wallet-mockup {
        right: auto;
        width: 280px;
    }
    .fox-logo-large {
        right: 50%;
        transform: translateX(50%);
    }
}