:root {
    --bg-dark: #09090b;       
    --text-main: #ffffff;    
    --text-muted: #a1a1aa;    
    --accent-volt: #a3e635;  
    --accent-volt-hover: #bef264;
    --border-dark: #27272a;  
    --font-main: system-ui, -apple-system, sans-serif;
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; 
    user-select: none; 
}

p, h1, h2, h3, h4 { 
    user-select: auto; 
}

body {
    color: var(--text-main);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10; 
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(9, 9, 11, 0.75), rgba(9, 9, 11, 0.95));
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.icon-btn:hover {
    color: var(--accent-volt);
}

#app-container {
    padding: 3rem 1.5rem;
    padding-bottom: 5rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.view-active { display: block; animation: fadeIn 0.4s ease-out forwards; }
.view-hidden { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(24, 24, 27, 0.8);
    border: 1px solid var(--border-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4d4d8;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    text-align: center;
}

.hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.metric-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.tools-section {
    margin: 4rem auto 0 auto;
    width: 100%;
    max-width: 420px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.text-accent {
    color: var(--accent-volt);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    width: 100%;
    max-width: 350px;
    background-color: var(--accent-volt);
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.btn-primary:active {
    transform: scale(0.96);
    background-color: var(--accent-volt-hover);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.pulse-shadow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(163, 230, 53, 0.2); }
    50% { box-shadow: 0 0 35px rgba(163, 230, 53, 0.4); }
    100% { box-shadow: 0 0 15px rgba(163, 230, 53, 0.2); }
}

.glow-text {
    text-shadow: 0 0 25px rgba(163, 230, 53, 0.5);
}

.tools-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 400px;
}

.section-heading {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: left;
}

.tool-cards {
    display: flex;
    gap: 1rem;
   flex-wrap: wrap;
}

.card {
    background-color: rgba(18, 18, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    flex: 1;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-volt);
    transform: translateY(-4px);
    background-color: rgba(24, 24, 27, 0.9);
}

.card-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.brand-showcase {
    margin-top: 5rem;
    width: 100%;
    max-width: 800px;
    border-top: 1px solid var(--border-dark);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.spotlight-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    width: 100%;
}

.brand-card {
    background: linear-gradient(145deg, rgba(26, 26, 30, 0.8) 0%, rgba(12, 12, 15, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.brand-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-volt);
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid rgba(163, 230, 53, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.brand-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.brand-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-volt);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(163, 230, 53, 0.25);
    background: linear-gradient(145deg, rgba(35, 35, 42, 0.9) 0%, rgba(18, 18, 22, 1) 100%);
}

.brand-card:hover .brand-arrow {
    color: var(--accent-volt);
    transform: translate(2px, -2px);
}

.brand-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.brand-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.brand-modal-content {
    position: relative;
    background: #121216;
    border: 1.5px solid var(--accent-volt);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(163, 230, 53, 0.2);
    border-radius: 20px;
    padding: 2.2rem;
    max-width: 440px;
    width: 90%;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-modal-overlay.active .brand-modal-content {
    transform: translateY(0);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: 0.5rem 1rem;
    background-color: rgba(39, 39, 42, 0.5);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.logo-placeholder:hover {
    color: var(--text-main);
    border-color: var(--border-dark);
}

.matcher-option {
    background-color: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-dark);
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.matcher-option:hover {
    border-color: var(--accent-volt);
    background-color: rgba(39, 39, 42, 0.9);
}

.matcher-option:active {
    transform: scale(0.98);
}

.glass-panel {
    background: rgba(18, 18, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    width: 100%;
    max-width: 480px;
    margin: 2rem auto 0 auto; 
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator .text-muted {
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.arrow-down {
    color: var(--accent-volt);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

.live-ticker-container {
    width: 100vw;
    background: rgba(9, 9, 11, 0.95); 
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-volt); 
    padding: 0.75rem 0;
    overflow: hidden;
    position: fixed; 
    bottom: 0;
    left: 0;
    z-index: 1000; 
    margin: 0;
    transform: none;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scrollTicker 20s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused; 
}

.ticker-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-item strong {
    color: var(--text-main);
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.metric-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.metric-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-volt);
    background: rgba(163, 230, 53, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.about-section {
    margin: 5rem auto 2rem auto; 
    text-align: left;
    padding: 3rem 2.5rem;
    max-width: 650px;
}

.about-badge {
    color: var(--accent-volt); 
    font-weight: 800; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    margin-bottom: 12px;
}

.about-title {
    font-size: 2.3rem; 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.5rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
    margin-top: 2.5rem;
}

.about-text {
    font-size: 1.05rem; 
    color: var(--text-main); 
    line-height: 1.7; 
    margin-bottom: 1.5rem;
}

.about-quote {
    background: rgba(163, 230, 53, 0.08); 
    border-left: 4px solid var(--accent-volt); 
    padding: 1.5rem; 
    margin: 2.5rem 0; 
    border-radius: 0 12px 12px 0;
}

.about-quote p {
    font-size: 1.15rem; 
    font-weight: 700; 
    color: #fff; 
    font-style: italic; 
    line-height: 1.5;
}

@media (max-width: 600px) {
    .about-section {
        padding: 2rem 1.5rem;
        margin-top: 4rem;
    }
    .about-title {
        font-size: 1.8rem;
    }
}

.frame-section {
    margin: 2rem auto 5rem auto;
    text-align: left;
    padding: 3rem 2.5rem;
    max-width: 800px; 
}

.frame-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .frame-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.frame-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.frame-card:hover {
    border-color: var(--accent-volt);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.frame-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(163, 230, 53, 0.2));
}

.frame-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.frame-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.weight-section, .string-section {
    margin: 2rem auto 5rem auto;
    text-align: left;
    padding: 3rem 2.5rem;
    max-width: 800px; 
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.split-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.split-card:hover {
    background: rgba(24, 24, 27, 0.8);
    transform: translateY(-3px);
}

.split-card.border-accent {
    border-color: rgba(163, 230, 53, 0.4);
}

.split-card.border-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-volt);
}

.weight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.app-footer {
    margin: 4rem auto 0 auto;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    padding: 3rem 2.5rem 6rem 2.5rem;
    width: 100%;
    max-width: 1000px;
    text-align: left;
    position: relative; 
    overflow: hidden;  
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative; 
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative; 
    z-index: 2;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.app-footer::before,
.app-footer::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.15) 0%, transparent 70%);
    filter: blur(60px); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none; 
}

.app-footer::before {
    bottom: -150px;
    left: -100px;
    animation: driftSmoke 12s infinite alternate ease-in-out;
}

.app-footer::after {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
    animation: driftSmoke 15s infinite alternate-reverse ease-in-out;
}

@keyframes driftSmoke {
    0% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.4; 
    }
    50% { 
        transform: translate(40px, -30px) scale(1.3); 
        opacity: 0.8; 
    }
    100% { 
        transform: translate(-20px, 40px) scale(0.9); 
        opacity: 0.5; 
    }
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: grayscale(100%);
}

.social-icon:hover {
    transform: scale(1.15);
    filter: grayscale(0%);
    text-shadow: 0 0 10px var(--accent-volt);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--accent-volt);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--border-dark);
    text-align: left;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0,0,0,0.5);
    border-right: 1px solid var(--border-dark);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    left: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-links li a:hover {
    color: var(--accent-volt);
}

select.matcher-option,
.custom-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(18, 18, 22, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-dark) !important;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.95rem 2.8rem 0.95rem 1.1rem !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

select.matcher-option:hover,
.custom-select:hover {
    border-color: rgba(163, 230, 53, 0.45) !important;
    background-color: rgba(26, 26, 32, 0.9) !important;
}

select.matcher-option:focus,
.custom-select:focus {
    outline: none;
    border-color: var(--accent-volt) !important;
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.2), 0 8px 20px rgba(0, 0, 0, 0.4);
}

select.matcher-option option,
.custom-select option {
    background-color: #121216;
    color: #ffffff;
    font-weight: 500;
    padding: 12px;
}

select.matcher-option option:checked,
.custom-select option:checked {
    background-color: #1f2026;
    color: var(--accent-volt);
    font-weight: 700;
}

#tension-racket-search:focus {
    border-color: var(--accent-volt) !important;
    box-shadow: 0 0 12px rgba(163, 230, 53, 0.25);
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.brand-container:active {
    transform: scale(0.95);
}

.logo-icon {
    border-radius: 50%; 
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--text-main);
    line-height: 1;
    margin: 0;
}

.logo-text span {
    font-weight: 400; 
}

.icon-btn:hover {
    color: var(--accent-volt);
}

.icon-btn .nav-icon {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-btn:hover .nav-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.6));
}

.icon-btn:active .nav-icon {
    transform: scale(0.95);
}

.loop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loop-container {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loop-container .nav-icon {
    position: absolute;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-home {
    animation: swapHome 6s infinite ease-in-out;
}

.icon-back {
    animation: swapBack 6s infinite ease-in-out;
}

@keyframes swapHome {
    0%, 42% { opacity: 1; transform: scale(1) rotate(0deg); }
    48%, 92% { opacity: 0; transform: scale(0.5) rotate(-45deg); }
    98%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes swapBack {
    0%, 42% { opacity: 0; transform: scale(0.5) rotate(45deg); }
    48%, 92% { opacity: 1; transform: scale(1) rotate(0deg); }
    98%, 100% { opacity: 0; transform: scale(0.5) rotate(-45deg); }
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #09090b; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; 
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05); 
    pointer-events: none;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.intro-logo {
    filter: drop-shadow(0 0 25px rgba(163, 230, 53, 0.4));
    animation: floatIntro 3s ease-in-out infinite;
}

.draw-base, .draw-feather {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.draw-base { 
    animation: drawLine 1s ease-out forwards, fillVolt 0.5s 1.2s ease-out forwards; 
}

.draw-feather { 
    animation: drawLine 1.2s 0.3s ease-out forwards; 
}

.intro-text {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    opacity: 0;
    transform: translateY(15px);
    animation: slideUpFade 0.8s 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.loading-bar-container {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s 1.2s forwards;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-volt);
    box-shadow: 0 0 15px var(--accent-volt);
    animation: loadProgress 1.6s 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fillVolt { to { fill: var(--accent-volt); } }
@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }
@keyframes floatIntro {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes loadProgress {
    0% { width: 0%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

.tools-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 480px; 
}

.section-heading {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    text-align: left;
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
}

.card {
    background: linear-gradient(145deg, rgba(39, 39, 42, 0.4) 0%, rgba(9, 9, 11, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(163, 230, 53, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card:hover {
    border-color: rgba(163, 230, 53, 0.5);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(163, 230, 53, 0.1);
    background: linear-gradient(145deg, rgba(39, 39, 42, 0.6) 0%, rgba(9, 9, 11, 0.8) 100%);
}

.card:hover::before {
    opacity: 1;
}

.card-header, .card h4, .card p {
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(163, 230, 53, 0.08);
    border: 1px solid rgba(163, 230, 53, 0.15);
    border-radius: 12px;
    font-size: 1.3rem;
    box-shadow: inset 0 0 12px rgba(163, 230, 53, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    background: rgba(163, 230, 53, 0.2);
    border-color: var(--accent-volt);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.3);
}

.card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-volt);
    background: rgba(163, 230, 53, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.hero-logo {
    display: block;
    max-width: 180px; 
    height: auto;
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4)); 
    object-fit: contain;
}

.hero-svg-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-svg-logo {
    border-radius: 50%; 
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5)); 
}

.brand-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.brand-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.brand-modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.95) 0%, rgba(9, 9, 11, 0.98) 100%);
    border: 1px solid rgba(163, 230, 53, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(163, 230, 53, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: left;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-modal-overlay.active .brand-modal-content {
    transform: translateY(0);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close-modal:hover {
    color: var(--text-main);
}

.brand-logo-svg {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
    color: var(--text-muted); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

.brand-card:hover .brand-logo-svg {
    color: var(--accent-volt);
    transform: scale(1.1) translateX(2px);
    filter: drop-shadow(0 4px 10px rgba(163, 230, 53, 0.5));
}

#toast-container {
    position: fixed;
    top: 5.5rem; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; 
}

.toast-message {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent-volt);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(163, 230, 53, 0.2);
    animation: toastDropIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}

.toast-message.hide {
    animation: toastSlideUpOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(163, 230, 53, 0.5));
}

@keyframes toastDropIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastSlideUpOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-15px) scale(0.9); }
}