/* Import base styles */
@import url('style.css');

/* Gaming Calculator Specific Styles */
.gaming-calculator-container {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin: 20px 0;
    border: 2px solid #16213e;
}

/* Tab Navigation */
.calculator-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    background: #16213e;
    border-radius: 10px;
    padding: 5px;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #8892b0;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    min-width: 140px;
}

.tab-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
}

.tab-btn.active {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0f0f23;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    background: rgba(22, 33, 62, 0.5);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #233554;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.tab-content h3 {
    color: #64ffda;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Panel Styling */
.panel {
    width: 100%;
    background: rgba(15, 15, 35, 0.8);
    border-radius: 10px;
    border: 1px solid #233554;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.panel td {
    padding: 12px 15px;
    color: #ccd6f6;
    font-weight: 500;
    border-bottom: 1px solid rgba(35, 53, 84, 0.5);
}

.panel td:first-child {
    background: rgba(22, 33, 62, 0.8);
    font-weight: 600;
    color: #64ffda;
    width: 35%;
    border-right: 1px solid #233554;
}

.panel tr:last-child td {
    border-bottom: none;
}

/* Input Styling */
.innormal {
    width: 100%;
    padding: 10px 15px;
    background: rgba(15, 15, 35, 0.9);
    border: 2px solid #233554;
    border-radius: 8px;
    color: #ccd6f6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.innormal:focus {
    border-color: #64ffda;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    outline: none;
    background: rgba(15, 15, 35, 1);
}

.innormal option {
    background: #0f0f23;
    color: #ccd6f6;
    padding: 8px;
}

/* Button Styling */
.calculate-btn, .clear-btn, .test-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculate-btn {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0f0f23;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.calculate-btn:hover {
    background: linear-gradient(135deg, #7dffdd, #1ae6bb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4);
}

.clear-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.clear-btn:hover {
    background: linear-gradient(135deg, #ff7979, #f55a4e);
    transform: translateY(-2px);
}

.test-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.test-btn:hover {
    background: linear-gradient(135deg, #5fd3cc, #4fb3a0);
    transform: translateY(-2px);
}

/* Result Section */
.result-container {
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid #233554;
    border-radius: 10px;
    padding: 20px;
}

.result-display p {
    margin: 10px 0;
    color: #ccd6f6;
    font-size: 14px;
}

.result-display strong {
    color: #64ffda;
    font-weight: 600;
}

.result-display span {
    color: #ffffff;
    font-weight: 500;
}

/* Gaming Tips */
.gaming-tips {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #233554;
}

.gaming-tips h3 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-item {
    background: rgba(15, 15, 35, 0.6);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid #64ffda;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(15, 15, 35, 0.8);
    transform: translateX(5px);
}

.tip-item strong {
    color: #64ffda;
    font-weight: 600;
}

/* System Requirements */
.system-requirements {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #233554;
}

.system-requirements h3 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.req-category {
    background: rgba(15, 15, 35, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #233554;
}

.req-category h4 {
    color: #64ffda;
    margin-bottom: 10px;
    font-size: 14px;
}

.req-category ul {
    list-style: none;
    padding: 0;
}

.req-category li {
    color: #ccd6f6;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.req-category li:before {
    content: "▶";
    color: #64ffda;
    position: absolute;
    left: 0;
    top: 5px;
}

/* Features Section Override */
.features-section {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #233554;
}

.features-section h3 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 16px;
}

.features-section ul {
    list-style: none;
    padding: 0;
}

.features-section li {
    color: #ccd6f6;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    transition: all 0.3s ease;
}

.features-section li:before {
    content: "✓";
    color: #64ffda;
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: bold;
}

.features-section li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Guide Section */
.guide-section {
    margin: 30px 0;
}

.guide-section h3 {
    color: #2b7ddb;
    margin-bottom: 15px;
    font-size: 20px;
}

.guide-section h4 {
    color: #64ffda;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.guide-section p {
    color: #333;
    line-height: 1.6;
    margin: 15px 0;
    text-align: justify;
}

.guide-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.guide-section li {
    margin: 8px 0;
    line-height: 1.5;
}

.guide-section strong {
    color: #2b7ddb;
    font-weight: 600;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gaming-calculator-container {
        padding: 15px;
        margin: 10px 0;
    }
    
    .calculator-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        min-width: auto;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .panel td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .panel td:first-child {
        width: 40%;
    }
    
    .calculate-btn, .clear-btn, .test-btn {
        padding: 10px 16px;
        margin: 5px;
        font-size: 12px;
    }
    
    .gaming-tips, .system-requirements, .features-section {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .calculator-tabs {
        padding: 3px;
    }
    
    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .tab-content h3 {
        font-size: 16px;
    }
    
    .panel td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .innormal {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .calculate-btn, .clear-btn, .test-btn {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
    }
}

/* Popular Games Section */
.popular-games {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #233554;
}

.popular-games h3 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.game-item {
    background: rgba(15, 15, 35, 0.6);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #233554;
    transition: all 0.3s ease;
    color: #ccd6f6;
    font-size: 14px;
}

.game-item:hover {
    background: rgba(15, 15, 35, 0.8);
    border-color: #64ffda;
    transform: translateY(-2px);
}

.game-item strong {
    color: #64ffda;
    font-weight: 600;
}

/* FAQ Section Enhancements */
.faq-section {
    margin: 30px 0;
}

.faq-section h4 {
    color: #2b7ddb;
    margin-top: 20px;
    margin-bottom: 10px;
}

.faq-section p {
    margin: 10px 0;
    text-align: justify;
    line-height: 1.6;
}

/* SEO Content */
.seo-content {
    margin: 30px 0;
}

.seo-content p {
    margin: 15px 0;
    text-align: justify;
    line-height: 1.6;
}

.seo-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.seo-content li {
    margin: 5px 0;
    line-height: 1.5;
}

/* Tips Section */
.tips-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}

.tips-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.tips-section li {
    margin: 8px 0;
    line-height: 1.5;
}

.tips-section strong {
    color: #2b7ddb;
    font-weight: 600;
}
