/* Ultimate Student Toolkit - Main Stylesheet */

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #a1f504;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #9c27b0, #3f51b5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7b1fa2, #303f9f);
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Animated Elements */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Logo Container */
#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(156,39,176,0.1) 0%, rgba(63,81,181,0.05) 70%, rgba(0,0,0,0) 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.2);
    overflow: hidden;
}

.animate-pulse {
    animation: pulse 3s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Tool Cards */
.tool-card {
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(248, 11, 149, 0.1);
}

/* 3D Animation Container */
#animation-container {
    pointer-events: none;
}

/* Gradient Text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #9c27b0, #e91e63, #3f51b5);
}

/* Custom Focus Styles */
a:focus, button:focus, input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* AdSense-friendly Styles */
.ad-container {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #43a7f8;
    border-radius: 0.5rem;
    text-align: center;
}

/* Tool-specific Styles */
.tool-container {
    background-color: rgb(153, 146, 247);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tool-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #5d3afa;
}

/* Interactive Elements */
.interactive-element {
    transition: all 0.2s ease;
}

.interactive-element:hover {
    transform: scale(1.02);
}

.interactive-element:active {
    transform: scale(0.98);
}