:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.navbar {
    background: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--accent-color);
    padding: 0.2rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 0.9rem;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.01);
    text-decoration: none;
}

.navbar-nav {
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 1px;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    font-size: 0.75rem;
    margin: 0 1px;
    padding: 3px 6px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(240, 147, 251, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.tool-link {
    background: linear-gradient(45deg, var(--success-color), var(--warning-color));
    color: white !important;
    border: none;
    font-weight: 600;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    display: inline-flex !important;
    padding: 3px 6px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(39, 174, 96, 0.4);
}

.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin: 5px auto;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: calc(100vh - 120px);
}

.footer {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
    color: var(--light-color);
    padding: 15px 0;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-link {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.footer-link:hover {
    color: var(--accent-color);
    background: rgba(240, 147, 251, 0.1);
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
}

.navbar-toggler {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 147, 251, 0.25);
}

/* Home Page Specific Styles */
.hero-section {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.tool-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.tool-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.tool-description {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tool-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.tool-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transform: scale(1.01);
}

.features-section {
    margin-top: 15px;
    padding: 10px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.feature-item {
    text-align: center;
    padding: 8px;
}

.feature-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
}

.feature-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-description {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.15rem 0;
    }
    
    .navbar-brand {
        font-size: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 2px 4px !important;
        margin: 0 1px;
        border-radius: 10px;
    }
    
    .tool-link {
        font-size: 0.6rem;
        padding: 2px 4px !important;
        border-radius: 8px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .footer-link {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .main-content {
        margin: 3px;
        padding: 8px;
        border-radius: 6px;
    }
    
    .hero-section {
        padding: 8px 0;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .tools-grid {
        gap: 6px;
        margin-top: 8px;
    }
    
    .tool-card {
        padding: 10px;
        border-radius: 6px;
    }
    
    .tool-icon {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .tool-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .tool-description {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .tool-button {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .features-section {
        margin-top: 12px;
        padding: 8px 0;
    }
    
    .features-grid {
        gap: 8px;
        margin-top: 8px;
    }
    
    .feature-item {
        padding: 6px;
    }
    
    .feature-icon {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .feature-title {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .feature-description {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.6rem;
        padding: 2px 3px !important;
    }
    
    .tool-link {
        font-size: 0.55rem;
        padding: 2px 3px !important;
    }
    
    .main-content {
        margin: 2px;
        padding: 6px;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
    }
    
    .tool-card {
        padding: 8px;
    }
    
    .tool-icon {
        font-size: 1.1rem;
    }
    
    .tool-title {
        font-size: 0.8rem;
    }
    
    .tool-description {
        font-size: 0.65rem;
    }
    
    .tool-button {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .features-section {
        margin-top: 10px;
        padding: 6px 0;
    }
    
    .feature-item {
        padding: 4px;
    }
    
    .feature-icon {
        font-size: 0.9rem;
    }
    
    .feature-title {
        font-size: 0.7rem;
    }
    
    .feature-description {
        font-size: 0.6rem;
    }
}

/* Ad Zone Styles */
.ad-zone {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 8px 0;
}

.ad-zone:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.ad-zone span {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    padding: 8px;
}

@media (max-width: 768px) {
    .ad-zone {
        margin: 6px 0;
        border-radius: 4px;
    }
    
    .ad-zone span {
        font-size: 0.65rem;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .ad-zone {
        margin: 4px 0;
        border-radius: 3px;
    }
    
    .ad-zone span {
        font-size: 0.6rem;
        padding: 4px;
    }
}

@media print {
    .ad-zone {
        display: none !important;
    }
} 