/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo i {
    color: #8a2be2;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8a2be2;
}

.visitor-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ads Banner */
.ads-banner {
    background: linear-gradient(90deg, #ff6b35, #ffa500);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ads-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.amazon-ad-btn {
    background: linear-gradient(90deg, #ff9900, #ffd700);
    color: #222;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.amazon-ad-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.coffee-btn {
    background: linear-gradient(90deg, #6f4c3e, #ffd700);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(111, 76, 62, 0.3);
}

.coffee-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 76, 62, 0.4);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #8a2be2, #00ffff, #ff4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Generator Section */
.generator {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#text-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

#text-input:focus {
    outline: none;
    border-color: #8a2be2;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Quick Text Suggestions */
.quick-text-suggestions {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.quick-text-suggestions label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.text-suggestion {
    padding: 0.5rem 1rem;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.text-suggestion:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

/* Text Style Selector */
.style-selector {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.style-selector label {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.style-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.style-category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.style-category-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    color: white;
    transform: translateY(-2px);
}

.style-category-btn.active {
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    color: white;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.style-category-btn i {
    font-size: 1rem;
}

/* Color Picker */
.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.color-control, .font-control {
    flex: 1;
    min-width: 300px;
}

.color-picker label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.color-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#text-color {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: none;
}

.color-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: white;
}

.font-control {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#font-size {
    flex: 1;
    width: 100%;
}

#font-size-value {
    color: white;
    font-weight: 600;
    min-width: 50px;
}

#font-family {
    padding: 0.75rem;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
}

#font-family option {
    background: #1a1a2e;
    color: white;
}

/* Preview Section */
.preview-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.preview-container {
    text-align: center;
}

.text-preview {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8));
    border-radius: 15px;
    padding: 2rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

#text-display {
    font-size: 60px;
    font-weight: bold;
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;
    color: #8a2be2;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Effects Section */
.effects-section {
    margin-top: 3rem;
}

.effects-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.effect-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.effect-card:hover {
    transform: translateY(-5px);
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.effect-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.effect-preview span {
    font-size: 2rem;
    font-weight: bold;
}

.effect-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.effect-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.effect-card .designer-style-tag {
    display: inline-block;
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Designer Text Styles Section */
.designer-styles-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(48, 43, 99, 0.8), rgba(36, 36, 62, 0.8));
}

.designer-styles-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.designer-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.designer-style-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.designer-style-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: #8a2be2;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.designer-style-preview {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

.designer-style-preview span {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.designer-style-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.designer-style-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.designer-style-tag {
    display: inline-block;
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tools Section */
.tools-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.tools-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.tools-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-category h3 {
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.tool-links a:hover {
    background: rgba(138, 43, 226, 0.2);
    color: white;
    transform: translateX(5px);
}

.tool-links a i {
    color: #8a2be2;
    font-size: 1.2rem;
    min-width: 24px;
}

.tool-description {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    line-height: 1.4;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(74, 0, 224, 0.1));
}

.coming-soon-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.coming-soon-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.coming-soon-icon {
    font-size: 3rem;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.coming-soon-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: rgba(15, 12, 41, 0.9);
}

.blog-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #8a2be2;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.blog-image {
    height: 200px;
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 12px;
    color: #4a00e0;
}

/* Instructions Section */
.instructions {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.instructions h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: white;
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(48, 43, 99, 0.9));
}

.contact-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

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

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-links a:hover {
    background: #8a2be2;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: rgba(15, 12, 41, 0.95);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.footer-tagline {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8a2be2;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin-bottom: 0.5rem;
}

.copyright a {
    color: #8a2be2;
    text-decoration: none;
}

.visitor-count-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #8a2be2;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Filter active state for effects */
.effect-card.filtered-out {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 12, 41, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 1000;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .color-picker {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .color-control, .font-control {
        min-width: 100%;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .preview-actions button {
        width: 100%;
    }
    
    .tools-categories {
        grid-template-columns: 1fr;
    }
    
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
    
    .designer-styles-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links a {
        width: 100%;
        justify-content: center;
    }
    
    .style-categories {
        justify-content: center;
    }
    
    .style-category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 150px;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .generator {
        padding: 1rem;
    }
    
    .effects-grid {
        grid-template-columns: 1fr;
    }
    
    #text-display {
        font-size: 40px;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .style-categories {
        gap: 0.5rem;
    }
    
    .style-category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .suggestion-buttons {
        justify-content: center;
    }
    
    .text-suggestion {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
/* Coming Soon Button Style */
.coming-soon-btn {
    display: inline-block;
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.coming-soon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
    color: white;
}
/* ===== DROPDOWN MENU STYLES ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    font-family: inherit;
}

.dropbtn:hover {
    color: #8a2be2;
}

.dropbtn i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropbtn i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(15, 12, 41, 0.98);
    backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(138, 43, 226, 0.2);
    color: white;
    padding-left: 20px;
}

.dropdown-content a.coming-soon {
    color: rgba(255, 255, 255, 0.4);
    position: relative;
}

.dropdown-content a.coming-soon::after {
    content: 'Coming Soon';
    font-size: 0.7rem;
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

.dropdown-content a.active {
    background: rgba(138, 43, 226, 0.3);
    color: white;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        justify-content: space-between;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.75rem 1rem 0.75rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Coming Soon Button Style */
.coming-soon-btn {
    display: inline-block;
    background: linear-gradient(45deg, #8a2be2, #4a00e0);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.coming-soon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
    color: white;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
/* Cheat Sheet Items for Flexbox Helper */
.cheat-item {
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cheat-item:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: translateX(5px);
    border-color: #8a2be2;
}

.cheat-item strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cheat-item span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.4;
}
/* Box Shadow Generator Specific Styles */
.tool-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .tool-layout {
        grid-template-columns: 1fr;
    }
}

.controls-panel {
    background: linear-gradient(145deg, #1a1740, #151235);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.panel-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Layer Controls */
.layer-item {
    background: rgba(21, 18, 53, 0.8);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.layer-item.active {
    border-color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.layer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
}

.layer-actions {
    display: flex;
    gap: 8px;
}

.layer-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-btn:hover {
    background: rgba(138, 43, 226, 0.3);
}

.layer-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.control-group {
    margin-bottom: 15px;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #b5b3cc;
    font-size: 14px;
}

.control-value {
    color: #8a2be2;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.range-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #302b63, #8a2be2);
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #8a2be2;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.5);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #8a2be2;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-input {
    flex: 1;
}

.color-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #302b63;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #8a2be2;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Presets */
.presets-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(138, 43, 226, 0.2);
}

.presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.preset-btn {
    background: rgba(48, 43, 99, 0.7);
    border: 2px solid transparent;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
}

/* Preview Area */
.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.preview-area {
    background: linear-gradient(145deg, #1a1740, #151235);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: #0f0c29;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.preview-box {
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #302b63, #242043);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.preview-box.circle {
    border-radius: 50%;
}

.preview-box.rounded {
    border-radius: 30px;
}

.preview-content {
    text-align: center;
    padding: 20px;
}

.preview-content i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #8a2be2;
}

.preview-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.preview-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option-group {
    margin-bottom: 0;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    color: #b5b3cc;
}

.form-select {
    width: 100%;
    padding: 10px 15px;
    background: rgba(21, 18, 53, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #8a2be2;
}

/* Code Output */
.code-container {
    position: relative;
    background: #0f0c29;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Roboto Mono', monospace;
    border: 2px solid rgba(138, 43, 226, 0.2);
}

#cssOutput {
    margin: 0;
    color: #f8f8f2;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#cssOutput code {
    color: #8be9fd;
}

.copy-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 14px;
}

.usage-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 43, 226, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.usage-tip i {
    color: #8a2be2;
}

.usage-tip code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
    color: #8be9fd;
}

/* How-to-use Section */
.docs-section {
    background: linear-gradient(145deg, #1a1740, #151235);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.docs-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.docs-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(145deg, #8a2be2, #6a1bb8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 10px;
    color: #fff;
}

.step-content p {
    color: #b5b3cc;
    margin-bottom: 10px;
}

.step-content ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #b5b3cc;
}

.step-content li {
    margin-bottom: 5px;
}

/* Features Grid */
.features-grid {
    background: linear-gradient(145deg, #1a1740, #151235);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: rgba(21, 18, 53, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #8a2be2;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.feature i {
    font-size: 48px;
    color: #8a2be2;
    margin-bottom: 20px;
}

.feature h4 {
    color: #fff;
    margin-bottom: 15px;
}

.feature p {
    color: #b5b3cc;
    font-size: 14px;
    line-height: 1.6;
}

/* Ad Space */
.ad-space {
    background: rgba(21, 18, 53, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Updates */
.footer-section ul li a.coming-soon {
    color: #666;
    cursor: not-allowed;
}

.footer-section ul li a.coming-soon:hover {
    color: #666;
    text-decoration: none;
}
.btn-success {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    border-color: #27ae60;
}

.btn-success:hover {
    background: linear-gradient(145deg, #27ae60, #219653);
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1a1740, #151235);
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: #b5b3cc;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
}

.modal-body {
    padding: 30px;
}

.modal-body .code-container {
    margin: 0;
}

/* JSON code styling */
.json .property {
    color: #8be9fd;
}

.json .string {
    color: #f1fa8c;
}

.json .number {
    color: #bd93f9;
}

.json .boolean {
    color: #ff79c6;
}

.json .null {
    color: #ff5555;
}
